URL encoder.
Percent-encode text for URLs or decode back to plain. Choose between encodeURIComponent and encodeURI. Everything runs locally.
Tidy querystrings.
Anything outside the unreserved URL set needs to be percent-encoded. Pick the scope that matches where the value will live.
When should I use encodeURIComponent vs encodeURI?
Use encodeURIComponent for values you’re about to plug into a URL (query parameters, path segments). Use encodeURI when you already have a full URL and just want unsafe characters cleaned up without breaking the structure.
Why do spaces sometimes become + and sometimes %20?
In application/x-www-form-urlencoded bodies (most form posts), spaces are encoded as +. In URL paths and query strings, spaces should be %20. This tool emits %20 — swap to + manually if you are hand-crafting a form body.
Is the input stored anywhere?
No. Encoding and decoding happen entirely in JavaScript on your device. Nothing is uploaded to a server.