URL Encoder / Decoder
Encode URLs into safe percent-encoded character strings or decode percent-encoded URLs back to plain text in seconds.
Live Percent-Encoding Overhead & Reserved Character Checker
These results update as you type:
Encoding and Decoding URLs
A web address can only contain a limited set of characters. Spaces, ampersands, question marks and non-English letters can break query parameters or cause errors on a server. Percent-encoding fixes this by replacing an unsafe character with a percent sign (%) and two hexadecimal digits. I built this URL Encoder / Decoder so developers and webmasters can encode and decode query strings in seconds, in the browser.
It runs on your device, so query strings and tokens you paste in are not sent to a server.
Why Percent-Encoding Matters
If you do not encode user input in a query string, the link can break, and in some cases it can open the door to injection problems. Proper encoding helps the data arrive the way you meant it.
| Operation | Target Action | Primary Use Case |
|---|---|---|
| Encode URL | Converts special characters to percent-encoded hex equivalents | Preparing query string parameters, spaces, and symbols for safe HTTP transmission. |
| Decode URL | Restores percent-encoded strings back to standard human-readable test | Inspecting server logs, tracking URLs, or reading nested parameters. |
| Safety Check | Character validation | Checking structural integrity of web links before deployment. |
Developer Reference Table
This table lists the common characters and how they are encoded:
| Special Character | ASCII Name | Percent-Encoded Hex Value |
|---|---|---|
| Space | Space / Blank | %20 |
| Ampersand | Ampersand Separator | %26 |
| Question Mark | Query Parameter Delimiter | %3F |
| Equals Sign | Key-Value Assignment | %3D |
How to Use the URL Tool
Using it is simple:
Step 1: Type or paste your URL or encoded string into the box.
Step 2: Click "Encode URL" or "Decode URL".
Step 3: Check the reserved character count and the size change in the results box.
Common Mistakes with URL Parameter Formatting
A common mistake is double-encoding a URL, for example turning an already encoded %20 into %2520. This breaks the link or its parameters.
Frequently Asked Questions
1. What is URL percent-encoding?
Percent-encoding replaces characters that are not allowed in a URL with a % sign and two hexadecimal digits.
2. Is my input URL stored or transmitted to an external server?
No. Encoding and decoding run in your browser and your data is not uploaded.
3. Why do spaces convert to %20 or plus (+) signs?
In standard URL encoding (RFC 3986), spaces are encoded as %20, while in application/x-www-form-urlencoded query strings, they are frequently represented as plus signs (+).
4. How does the live reserved character auditor work?
It counts the unsafe characters and parameters in your text and shows how much longer the encoded version is.
5. Is this tool 100% free?
Yes, it is free to use. There is nothing to download and no account to make.
Other Free Tools: HTML Entity Encoder / Decoder, Cryptographic Hash Generator, Password Generator, Base64 Encoder / Decoder