Unicode Converter
Free online Unicode converter tool, escape sequences and text conversion
About Unicode Escape Converter
Convert text to and from Unicode escape sequences. Encoding outputs the ES2015 code-point form \u{XXXX} for every character whose code point is above U+007F, leaving ASCII characters unchanged. Decoding accepts both the brace form \u{1F600} and the classic four-digit form \u00e9 and renders the corresponding characters.
How to Use
1. Pick the To Unicode or To Text mode tab.\n2. In To Unicode mode, enter plain text to receive escapes; in To Text mode, enter \u-style escapes to receive characters.\n3. Click Convert.\n4. Copy the result with the Copy button in the output card.
Escape Formats Supported
Encode iterates with codePointAt and emits \u{HEX} in uppercase for code points > 127, so emoji like 😀 become \u{1F600} and é becomes \u{E9}. ASCII letters, digits, and punctuation pass through untouched. Decode uses a single regex /\\u\{?([0-9a-fA-F]+)\}?/g that matches both braced and unbraced hex (case-insensitive) and calls String.fromCodePoint, so mixed sequences in one input are handled correctly.
▶Why are ASCII characters not escaped when encoding?
▶Can I decode both \u{1F600} and \u00e9 styles?
▶Does it handle surrogate pairs like \uD83D\uDE00?
▶What is the hex case of the encoded output?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee