URL Encoder / Decoder
Percent-encode text for safe use in URLs and query strings — or decode %XX sequences back to readable text. All processing stays in your browser.
How to use
- Paste your text or URL on the left.
- Choose the mode: Component for query parameter values, Full URI for complete URLs.
- Click Encode →. To decode, paste encoded text on the right and click ← Decode.
Frequently asked questions
What is the difference between component and full URL encoding?
Component encoding (encodeURIComponent) escapes every character with special meaning, including / ? & = — use it for query parameter values. Full URI encoding (encodeURI) preserves structural characters like / ? & = and : — use it for complete URLs where the structure must remain intact.
Why do spaces become %20 or +?
In URLs proper, a space is encoded as %20. In application/x-www-form-urlencoded data (like form submissions), spaces are encoded as +. This tool uses %20, the standard for URLs; many decoders accept both.
Is percent-encoding the same as Base64?
No. Percent-encoding (URL encoding) makes text safe to place inside a URL by replacing unsafe characters with %XX hex sequences. Base64 converts binary data into 64 safe ASCII characters for transport through text-only systems.