Developer tool

URL Encoder & Decoder

Encode or decode text for URL query components using standard percent-encoding.

USING THIS TOOL

How URL Encoder & Decoder helps

Paste text and select encode or decode. Results can be copied without sending anything to a server.

Method and assumptions

encodeURIComponent encodes individual URL component values. decodeURIComponent reverses valid UTF-8 percent escapes.

Example

The phrase red & blue becomes red%20%26%20blue when encoded as a URL component.

Know the limits

Check your inputs and verify important financial, health, legal, educational or property decisions using the relevant professional or official source. Results depend on stated assumptions.