Stax

Unicode Converter

Convert text to Unicode code points and back. Inspect UTF-8/UTF-16 bytes.

U+0048 U+0065 U+006C U+006C U+006F U+0020 U+1F30D
\u{48}\u{65}\u{6C}\u{6C}\u{6F}\u{20}\u{1F30D}

Text to Unicode and back

This tool covers three workflows: converting text to Unicode code points, decoding code points back to text, and inspecting each character in detail — including UTF-8 bytes, UTF-16 encoding, and Unicode block classification.

Escape sequences for developers

Need to embed a character in source code? The tool generates ready-to-use escape sequences for JavaScript, Python, CSS, and HTML — just pick the format and copy.

Frequently asked questions

What is a Unicode code point?
A Unicode code point is a unique number assigned to every character in the Unicode standard. It is written as U+XXXX (e.g., U+0041 for 'A'). There are over 1.1 million possible code points.
How do I convert Unicode code points back to text?
Switch to 'Unicode → Text' mode and enter code points separated by spaces or commas. You can use U+0041, 0041, or just 41 — the tool accepts all formats.
What escape formats are supported?
The tool outputs JavaScript (\u{XXXX}), CSS (\XXXX), HTML (&#xXXXX;), and Python (\uXXXX or \UXXXXXXXX) escape sequences. Select the format with the buttons next to the Escaped field.
What does the character inspector show?
For each character in your text, the inspector shows the glyph, Unicode code point (U+XXXX), decimal value, UTF-8 byte sequence (hex), and Unicode block/category.
Does this support emoji and non-BMP characters?
Yes. The tool handles the full Unicode range including emoji, CJK characters, Devanagari, Arabic, and supplementary plane characters (U+10000 and above) using JavaScript's codePointAt API.

Related tools