Escape Encode
Free online escape encode tool, no installation required
About Escape Encode/Decode
Percent-encode and percent-decode text using the browser's native encodeURIComponent and decodeURIComponent functions. Useful for preparing query-string values, JSON content embedded in URLs, or any text that contains characters not legal inside a URL. A simple mode selector switches between encoding and decoding.
How to Use
1. Choose Encode or Decode from the mode dropdown.\n2. Paste the input text into the textarea.\n3. Click the Encode or Decode button.\n4. Copy the result using the Copy link beneath the output area.
Encoding Behavior
Encode passes the input verbatim to encodeURIComponent, so every character except A–Z, a–z, 0–9 and - _ . ! ~ * ' ( ) becomes a percent-escaped UTF-8 byte sequence. Decode passes the input to decodeURIComponent, which throws on malformed sequences such as a lone % or %zz; in that case the output area simply stays empty and no result is produced.
▶How is this different from the URL Encode tool?
▶Why does decoding produce no output?
▶Does it encode spaces as %20 or +?
▶Is the input sent anywhere?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee