URL Encoder / Decoder
Encode or decode URL components and query strings
Encode URL
Decode URL
How to Use
- Paste the URL or text you want to encode/decode.
- Click Encode to percent-encode special characters (spaces become %20, & becomes %26, etc.).
- Click Decode to convert %XX sequences back to readable characters.
- Click Copy to copy the result.
Why URL Encoding?
URLs can only contain a limited set of ASCII characters. Special characters like spaces, &, =, #, % must be percent-encoded to be safely included in a URL. Without encoding, a query parameter containing "&" would be misinterpreted as a separator between parameters.
Common Encoded Characters
| Character | Encoded | Use |
|---|---|---|
| Space | %20 or + | In query strings |
| & | %26 | Avoids param separator confusion |
| = | %3D | In param values |
| # | %23 | Avoids fragment confusion |
| Hindi / Unicode | %E0%A4%B9... | Non-ASCII characters |
When to Use This Tool
- Building API request URLs with dynamic query parameters.
- Decoding garbled URLs from log files or error messages.
- Creating shareable links that contain search queries or special characters.
- Debugging web scraping and HTTP request issues.