FREE DEVELOPER TOOL
URL Encoder and Decoder
Encode special characters for URLs or decode percent-encoded text. Choose full URL or URL component mode.
This tool runs in your browser. Avoid pasting private tokens, passwords or confidential data on shared devices.
URL Encoder and Decoder: practical guide
Encode special characters for URLs or decode percent-encoded text. Choose full URL or URL component mode. Your input is processed locally in this browser session.
Example
A space in a query value is commonly represented as %20 when percent-encoded. For example, “hello world” becomes “hello%20world” with component encoding.
How to use this tool
- Choose encode or decode.
- Choose URL component mode for an individual value, or full URL mode when you need URL-level encoding.
- Paste the text and run the conversion.
- Check the result in the application or URL where it will be used.
Tips for accurate results
- Use component encoding for query parameters and individual values; it safely encodes reserved characters within that value.
- Do not repeatedly encode already encoded text unless double encoding is intended.
- Keep the URL scheme, host and path structure intact when building a complete web address.
Important limitations
URL encoding is not encryption and does not make a private URL secure. Decoding can fail when percent escapes are incomplete or malformed. The tool does not verify that a URL exists or is safe to visit.
Frequently asked questions
When should I use URL component encoding?
Use component encoding for an individual query value or piece of text. Full URL encoding is intended for a complete URL and preserves URL separators.
Why can decoding fail?
A malformed percent escape is not valid encoded text. Check that the source string is complete and has valid percent-encoded bytes.