URL Encoder & Decoder
Percent-encode or decode URLs and query strings — with a parameter parser, 100% in your browser.
About URL Encoder & Decoder
Switch between Encode and Decode and your text converts instantly. Encoding offers two modes: Component (encodeURIComponent) escapes everything including ? & = / : — ideal for a single query value — while Full URI (encodeURI) preserves the structural characters of a complete URL.
Paste a URL or query string and the parameters are parsed into a readable key/value table, with values decoded for you. Everything runs locally in your browser; nothing is uploaded.
How to use URL Encode / Decode
- Choose encode or decode, then select component mode for a query value or full-URI mode for an entire URL.
- Paste the string and copy the result into the appropriate part of the request.
Limitations and common mistakes
Encoding an entire URL as one component also escapes separators such as / and ?. Use component mode for values, not as a replacement for building a URL correctly.
Repeated decoding can turn literal percent sequences into unintended characters. A plus sign in form data may mean a space, whereas a URL path can contain a literal plus.
The tool processes its input locally on your device. Read our privacy policy for analytics, storage and network details.
Encode a query value
name=John Doe & co
name%3DJohn%20Doe%20%26%20co
Use Full URI mode to keep ? & = / when encoding a whole URL.
Frequently asked questions
What's the difference between Component and Full URI encoding?
Component (encodeURIComponent) escapes all reserved characters, so it's right for a single parameter value. Full URI (encodeURI) leaves URL-structure characters like : / ? & = intact, so it's right for encoding an entire URL.
Why does decoding fail sometimes?
Decoding throws on malformed percent-encoding — for example a lone % or an incomplete %XX sequence. Fix the stray character and it will decode.
Can it parse query-string parameters?
Yes. Paste a URL or query string and the parameters are listed as decoded key/value pairs.
Is my data uploaded anywhere?
No. All encoding, decoding and parsing happen locally in your browser.
For related tasks, explore Base64 Encode / Decode and JSON Formatter. Their guides explain the different inputs, assumptions and output formats.