URL Encoder / Decoder

Encode or decode any URL, query string, or text — including automatic query parameter parsing. Everything runs in your browser.

Try:

How URL encoding works

  • encodeURIComponent converts special characters (spaces, &, =, ?, #, etc.) into percent-encoded sequences like %20.
  • decodeURIComponent reverses that, turning %20 back into a space.
  • + in query strings is treated as a space (legacy form encoding) and is also decoded here.
  • The Query Parameters table appears automatically when your input contains a recognisable query string.