Unicode Converter

Convert text to Unicode escapes and back, covering code points beyond the basic multilingual plane so emoji and other symbols round-trip cleanly.

The Unicode converter writes text as code point escapes and reads them back. Code points above the basic multilingual plane, which includes most emoji, use the longer escape form.

Output

                

Paste or type something above.

Questions about unicode converter

Why do some characters use a longer escape?
Code points above U+FFFF need the uppercase U form with five to six hex digits, which is how emoji are written in JavaScript.
Which escape forms are accepted when decoding?
The backslash u form, the brace form, the uppercase U form, the hexadecimal x form, and a bare U plus hex prefix.
Are control characters escaped?
Yes. A newline, tab, and carriage return are written as their short escapes so they survive copy and paste.