T-07 · Developer tools

URL Encoder and Decoder

Percent-encode or decode URLs and query strings. Choose between encoding a component or a whole URL.

  • Runs in your browser
  • Nothing uploaded
  • No account
Instrument T-07 · URL Encode / DecodeLocal
Mode
Scope

About this instrument

What it does

Encode special characters as %XX sequences or decode them back. “Component” mode (encodeURIComponent) escapes everything except letters, digits and - _ . ! ~ * ' ( ); “Full URL” mode (encodeURI) keeps URL structure characters such as : / ? & = #.

How to use it

  1. Choose Encode or Decode.
  2. For encoding, pick Component for a single parameter value or Full URL for a whole address.
  3. Paste your text and copy the result.

FAQ

Common questions.

01Which mode should I use for a query parameter value?

Component. It escapes & = ? / # so the value cannot break the URL.

02Why is a space %20 here but + elsewhere?

%20 is valid everywhere in a URL; + means space only in form-encoded query strings.