How to use it
- Paste the encoded text, for example a link with %D0%9F or %20.
- Read the decoded text; untick “+ means a space” if the text is a path rather than form data.
- Press “Reverse the direction” to encode text for a URL.
Rules and limits
How URLs are encoded
- Encoding writes every character except A–Z, a–z, 0–9 and - _ . ! ~ * ' ( ) as its UTF-8 bytes in %XX form, so a space becomes %20.
- Decoding turns every %XX back into a byte and reads the bytes as UTF-8.
Limits
- The text box shows the first 200,000 characters; the download has everything.
Questions and answers
Why does the text show strange characters?
The bytes after “%” must form UTF-8. Text encoded in an old code page (for example Windows-1251) cannot be read as UTF-8; the page then names the first place that does not decode.
Is “+” a space?
In form data (application/x-www-form-urlencoded) yes, in a URL path no. The step reads “+” as a space by default; untick the option for paths.
Why does my link show %2520?
%25 is the code of “%” itself, so the text was encoded twice. Add a second “URL decode” step to decode it twice.