URL Encoder / Decoder
Encode or decode URLs, URI components, and query strings. Convert special characters into percent-encoded ASCII or restore encoded URLs back to readable text.
Dual encoding modes
Supports both Component encoding (`encodeURIComponent`) for query parameters and values, and Full URI encoding (`encodeURI`) which preserves structural protocol and domain separators (`https://`, `/`, `?`, `&`).
Instant swap and error safety
Easily swap input and output text with a single click, and safely parse complex UTF-8 multilingual characters (such as Thai script, emojis, and symbols).
How to encode and decode URLs
- Select 'Encode URL' or 'Decode URL'.
- Choose either 'Component' or 'Full URI' mode depending on your input.
- Paste or type your URL or query string.
- Click 'Copy Result' to copy the transformed URL string.
Frequently Asked Questions
What is the difference between encodeURI and encodeURIComponent?
encodeURI preserves special protocol characters like '://', '?', '&', and '/' so the overall URL remains functional. encodeURIComponent encodes every reserved character and is meant for encoding individual parameter values.
Are my URLs logged or sent anywhere?
No. All encoding and decoding runs 100% locally in your web browser.