URL Encode and Decode Online Percent-Encoding Tool
Step 1: Paste your text or URL
Step 2: Press Encode or Decode
Everything runs in your browser. Nothing you enter is sent to or stored on our server.
© 2004–2026 QuickOnlineTips. This tool’s code and design are our own work. You are welcome to use it here for free, but please do not copy, republish or sell it. Terms of use
Missing a feature, found a bug, or something confusing? Tell us in a line.
More developer tools and other free tools
About this tool
Use this tool to URL decode or encode text in one click. Decode turns %20, %3A and other percent-encoded characters back into readable text; encode makes text safe to put in a web address or query string. Paste a full link to see its protocol, domain, path and every query parameter in a table.
Quick answer: Paste an encoded link and click Decode to read it: caf%C3%A9%20near%20me becomes “café near me”. Click Encode (component) to make any text safe to put after ?q= in a URL.
How to URL decode and encode
- Decode converts every %XX sequence back into its character, including multi-byte UTF-8 characters like é, ₹ and emoji. Tick the + option for form data, where spaces are sent as +.
- Encode (component) uses
encodeURIComponent. Use it for a single value, such as a search term, an email address or a redirect URL that goes inside another URL. - Encode (full URL) uses
encodeURI. Use it for a whole address that contains spaces or non-English letters, while keeping its structure.
After decoding or encoding a full link, the table shows its parts, which is handy for reading long tracking links and checking UTM parameters.
What is URL encoding?
URLs may only contain a limited set of ASCII characters. Anything else, and characters that have a special meaning in URLs, must be percent-encoded: written as % followed by two hexadecimal digits for each byte. The rules come from RFC 3986. A space becomes %20, and é, which is two bytes in UTF-8, becomes %C3%A9.
Common percent-encoded characters
| Character | Encoded | Character | Encoded |
|---|---|---|---|
| space | %20 (or + in forms) | / | %2F |
| ! | %21 | : | %3A |
| # | %23 | = | %3D |
| $ | %24 | ? | %3F |
| % | %25 | @ | %40 |
| + | %2B | , | %2C |
The ampersand, which separates query parameters, is encoded as %26.
When you need URL encoding
- Building links with search terms, names or addresses in the query string.
- Passing one URL inside another, such as a return or redirect link.
- Reading tracking links from emails and ads to see where they really go.
- Debugging APIs and webhooks that send form-encoded data.
URL encoding in code
- JavaScript:
encodeURIComponent(s)anddecodeURIComponent(s) - Python:
urllib.parse.quote(s)andunquote(s) - PHP:
rawurlencode()andrawurldecode() - Excel:
=ENCODEURL(A1)
For other encodings, try our Base64 encoder and decoder or the binary translator.
FAQ
What does %20 mean in a URL?
It is an encoded space.
Why does decoding show strange characters?
The text may have been encoded twice. Click Decode again on the result.
Get our free weekly email: new tech guides and tools, no spam.
New and updated tech guides, a free tool worth bookmarking and one useful pick, once a week. No spam, unsubscribe anytime.
One email a week. Unsubscribe anytime. See our privacy policy.






