# 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.

**URL:** https://convertto.tech/t/unicode-escape
**Category:** Encoders & Decoders (https://convertto.tech/c/encoding-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your text or escapes.
2. Choose the direction.
3. Choose the escape style.
4. The result appears immediately — copy or download it.

## FAQ

### Why do some characters need two escapes?

Because \u only addresses the first 65,536 code points. Anything above that — most emoji and many rarer scripts — needs a surrogate pair of two \u escapes, or the newer \u{...} form which takes the code point directly.

## Related tools

- [Unicode Converter](https://convertto.tech/t/unicode-converter): Convert text between code points, UTF-8, UTF-16, HTML entities and escape sequences.
- [UTF-8 Byte Inspector](https://convertto.tech/t/utf8-inspector): See exactly how text is encoded — code points, UTF-8 bytes, names and byte counts per character.
- [Base32 Encoder & Decoder](https://convertto.tech/t/base32-encode-decode): Encode and decode Base32 (RFC 4648) — used by TOTP secrets and case-insensitive identifiers.
- [Base58 Encoder & Decoder](https://convertto.tech/t/base58-encode-decode): Encode and decode Base58 — the Bitcoin alphabet that omits look-alike characters.
- [Base64 Encoder & Decoder](https://convertto.tech/t/base64-encode-decode): Encode and decode Base64 with automatic direction detection, plus file and data-URI support.
- [Binary to Text Converter](https://convertto.tech/t/binary-to-text): Translate text into binary ones and zeros, and decode binary back into readable text.
- [Hex to Text Converter](https://convertto.tech/t/hex-to-text): Convert text to hexadecimal bytes and decode hex strings back into readable text.
- [JWT Decoder](https://convertto.tech/t/jwt-decoder): Decode a JSON Web Token to inspect its header, payload and expiry — locally, never sent anywhere.
