URL Encode & Decode

Percent-encode text for safe use in URLs, or decode it back. Component and whole-URL modes, all in your browser.

Encoded

Processed on your device. This file is never uploaded.

  1. 1Choose Encode or Decode.
  2. 2Pick component (one value) or whole-URL mode.
  3. 3Paste your text and copy the result.

Making text URL-safe

A URL can only contain a limited set of characters, and several of those carry structural meaning. Percent-encoding turns everything else — spaces, ampersands, non-Latin characters — into %XX escapes so a value can sit inside a query string without being mistaken for part of the URL's structure.

Component versus whole URL

The distinction matters. When you encode a single parameter value you want the strict, component-level encoding that also escapes :/?&=. When you are cleaning up an entire address you want those left in place. This tool exposes both so you are never forced to hand-fix the over- or under-encoded result. Everything runs on your device.

Frequently asked questions