Escape Unicode lets you convert every character in your text into a Unicode escape sequence. You can choose between the standard \uXXXX format or the modern ES6-compatible \u{XXXX} format, which supports all Unicode planes including emoji and mathematical symbols. Whether you’re embedding text into JavaScript, JSON, or simply want to encode it for transmission, this tool gives you full control with live preview and instant export options.
How to Use:
- Paste your text in the input box
- Toggle Use
\u{XXXX}
to switch between compact and long form - The output updates live with flashing feedback
- Import
.txt
,.log
, or.csv
if needed - Copy or export the encoded text
Tool Options:
- Use
\u{XXXX}
: Enables extended JavaScript-style escape sequences - Default
\uXXXX
: Uses classic 4-digit hex codes
Example:
Input:
Hi π
Output:\u0048\u0069\u0020\uD835\uDFD8or\u{48}\u{69}\u{20}\u{1D7D8}
Common Use Cases:
Use Escape Unicode for encoding content in JSON, scripts, web tools, string sanitization, or for any case where raw characters need to be safely escaped in a Unicode-compatible way. Ideal for developers, researchers, and tooling pipelines.
Useful Tools & Suggestions:
If youβre working with escaped characters, Convert Unicode to a String Literal might come in handy it shows how those sequences actually play out in code. And if you want to double-check how the values look before escaping, try Analyze Unicode. It’s solid for digging into what each character really is.