Character code converter
Turn text into Unicode code points and character codes back into text.
Character code converter
Every character on your screen has a number behind it — its Unicode code point. This tool shows those numbers for any text you paste, and turns lists of codes back into readable text. Pick the notation you need: plain decimal (65), hexadecimal (0x41), the standard U+0041 form, JavaScript-style escapes (\u0041), or numeric HTML entities (A).
The converter works with full Unicode, by code point rather than UTF-16 unit. An emoji like 😀 comes out as the single code U+1F600, not a confusing surrogate pair, and the escape format switches to the modern \u{1F600} form above the basic plane. Accented letters, symbols and scripts beyond Latin all convert cleanly in both directions.
Converting codes back to text is deliberately forgiving. Prefixed notations — U+0041, \u0041, 0x41, A, A — identify themselves, so you can mix them freely; bare numbers are read in the selected format's base. Separate codes with spaces, line breaks, commas or semicolons. A mistyped code produces a calm message naming the exact token, not a silent wrong answer. The Array format writes the whole list as a source-ready literal — [72, 101, 108] — and square brackets count as separators on the way back, so an array copied straight out of code decodes without stripping them first.
Seeing text as codes is also the quickest way to expose invisible characters: a zero-width space shows up as U+200B, a non-breaking space as U+00A0, a stray byte-order mark as U+FEFF. Everything runs locally in your browser — nothing you paste is sent anywhere — so it is safe to inspect tokens, keys or private snippets. Copy the result, download it, or feed it back to convert the other way.