How to use the URL Encoder/Decoder
- Choose Encode or Decode.
- Paste your text or URL into the input box.
- View the converted result instantly, and copy it with one click.
How URL/percent encoding works
Percent-encoding replaces each unsafe or reserved character with a '%' followed by its two-digit hexadecimal byte value — for example, a space becomes %20 and an ampersand becomes %26. This tool uses JavaScript's standard encodeURIComponent / decodeURIComponent behaviour, which correctly handles the character set reserved for query-string components.