URL Encoder / Decoder
Percent-encode or decode URLs and query strings.
About the URL Encoder / Decoder
The URL Encoder and Decoder converts text to and from percent-encoding, the format URLs use to carry characters like spaces, ampersands and non-English letters safely. It is the quick fix when a link breaks because of a special character in a query string.
Frequently asked questions
Any time a value goes into a URL and contains spaces, slashes, question marks, ampersands or non-ASCII characters. Encoding stops those characters from being misread as part of the URL structure.
encodeURIComponent escapes more characters and is meant for individual values like a single query parameter, while encodeURI is for a whole URL. This tool uses component-style encoding, which is what you want most of the time.