URL encode and decode

Percent-encode or decode URL text.

Mode
Encode as

0 lines · 0 characters

0 lines · 0 characters

Results update as you type.

Runs in your browser. Nothing uploaded.

How to URL encode or decode

  1. Choose Encode or Decode.
  2. Paste your text or URL into Input.
  3. Copy the result, or click Swap to use it as the input and go the other way.

When do you need URL encoding?

  • Putting user input, like a search term or email address, into a query string.
  • Building links that contain spaces, accented letters or symbols such as & and #.
  • Reading an encoded link from logs, analytics or a redirect so you can see where it really goes.