- ConvertSoon
- Text tools
- URL encode
URL decode and encode
Decode percent-encoded URLs back into readable text, or encode text so it is safe inside a link. It is free and runs in your browser.
Runs in your browser Updates as you type Free, no signup
How to use the URL decode and encode
Choose the direction
Pick Encode or Decode above the boxes.
Type or paste your text
The result appears on the right as you type. Nothing is uploaded.
Copy the result
Press Copy result, or Save to download it as a .txt file.
Examples
Real results from this tool.
| You type | You get |
|---|---|
| café & tea | caf%C3%A9%20%26%20tea |
| 50%25%20off (decode) | 50% off |
URL decode
Choose Decode and paste a link or a piece of one. Codes such as %20 (space), %26 (&) and %C3%A9 (é) become the characters they stand for, and a + in a query string becomes a space. It helps you read tracking links, error logs and search URLs.
URL encode
Choose Encode and type. Spaces and characters that have a meaning in URLs, such as &, ?, # and /, become % codes so the value cannot break the link. Use it for one value at a time, such as a search term or a file name, not for a whole address.
Common percent codes
%20 is a space, %21 is !, %23 is #, %24 is $, %25 is %, %26 is &, %2B is +, %2C is a comma, %2F is /, %3A is :, %3D is = and %3F is ?. Letters with accents and other alphabets become several codes because they are encoded as UTF-8 bytes: é is %C3%A9.
If a link shows %2520, it was encoded twice: decode it twice to get the original.
When to encode
Encode values you put into links by hand, such as a search term or an email subject in a mailto link. Browsers encode the address bar for you, so whole URLs rarely need it.
Related tools
More codes and ciphers and similar tools, all free.
Questions about the URL decode and encode
No. URL encoding only replaces unsafe characters with % codes. Base64 rewrites all the data in a different alphabet.
It is a space. Spaces are not allowed in URLs, so they are written as %20, or as + in query strings.
No. Encode only the values you insert, such as a search term. Encoding the whole address also encodes :// and /, which breaks the link.
Yes. It is free with no signup and runs in your browser.
No. The conversion runs in your browser, so the text never leaves your device and works offline once the page has loaded.