ASCII Table
All 128 ASCII characters with decimal, hex, octal and binary values. Search by character, number or name.
Frequently asked questions
Why does 'A' = 65 matter?
Case conversion is bit 5: 'A' (65, 0100 0001) and 'a' (97, 0110 0001) differ by exactly 32. That's why old code toggles case with c ^ 32, and why ASCII sorts all uppercase before all lowercase.
What are the control characters for?
Codes 0–31 predate screens: they drove teletypes. A few still matter daily — 9 (tab), 10 (line feed), 13 (carriage return), 27 (escape, the start of every terminal color code) and 0 (the C string terminator).
How does ASCII relate to UTF-8?
UTF-8 was designed so its first 128 code points are ASCII, byte for byte. Any pure-ASCII file is already valid UTF-8 — which is why the world's migration to Unicode mostly just worked.
Last updated: 2026-07-13