🔗 URL Encode & Decode

Percent-encode values for links and APIs, decode messy tracking URLs, and see every query parameter in a table.

🔒 Runs in your browser · files never uploaded

How to use the URL Encode & Decode tool

  1. Paste text or a full URL.
  2. Choose component encoding, full-URL encoding or decode.
  3. Copy the result and inspect the parsed parameters below.

Frequently asked questions

What is the difference between encodeURIComponent and encodeURI?

encodeURIComponent escapes everything except letters, digits and - _ . ! ~ * ' ( ), so it is right for a single query value. encodeURI leaves : / ? # & = intact, so it is for a whole URL that is already structured.

Should spaces be %20 or +?

In paths always %20. In query strings submitted by HTML forms (application/x-www-form-urlencoded) spaces become +. Tick "Spaces as +" when building form-style queries; decoding with the box ticked turns + back into spaces.

Why do I get "malformed percent-encoding"?

A % must be followed by two hex digits that form valid UTF-8. A literal % in text (like "50% off") that was never encoded, or a truncated %E2%82 sequence, triggers it.

Related tools