HomeToolsEncoding & Crypto › URL Encode / Decode
● Encoding & Crypto

URL Encode / Decode

Free URL encoder and decoder. Percent-encode text for query strings or decode an encoded URL, in your browser.

About this tool

Percent-encode text so it is safe to drop into a URL or query string, or decode an already-encoded URL back to readable text. Useful whenever you build links by hand or debug an API request.

Frequently asked questions

When do I need URL encoding?

Whenever a value in a URL contains spaces, &, ?, =, /, # or non-ASCII characters. Encoding turns them into %XX escapes so they are not mistaken for URL syntax.

What is the difference between encodeURI and encodeURIComponent?

encodeURIComponent escapes more characters and is meant for a single query value; encodeURI leaves URL structure intact for a whole address. This tool uses component-level encoding.

Related encoding & crypto tools