Skip to content
← All tools

[ TIDY / %20 ]

URL encode / decode

Turn text into a URL component, or read percent-encoded text.

◉ Stays in your browser

01 / Your input

Processed in this tab. Your input is not sent to our server.

02 / Your result

Your result will appear here.
Start with your own input or try an example.

What it does

Use Component mode to encode a value that belongs inside a URL, or Whole URL mode to preserve the separators in a complete address. Decode percent-encoded text to make it readable again. Conversion happens in your browser; it does not open the destination or encrypt the text.

Useful when

  • Encode a query value containing spaces or punctuation.
  • Read an escaped filename or campaign parameter.
  • Spot accidental double encoding in an integration.

How to use it

  1. Paste the text or encoded value you want to convert.
  2. Choose encode or decode, then Component or Whole URL mode for your input.
  3. Copy the result into the relevant part of your URL or document.

A few useful details

Should I encode an entire URL?

Choose Component for a value such as a search term; it escapes URL punctuation too. Choose Whole URL for a complete address; it preserves structural separators such as : / ? and &. The modes serve different purposes, so check where the result will be used.

Why does decoding fail?

A percent escape may be incomplete, or its bytes may not represent valid UTF-8 text. Review the original value instead of repeatedly decoding it.

Is encoding a way to hide sensitive information?

No. Percent encoding is reversible formatting. Anyone with the encoded text can decode it.