How to use
Paste the URL or text
Put the link or raw value in the Input pane, or click Open text file. Try sample loads a URL with a space, an ampersand and an encoded UTM value, so you can see exactly what changes.
Set options and convert
Choose Encode as and a Character set, and tick Spaces as + or Each line separately if needed. Click Encode or Decode, or tick Live mode and pick a Live direction.
Copy the result or the parameters
Copy the output or download it as .txt. For a full link, the Query parameters table shows each key and decoded value with its own Copy button, plus Copy as JSON.
Why URL Encoder / Decoder
- Two encode modes: a single value, like encodeURIComponent, or a full URL, like encodeURI.
- Query parameter table and a one-click fix for double encoding.
- Live mode, per-line batch conversion and legacy character sets.
- Decode errors point to the broken % escape instead of failing silently.
Common characters and their percent codes
Letters, digits and the four symbols - _ . ~ never need encoding. The reserved characters below can stay as they are when they do their normal job in a URL, such as a / between path segments or an & between parameters. They must be encoded when they are part of a value.
Characters outside ASCII are first turned into bytes, using UTF-8 unless you pick another character set, and each byte is escaped. That is why é becomes %C3%A9 and the rupee sign ₹ becomes %E2%82%B9 in UTF-8.
| Character | Encoded | Why it matters |
|---|---|---|
| space | %20 (or + in form data) | Not allowed inside a URL |
| ! | %21 | Reserved in RFC 3986; encodeURIComponent leaves it alone |
| # | %23 | Starts the fragment, which is never sent to the server |
| % | %25 | Starts every escape sequence |
| & | %26 | Separates query parameters |
| + | %2B | Means a space in form data |
| / | %2F | Separates path segments |
| : | %3A | Separates the scheme and the port |
| = | %3D | Separates a key from its value |
| ? | %3F | Starts the query string |
| @ | %40 | Separates user info from the host |
Query value or full URL: the same link, two results
The Encode as setting decides which characters survive. Encode a single value with Query value, and encode a whole link that only needs its spaces and accented letters fixed with Full URL. Here is the same input in both modes:
| Input | Query value / component | Full URL |
|---|---|---|
| https://example.com/a b?q=x&y | https%3A%2F%2Fexample.com%2Fa%20b%3Fq%3Dx%26y | https://example.com/a%20b?q=x&y |
| soap & glory | soap%20%26%20glory | soap%20&%20glory |
| café (it's) | caf%C3%A9%20%28it%27s%29 | caf%C3%A9%20(it's) |