URL Encode / Decode

Percent-encode text for URLs or decode encoded URLs back to readable text.

Tool

Was this tool useful?

About this tool

About URL Encode / Decode

Safely put spaces and special characters in query strings, or read encoded links.

How it works

Component mode encodes everything except A–Z a–z 0–9 - _ . ! ~ * ' ( ). Full-URL mode keeps characters like : / ? & =.

Example

“a b&c” → “a%20b%26c”.

How to use this tool

  1. Paste text or an encoded URL.
  2. Choose component or full-URL mode.
  3. Click Encode or Decode.

Frequently asked questions

When should I use component mode?

For a single query value. Use full-URL mode for a whole address.

Why is + shown as a space?

In form data + means space. Tick the option to treat + as space when decoding.

Does the URL Encode / Decode send my data to a server?

No. The URL Encode / Decode runs entirely in your browser using JavaScript, so tokens, code and data you paste stay on your device. You can even use it offline once the page has loaded.