How to use the URL Encoder / Decoder
- Choose Encode or Decode.
- Paste the text or URL.
- Tick Full URL mode to encode a whole address without breaking it.
- If the input is a URL, its parts and parameters are listed below.
Worked examples
| Character | Encoded |
|---|---|
| space | %20 |
| & | %26 |
| = | %3D |
| ? | %3F |
| / | %2F |
| β¬ (euro sign) | %E2%82%AC |
Frequently asked questions
What is the difference between encodeURI and encodeURIComponent?
encodeURIComponent encodes everything except letters, digits and - _ . ! ~ * ' ( ). encodeURI leaves URL structure characters such as : / ? & = # alone. Use component mode for values.
Why do I see + instead of %20?
HTML forms encode spaces as + in query strings. This decoder treats + as a space when decoding.
Do I need to encode Hindi or accented letters in URLs?
Browsers display it, but it is sent encoded as UTF-8 percent codes behind the scenes.
What causes "URI malformed" errors?
A % sign not followed by two valid hex digits. Fix or encode the stray % as %25.
How do I make SEO-friendly URLs?
Avoid encoding by using simple slugs. Try the Slug Generator tool.