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.
How to use
- Type text to convert, or paste escapes to decode.
- Set the prefix if you need bare hex instead of the backslash and u form.
- Copy the result.
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.
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.
Related tools
- ASCII Converter Show the decimal, hexadecimal, and binary code behind every character in your text, as a q...
- HTML Entity Encoder Escape ampersands, angle brackets, and quotes into HTML entities, or encode every printabl...
- String Escape Tool Escape and unescape a string for JSON, JavaScript, URL, or SQL, covering backslashes, quot...