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.

  • Free, no account needed
  • Checked by 6 test cases
  • Runs in your browser: nothing you enter is sent to us
  • Updated November 19, 2026

Processed in your browser. Nothing you paste is sent to a server.

Result

                
            

How to use this tool

  1. Choose encode or decode.
  2. For encoding, choose whether this is a single value or a whole URL.
  3. 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.