URL encoder and decoder
Encode or decode text for URLs.
Ad space
Why URLs need encoding
URLs may only contain a limited set of characters. Spaces, ampersands, slashes and non-English letters are replaced by a percent sign and two hex digits, for example a space becomes %20 and the ampersand becomes %26.
This tool encodes a single value, such as a search term or a query parameter. The characters that separate parts of a URL are encoded too, so do not paste a whole address if you want it to keep working as a link.
FAQ
What is percent-encoding?
It writes a byte as % followed by its two-digit hex value.
Space: %20 or plus?
%20 is correct everywhere. A plus sign means a space only in form data.
Why does decoding fail?
The text contains a percent sign that is not followed by two valid hex digits.