Stax

…

Tools

Unicode Converter

Convert text to Unicode code points and back, and inspect each character's UTF-8 byte sequence. Free, instant, no sign-up.

Last updated:

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}

Was this tool useful?

Use the tool above and you can rate it here.

Unicode Converter & Character Inspector — Decode Any Character to Code Points and Escape Sequences

Unicode is the universal standard that makes international text, emoji, mathematical symbols, and most of the world's writing systems work consistently across software. But working with Unicode in code often requires knowing the exact code point (U+XXXX) as defined by the Unicode Consortium, the UTF-8 byte sequence (RFC 3629), or the correct escape format for your programming language. This tool covers all three workflows: converting text to Unicode code points, decoding code points back to text, and inspecting each character's code point, UTF-8 bytes and range.

How to use this converter

In Text → Unicode mode, type or paste any text and the tool immediately shows each character's Unicode code point in U+XXXX format and the escaped text; switch to Inspect characters for the decimal value, UTF-8 byte sequence and range of each character. Switch escape formats using the buttons to get JavaScript (\u{XXXX}), CSS (\XXXX), HTML (&#xXXXX;), or Python (\uXXXX) escape sequences ready to copy. In Unicode → Text mode, enter code points separated by spaces or commas (U+0041, 0x41, 0041 or just 41) and decode them back to readable characters.

Practical use cases for Unicode inspection

It can help check that a string contains the intended Unicode characters and not look-alikes from a different block, a common source of bugs when copying text from PDFs or documents. It can also help inspect possible homoglyphs in URLs or usernames, get the CSS content value for a special character, or embed non-ASCII characters in Python or JavaScript source without relying on the file's encoding.

Privacy and data handling

All Unicode analysis and conversion happens entirely in your browser using JavaScript's built-in string APIs — no text input or character data is sent to any server.

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, 0x41, 0041 or just 41.
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 a broad range label (for example ASCII, Latin-1, CJK Unified, Emoji or Other Unicode).
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.

From the blog

Related tools