UE
URL Encoder / Decoder
Encode text or a URL into percent-encoding, or decode an encoded URL back into readable text — both in one place.
Advertisement
Input
Result
Advertisement
How to use — URL Encoder / Decoder
- Paste your text or URL in the input box.
- Choose a mode — Encode component (for query param values), Encode full URL (whole URL, structure preserved), or Decode.
- Click Convert and copy the result.
FAQ
What is URL encoding?
URLs only allow a limited set of characters. Converting characters like spaces, non-English text, &, and ? into %XX format is called URL encoding (percent encoding). E.g. space = %20, & = %26.
What's the difference between encodeURIComponent and encodeURI?
encodeURIComponent encodes all special characters (including /, ?, &) — for query param values. encodeURI preserves URL structure (/, ?, &, :) — for a whole URL. The tool has both modes.
Why do I get an error when decoding?
If the text has an invalid percent sequence (like a lone % without hex), decoding fails. The tool shows you an error message.
Can non-English/emoji text be encoded?
Yes — it's converted to UTF-8 bytes and encoded. E.g. "नमस्ते" = %E0%A4%A8%E0%A4%AE... Decoding gives back the original.
Advertisement