How this tool works
Encoding uses encodeURIComponent. Decoding uses decodeURIComponent and reports invalid escape sequences.
Encode or decode a URL component safely in the browser.
Encoding uses encodeURIComponent. Decoding uses decodeURIComponent and reports invalid escape sequences.
URL encoding turns reserved characters into safe text for query strings and links. Decoding turns encoded text back into readable form.
A space may appear as %20 in a URL. Encoding keeps links from breaking when text contains spaces or special characters.
Do not repeatedly encode the same text. Double-encoded URLs become harder to read and may not work as intended.