URL Encoder & Decoder
Percent-encode and decode URLs, query strings and individual components.
URLs may only contain a limited set of characters, so spaces, punctuation and non-ASCII text must be percent-encoded (for example a space becomes %20). This tool encodes and decodes that format, with UTF-8 handling so international text works.
Choose component mode (like encodeURIComponent) when encoding a single value such as a query parameter, or full URL mode (like encodeURI) when you want to keep structural characters such as /, ? and & intact.
Features
- Encode and decode percent-encoding
- Component mode and whole-URL mode
- UTF-8 aware, so non-ASCII characters encode correctly
- Batch mode: encode or decode each line separately
- Clear error if the input contains a malformed % sequence
How to use the url encode / decode
- Paste the text or URL you want to convert.
- Choose encode or decode, and component or full-URL mode.
- Copy the result.
Frequently asked questions
What is the difference between the two modes?
Component mode encodes reserved characters like / ? & = # too, which is right for a single parameter value. Full-URL mode leaves those alone so a complete URL stays usable.
Why does + sometimes mean space?
In application/x-www-form-urlencoded form data, spaces are encoded as +. In the path and generic query components, a space is %20. This tool uses %20; enable form mode if you need +.
Is my input uploaded?
No. Encoding and decoding happen in your browser.
Last updated September 10, 2026.
Related tools
Base64 Encode / Decode
Encode text to Base64 and decode it back, with full Unicode and URL-safe support.
JSON Formatter
Pretty-print, minify, sort and validate JSON with clear, line-numbered error messages.
JWT Decoder
Decode a JWT's header and payload and check expiry — without sending it anywhere.