URL Encoder / Decoder
Percent-encode or decode URLs and query strings instantly. Runs in your browser - your input never leaves your device.
What is this?
A free URL encoder/decoder. URL encoding (a.k.a. percent-encoding) replaces characters that aren't safe in a URL - spaces, &, ?, =, non-ASCII - with %XX escapes so they transmit correctly. Decoding reverses it.
Use component mode (encodeURIComponent) for a single query value - it escapes & = ? /. Use full URL mode (encodeURI) for a whole URL - it leaves structural characters like :/?& intact.
Frequently asked questions
What is URL encoding?
Percent-encoding replaces unsafe URL characters with %XX escapes so the URL or query value transmits correctly.
encodeURI vs encodeURIComponent?
encodeURIComponent escapes a single value (including & = ? /) - use it for query values. encodeURI keeps full-URL characters intact - use it for an entire URL.
Is it free and private?
Yes - free, no signup, and it runs entirely in your browser.
How do I decode an encoded URL?
Paste the encoded string into the decoder above and it converts percent-escapes (like %20) back to readable text instantly, in your browser. In code, use decodeURIComponent() in JavaScript or urllib.parse.unquote() in Python.
Is %20 URL encoding?
Yes - %20 is the percent-encoding for a space. URL encoding replaces characters that are unsafe in a URL (spaces, &, ?, /, and others) with a % followed by their hex code so the URL transmits safely.
Build real APIs and web systems
On HeyDevJob you fix real broken APIs, web servers, and integrations in a live cloud workspace - free, and every fix lands on your portfolio.
Start free →