Unicode Escape / Unescape
Escape Unicode text into the exact form your language expects — JavaScript/JSON/Java \uXXXX with surrogate pairs, ES2015/Rust \u{…}, \xXX, Python \U00XXXXXX, Go, CSS \41 , HTML &#x…;, legacy %uXXXX or plain U+XXXX notation — including the standard \n \t \\ \" escapes. Unescaping auto-detects all of those formats in one pass and reports malformed or out-of-range escapes with their position. The Inspector tab lists every code point with its name, general category, block, UTF-8 and UTF-16 bytes, grapheme count, and flags zero-width, bidirectional, look-alike, mixed-script and non-standard-space characters, with NFC/NFD/NFKC/NFKD normalization buttons.
Output will appear here…
Code points above U+FFFF become a UTF-16 surrogate pair (two \u escapes) — what JSON, Java and C# expect.
Related tools
String Escape / Unescape
Escape or unescape strings for JSON, JS, HTML, XML, URL, regex, shell, CSV, SQL, Python, Java, C#, Go, YAML and .properties.
HTML Entity Encode / Decode
Encode text to HTML entities with presets (minimal, attribute-safe, all non-ASCII) and decode all 2,000+ HTML5 named references.
Text to Binary
Convert text or files to binary, hex, octal or decimal bytes and back, with a hex dump, per-character byte table and five encodings.
URL Encode / Decode
Percent-encode text with encodeURIComponent, encodeURI, form or RFC 3986 rules, decode multi-layer strings, and edit query strings in a table.
How to use Unicode Escape / Unescape
- 1Pick Escape or Unescape and paste your text — the output updates as you type.
- 2When escaping, choose the format in Options (\uXXXX, \u{…}, \xXX, Python, Go, CSS, &#x…;, %uXXXX or U+XXXX), decide whether to escape only non-ASCII, and keep standard escapes for \n \t \\ and quotes.
- 3When unescaping, leave Auto-detect on: every backslash, HTML, %u and U+ form is decoded in one pass, and malformed escapes are reported with their position.
- 4Open the Inspector tab to see each code point with its name, category, block, UTF-8 and UTF-16 bytes, and warnings for invisible, bidirectional, look-alike or mixed-script characters.
- 5Use the NFC / NFD / NFKC / NFKD buttons to normalize, "Strip invisible characters" to clean pasted text, and Swap (⌘⇧S) to go back and forth.
About Unicode Escape / Unescape
Escape Unicode text into the exact form your language expects — JavaScript/JSON/Java \uXXXX with surrogate pairs, ES2015/Rust \u{…}, \xXX, Python \U00XXXXXX, Go, CSS \41 , HTML &#x…;, legacy %uXXXX or plain U+XXXX notation — including the standard \n \t \\ \" escapes. Unescaping auto-detects all of those formats in one pass and reports malformed or out-of-range escapes with their position. The Inspector tab lists every code point with its name, general category, block, UTF-8 and UTF-16 bytes, grapheme count, and flags zero-width, bidirectional, look-alike, mixed-script and non-standard-space characters, with NFC/NFD/NFKC/NFKD normalization buttons.
Unicode Escape / Unescape is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.