Encode or decode your links and parameters in an instant.
A web address can only contain a limited set of characters. Spaces, accented letters and certain symbols must be encoded to be transmitted correctly. Percent-encoding replaces each problematic character with a % followed by its code: a space becomes %20, é becomes %C3%A9.
| Character | Encoded | Why |
|---|---|---|
| space | %20 | Not allowed in a URL |
& | %26 | Separates parameters |
= | %3D | Separates a parameter's name and value |
? | %3F | Marks the start of the parameters |
# | %23 | Marks an anchor in the page |
/ | %2F | Separates folders in the path |
é | %C3%A9 | Outside the basic character set, encoded as UTF-8 |
The tool uses encodeURIComponent, the standard method for encoding a value to be placed in a URL, such as a search term. It therefore also encodes /, ? and &. If you pass a complete address, it will no longer work as a link: encode only the variable part.
Example: to build a search link for "fish & chips", encode only the value, which gives fish%20%26%20chips, then place it after ?q=.
Tracking, redirect and sharing links often contain another address encoded as a parameter. Decoding them shows where they really lead, a good habit before clicking a link received by email or message.
In classic web forms, a space is sometimes encoded as + instead of %20. If decoded text contains + signs where spaces should be, simply replace them.
Yes, it handles accents and symbols with encodeURIComponent, the browsers' standard method, in UTF-8.
No. Encoding and decoding are done in your browser.
Because the address's "/", "?" and ":" were encoded too. Encode only the value of a parameter, not the whole URL.
The string contains a "%" not followed by a valid code. Check that it was not truncated or encoded twice.