URL Encode / Decode

Percent-encode or decode URLs and query parameters with encodeURIComponent or encodeURI rules. Handles UTF-8 and + as space. Free and private.

About this tool

Percent-encode or decode URLs and query parameters. Use component mode for a single parameter value and full-URL mode when you want to keep characters like / ? & = intact.

How to use

  1. Select Encode or Decode.
  2. For encoding pick Component or Full URL; for decoding optionally treat + as a space.
  3. Paste the text and copy the result.

Frequently asked questions

What is the difference between Component and Full URL?

Component works like encodeURIComponent and escapes reserved characters such as / ? & =. Full URL works like encodeURI and keeps the URL structure readable.

When should + be treated as a space?

HTML form submissions (application/x-www-form-urlencoded) encode spaces as +. Enable the option when decoding such data.

Why does decoding fail?

A % sign is followed by an invalid or incomplete byte sequence, for example %E0%A4%A.

Related tools