About the ASCII / Unicode Converter
This converts between text and the numeric code points behind each character — ASCII for the basic English set, Unicode for everything else. Developers use it to inspect exactly which characters a string contains (including invisible or look-alike ones), to build escape sequences, to debug encoding issues, or to look up a character's code. Convert text to codes, or a list of codes back into text, in decimal, hexadecimal or U+ notation.
How it works
Text → codes reads each character's Unicode code point and lists them in your chosen format: decimal (72), hexadecimal (48), or U+ notation (U+0048). It iterates by code point, so emoji and other characters outside the basic range are read as a single value, not split. Codes → text parses a space- or comma-separated list of code points and rebuilds the string. ASCII is simply the first 128 Unicode code points, so plain English text produces the familiar ASCII numbers. Need those hex/decimal numbers converted between other number bases too? Try the Base Converter.
Assumptions and behaviour
- Uses Unicode code points (
codePointAt), so characters beyond the basic plane — including most emoji — count as one code point each. - Output format is your choice: decimal, hex, or U+.
- On decode, code points can be separated by spaces or commas, and accept
U+prefixes or bare hex/decimal. - The first 128 code points are exactly the ASCII table.
Limitations
- Code points aren't UTF-8/UTF-16 bytes. This shows the character's Unicode number, not its encoded byte sequence — a code point above U+FFFF is one number here but takes multiple bytes on disk. Use the Character & Byte Counter for encoded sizes.
- Grapheme clusters can be several code points. An emoji with a skin-tone modifier, a flag, or a letter with a combining accent is multiple code points, so it converts to multiple numbers even though it looks like one character.
- Decoding rejects values outside the valid Unicode range (0 to 0x10FFFF).
Privacy
The conversion runs entirely in your browser. Nothing is uploaded or stored.

