URL Encode / Decode
Convert text to and from URL percent-encoding. Component mode escapes everything unsafe in a single query value or path segment; whole-URL mode keeps structural characters like : / ? & intact.
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Ddriving%20licence%20%26%20tax
Component mode escapes everything that isn't safe in a single query value or path segment — including / ? : @ & = +. Whole URL mode leaves those structural characters alone so a complete link stays usable. All in your browser.
FAQ
- Component or whole URL?
- Use Component for a single value you're putting into a query string or path (it escapes / ? & = + @). Use Whole URL when you have a complete link and only want spaces and non-ASCII characters escaped.
- Why did decoding fail?
- A lone % that isn't followed by two hex digits is invalid percent-encoding. Encode the text first, or fix the stray %.
Related tools
- JSON Formatter & ValidatorPretty-print, minify and validate JSON in the browser.
- Number Base ConverterConvert an integer between binary, octal, decimal and hex.
- JWT DecoderRead a JSON Web Token's header and payload, and check its expiry.
- Text Compare (Diff)Spot every added and removed line between two blocks of text.
- Base64 Encode / DecodeText ⇄ Base64, Unicode-safe.
Free to use, no sign-up. Calculations run in your browser — nothing you type is sent to a server. These tools are for general information only, not professional advice. See the full tool list.