About the URL Encoder / Decoder
The URL Encoder / Decoder runs entirely in your browser — your code and data never leave your machine. Paste, click, copy the result.
URLs may only contain ASCII characters that are safe for the web — spaces, &, ?, emoji and non-English text must be percent-encoded (%20, %26…) or the request breaks. This tool encodes whole URLs or individual components, and reverses any percent-encoded string back to readable text.
How to use this tool
- Encode full URL: encodes the string but keeps structure characters (
/ ? & = :) intact — use when building links. - Encode component: encodes everything special — use for a single query-string value.
- Decode: converts
%XXsequences (and+) back to normal characters. - Copy the output with one click.
Common percent codes
| Character | Encoding |
|---|---|
| Space | %20 |
| & | %26 |
| # | %23 |
| ? | %3F |
| / | %2F |
| + | %2B (or space in query strings) |
Full vs. component encoding
Encoding a whole URL with component encoding would turn https://… into https%3A%2F%2F… — a broken link. Encode the URL structure with full encoding; encode just the value you're passing as a parameter with component encoding.
Who is this tool for?
Anyone building share links, debugging UTM-tagged campaign URLs, or tracking down a %20 that broke an API request.
Developer tip
If an API call 400s only when a value contains spaces or &, the client forgot to component-encode that parameter — that is almost always the bug.