URL Encoder & Decoder

Percent-encode query parameters and URLs correctly — or decode that mysterious %20-ridden string.

About this tool

URLs can only contain a limited set of characters, so everything else — spaces, ampersands, non-Latin scripts, emoji — must be percent-encoded. The catch is that a whole URL and a single parameter value need different rules. This tool offers both modes.

How to use it

  1. Choose the mode: Component for a single value (like a search term or parameter), or Entire URL to keep separators such as /, ? and & intact.
  2. Paste your text and click Encode ▸ — or paste encoded text and click ◂ Decode.
  3. Copy the result into your code, API call or address bar.

Good to know

  • Encoding a full URL component-wise would corrupt it — that is why the two modes exist.
  • Decoding treats + as a literal plus (per the standard); forms using application/x-www-form-urlencoded may need it converted to %20 first.
  • Invalid percent sequences produce a clear error instead of garbage.