URL Encode / Decode

Make text safe to put in a URL, or turn a URL full of %20 and %E0 codes back into readable text.

Result

How to use

  1. Paste your text or URL.
  2. Click Encode or Decode.
  3. Choose "Keep URL structure" to encode a whole URL while keeping it working.
  4. Click Copy to copy the result.

How it works

Characters that are not allowed in URLs are replaced by % followed by their UTF-8 bytes in hexadecimal. A space becomes %20 and "ह" becomes %E0%A4%B9.

Frequently asked questions

Which option should I use?

Use "Everything" for a single value you are putting into a URL, such as a search term. Use "Keep URL structure" for a complete URL.

Why do I see + instead of %20 in some URLs?

HTML forms write spaces as +. This tool decodes + as a space too.

Why does decoding show an error?

The text contains a % that is not followed by a valid code, such as "100%".

More tools