Unicode Escape Converter
Convert characters to \u escape sequences and back — for JSON, JavaScript and source code.
To escape Unicode characters, paste text and every non-ASCII character becomes a numeric escape sequence. Choose the style your language expects — \u00e9 for JavaScript and JSON, \u{1f389} for ES6, \0000e9 for CSS, or numeric HTML entities.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Why do some characters need two escapes?
How to use the unicode escape converter
- 1Enter or paste your text or escapes.
- 2Choose the direction.
- 3Choose the escape style.
- 4The result appears immediately — copy or download it.
Embed this tool
Put the working unicode escape converter on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Unicode ConverterConvert text between code points, UTF-8, UTF-16, HTML entities and escape sequences.UTF-8 Byte InspectorSee exactly how text is encoded — code points, UTF-8 bytes, names and byte counts per character.Base32 Encoder & DecoderEncode and decode Base32 (RFC 4648) — used by TOTP secrets and case-insensitive identifiers.Base58 Encoder & DecoderEncode and decode Base58 — the Bitcoin alphabet that omits look-alike characters.Base64 Encoder & DecoderEncode and decode Base64 with automatic direction detection, plus file and data-URI support.Binary to Text ConverterTranslate text into binary ones and zeros, and decode binary back into readable text.
Last updated
More encoders & decoders