URL Encode and Decode

Make text safe for URLs and query strings, or turn encoded text back into words.

Runs in your browser. Nothing you type is sent anywhere.

About the URL Encode and Decode

URL Encode and Decode makes text safe to put in a web address or query string, turning spaces and symbols into percent codes, and turns encoded text back into readable words.

How to use it

  1. Choose a direction.
  2. Paste your text.
  3. Copy the result.

Example

"price 400 products & save 20%" encodes to price%20400%20products%20%26%20save%2020%25

Questions

When do I need this?

When putting text in a link's query string, so characters like &, ? and spaces don't break it.

Why does decoding turn + into a space?

Forms encode spaces as +, so decoding treats them as spaces.

What causes a decoding error?

A % that isn't followed by two hex digits, such as %zz.