What the numbers mean
ASCII is a 7-bit table of 128 codes: 0 to 31 and 127 are control characters (newline is 10), and 32 to 126 are the printable letters, digits and punctuation. Unicode keeps those same 128 values for its first block, then continues upward, so the code for A is 65 in both. This tool reports the full Unicode code point of each character, so it works beyond ASCII, and the name is just what people search for.
Text is walked one code point at a time, which means an emoji counts as one character, not two. Decimal output is the plain number; hexadecimal output is upper-case with no 0x or U+ prefix and no padding.
| Character | Decimal | Hex |
|---|---|---|
A | 65 | 41 |
a | 97 | 61 |
| space | 32 | 20 |
é | 233 | E9 |
€ | 8364 | 20AC |
😀 | 128512 | 1F600 |
Worked example
Hi! becomes 72 105 33 in decimal and 48 69 21 in hex. Decoding goes the other way: each token is parsed in the base you selected and turned back into a character. Tokens can be separated by spaces, commas or both.
Pitfalls when decoding
- The base applies to every token. The token
41is the character)in decimal mode butAin hexadecimal mode, so match the dropdown to your data before reading the output. - Parsing is strict. Every token must be made up entirely of digits of the chosen base (hex also allows a leading
0x), so65abcin decimal mode raises an error naming that token. Negative numbers, decimals and values above 1114111 (0x10FFFF) are rejected the same way. - "Extended ASCII" is not one thing. Values 128 to 255 differ between code pages. In Windows-1252 the euro sign is 128, whereas in Unicode it is 8364. This tool follows Unicode, so a table from an old Windows document may not match.
- Control codes are real characters. A line break typed into the box is reported as 10, and a tab as 9.
If you need the bit patterns instead of the numbers, use the binary text converter. For arbitrary number base conversions the number base converter is more flexible.