ASCII Table

The full ASCII table — dec, hex, oct, binary — searchable and copyable.

About this table

All 128 ASCII codes — with the Latin-1 extension to 255 on a toggle — showing decimal, hex, octal, binary, the character, and what the control codes actually mean. Search by number ("65"), hex ("0x41"), character ("A") or name ("tab"), and click any row to copy its character.

The patterns worth knowing

ASCII isn't arbitrary — its layout encodes tricks programmers still rely on. Digits 0–9 sit at 48–57, so char − '0' converts a digit to its value. Upper- and lowercase letters differ by exactly one bit (A is 65, a is 97 — a difference of 32), so case-folding is a single bit-flip. The control characters below 32 are telegraph-era plumbing, of which four still matter daily: 9 (tab), 10 (line feed), 13 (carriage return) and 27 (escape). And everything above 127 is where the encoding wars began — the binary side of this and UTF-8's fix are their own story. For the codes as your keyboard sends them, see the keyboard tester.

Frequently asked questions

What is ASCII code 65?

The capital letter A. Lowercase a is 97 — exactly 32 apart, a single bit, which is why case-insensitive comparison is computationally cheap.

What are the control characters (0-31)?

Telegraph-era instructions rather than printable symbols. The survivors you'll meet daily: 9 tab, 10 line feed, 13 carriage return and 27 escape — the rest are mostly historical.

What's the difference between ASCII and Unicode?

ASCII defines 128 characters; Unicode defines all of them (150,000+) and its UTF-8 encoding keeps every ASCII character identical in one byte — so ASCII is effectively Unicode's first page.

What is extended ASCII (128-255)?

Various single-byte extensions; the table's toggle shows Latin-1 (ISO 8859-1), the most common one, covering Western European accents and symbols.