URL Encode / Decode
Percent-encode or decode text for use in URLs.
Results appear as you type
Everything runs locally in your browser β your input never leaves this page.
About the URL Encode / Decode
URL Encode / Decode percent-encodes text so it can be safely placed in a URL, or decodes percent-encoded strings back into readable characters. It correctly handles reserved characters such as spaces, ampersands and question marks that would otherwise break a query string. The tool works fully client-side, so your input stays private in your browser.
How to use
- Paste the text or URL component you want to convert.
- Select encode to percent-encode it, or decode to reverse it.
- View the converted string immediately.
- Copy the result into your link, API request or query parameter.
Frequently asked questions
- What is the difference between encoding a full URL and a component?
- Encoding a whole URL preserves structural characters like slashes and colons, while encoding a single component (such as a query value) escapes them too. Use component encoding for individual parameter values.
- Why do spaces sometimes become %20 and other times a plus sign?
- In the path and standard percent-encoding a space is %20, while in the query string of HTML form submissions a space is often encoded as +. Both decode back to a space.
- Does this tool send my data anywhere?
- No. Encoding and decoding run entirely in your browser, so your text is never transmitted to a server.