ASCII converter
Convert between characters, their decimal ASCII codes, and hex values — enter any one and see the other two immediately.
| Char | Dec | Hex | Binary |
|---|
How it works
A computer stores no letters, only numbers, so every character needs an agreed
number to stand for it. ASCII fixed those assignments in 1963 using 7 bits, which
gives 128 slots: 0–31 for control codes that were originally instructions to
a teleprinter rather than printable characters, 32 for space, then punctuation,
digits, and the two alphabets. The layout was designed rather than arbitrary
— A is 65 and a
is 97, exactly 32 apart, so changing case means flipping a single bit. Modern text
is Unicode, but its first 128 code points are ASCII unchanged, which is why this
tool keeps working past plain English and will happily show you the code point
behind an emoji.