URL encode and decode

Paste text or a web address to encode special characters, or decode %20-style text back to normal.

Runs in your browser. Nothing is uploaded.

How to use

  1. Choose Encode or Decode.
  2. Paste your input.
  3. Copy the result.

Good to know

  • Encoding replaces characters such as spaces and ampersands with % codes so they can safely sit inside a web address.

Questions

What does %20 mean?
It is how a space is written in a web address. Decoding turns %20 back into a space.
When do I need to encode a URL?
When a link contains spaces, accents or symbols such as & and #, which have special meanings in addresses.
Does it change my text?
Only the unsafe characters are changed, and decoding reverses it.

Also known as: URL encode, URL decode, percent encoding, URL encoder online.

More developer tools