URL Encoder and Decoder
Encode a value for a query string or a full URL, or decode an encoded URL to read it. Malformed sequences are reported instead of producing garbage.
Processed in your browser. Nothing you paste is sent to a server.
How to use this tool
- Choose encode or decode.
- For encoding, choose whether this is a single value or a whole URL.
- Copy the result.
How it works
Encoding a value uses percent-encoding of the UTF-8 bytes of every character except A–Z a–z 0–9 - _ . ! ~ * ' ( ), like JavaScript's encodeURIComponent. Encoding a full URL keeps the characters that structure a URL (: / ? # & = and similar). Decoding reverses percent-encoding and, with the form option, turns + into spaces.
Limitations
- Decoding text that was encoded twice needs two passes.
Privacy and data
Everything happens in your browser. What you paste or open is never sent to our server, logged or stored, and the page works offline once loaded.