Browser-local Unicode utility

Unicode Escape Converter

Convert literal Unicode text to explicit escape notation and decode a selected strict syntax without normalizing the text.

Enter text and select Convert.

Method and example

Encoding supports legacy JavaScript/JSON-style UTF-16 escapes, JavaScript code-point escapes, U+ notation, and HTML numeric references. Decoding is strict and syntax is chosen explicitly.

😀 encodes as \uD83D\uDE00 in legacy UTF-16 notation, \u{1F600} in JavaScript code-point notation, and 😀 in HTML hexadecimal notation.

Compatibility and limits

No Unicode normalization occurs. JavaScript \u{...} is not valid JSON syntax. Lone surrogates, values above U+10FFFF, surrogate scalar values, malformed tokens, and mixed syntaxes are rejected.

Technical output regions scroll internally on narrow screens. Copying occurs only after a button press, and unsupported or malformed input produces a controlled message.

Security and accessibility

All input is handled as inert text. HTML-like content is never executed or fetched. Unicode formatting, symbols, and invisible characters can be difficult for assistive technology; use ordinary labeled text for essential information.

Related tools

Browse Developer Tools.