TextArray
100% local

Character code converter

Turn text into Unicode code points and character codes back into text.

Input
Output

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.

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.

FAQ

Which code formats are supported?
Decimal (65), hexadecimal (0x41), Unicode notation (U+0041), JavaScript escapes (\u0041 and \u{1F600}) and numeric HTML entities (A and A). The format selector controls the output; decoding recognizes prefixed forms automatically.
How are emoji handled?
By code point, not UTF-16 units. 😀 converts to the single code U+1F600 instead of the surrogate pair U+D83D U+DE00, and codes above U+FFFF convert back to the right character.
Can it reveal invisible characters?
Yes. Convert suspicious text to codes and hidden characters appear by number: U+200B is a zero-width space, U+00A0 a non-breaking space, U+FEFF a byte-order mark.
How do I write codes for the codes-to-text mode?
Separate them with spaces, line breaks, commas or semicolons. Prefixed codes like U+0041, 0x41 or A are recognized in any mix; bare numbers are read as decimal or hex depending on the selected format.
Is my text uploaded anywhere?
No. The conversion runs entirely in your browser and your text never leaves your device.