URL encoder / decoder
Paste a URL or text and switch between encoding and decoding.
Free online URL encoder and decoder
Encode text into a URL-safe format or decode percent-encoded URLs back to plain text. This tool uses standard percent-encoding (the same as JavaScript's encodeURIComponent), turning characters like spaces, &, ? and = into %20, %26 and so on, so query strings and parameters travel safely across the web.
When you need URL encoding
Encode values before putting them in a query string, an API request or a redirect link; decode to read what a long, escaped URL actually contains. Everything runs locally in your browser.
Frequently asked questions
What is percent-encoding? A way to represent reserved or non-ASCII characters in a URL using a % followed by two hexadecimal digits.
Does it handle accents and emoji? Yes, UTF-8 characters are encoded and decoded correctly.
How special characters are URL-encoded
| Character | Encoded |
|---|---|
| space (␣) | %20 |
| ! | %21 |
| " | %22 |
| # | %23 |
| $ | %24 |
| % | %25 |
| & | %26 |
| ' | %27 |
| ( | %28 |
| ) | %29 |
| * | %2A |
| + | %2B |
| , | %2C |
| / | %2F |
| : | %3A |
| ; | %3B |
| = | %3D |
| ? | %3F |
| @ | %40 |
| é | %C3%A9 |
| ñ | %C3%B1 |
| € | %E2%82%AC |
Letters, digits and the symbols - _ . ~ are never encoded. Everything else is converted to one or more % bytes using UTF-8, which is why accented letters and emoji become several %-codes.