AI
Toolbox
shield

Escape Encoder

JavaScript escape/unescape encoding — handle special characters

Processed entirely in your browser — no data is sent to any server

Share:𝕏LinkedInReddit

About this tool

Encode and decode strings using JavaScript's escape/unescape functions. Converts non-ASCII characters to %uXXXX format. Useful for legacy systems and quick character encoding checks.

  • ·JavaScript escape() encoding
  • ·JavaScript unescape() decoding
  • ·Non-ASCII characters converted to %uXXXX format
  • ·Runs in your browser — instant and private

Frequently asked questions

Is escape() the same as encodeURIComponent()?

No. escape() uses %uXXXX for non-ASCII characters, while encodeURIComponent() uses percent-encoded UTF-8 bytes. For URLs, use encodeURIComponent.

Is escape() deprecated?

Yes, escape/unescape are deprecated in the JavaScript standard, but all browsers still support them. For new projects, prefer encodeURIComponent.

Which characters are NOT escaped?

Letters, digits, and @*_+-./ are left as-is. Everything else is escaped.

Related tools

JSON Formatter

Beautify, minify, validate JSON — convert to CSV or YAML

Password Generator

Generate strong random passwords with custom length and character types

UUID Generator

Batch generate UUID v4 — standard, no-dash, or uppercase

LinkedIn Post Writer

Generate engaging LinkedIn posts that drive impressions and comments