URL Encoder / Decoder

Percent-encode or decode URLs and query strings safely.

100% client-side Instant results Free forever Nothing uploaded

About the URL Encoder / Decoder

Encode text for safe use in URLs (percent-encoding) or decode encoded URLs back to readable form. Choose between full-URI mode and component mode depending on whether you are encoding a whole URL or a single query parameter.

Essential for building query strings, debugging tracking links and reading encoded parameters in logs.

How to use the URL Encoder / Decoder

  1. Paste your text or URL.
  2. Pick "Component" mode for parameter values, "Full URI" for complete URLs.
  3. Click Encode or Decode and copy the output.

Common uses

Building safe query-string parameters Decoding UTM and tracking links Fixing double-encoded URLs

Frequently asked questions

What is the difference between the two modes?
Component mode (encodeURIComponent) encodes characters like / ? & = so a value is safe inside a parameter. Full URI mode preserves URL structure characters.
Why do spaces become %20?
Percent-encoding represents unsafe bytes as % followed by their hex value; a space is byte 0x20.

Related tools