ASCII Table — Decimal, Hex, Binary, HTML Entity
Interactive table of all 128 standard ASCII characters plus extended ASCII (128-255 / Latin-1). Each row shows decimal, hex, octal, binary, the printable glyph (or name for control characters), and the HTML entity. Search by any column.
How to use the ASCII Table — Decimal, Hex, Binary, HTML Entity
Search by any field: type a character (“A”), a decimal number (“65”), a hex code (“0x41” or “41”), a binary string (“01000001”), or an HTML entity name (“&”). The matching row(s) highlight.
About ASCII Table — Decimal, Hex, Binary, HTML Entity
ASCII (the American Standard Code for Information Interchange) maps 128 characters to integers 0-127. Originally designed for teletype machines in 1963, it remains the foundation of every modern character encoding. UTF-8 is backward-compatible with ASCII for the first 128 code points, which is why English text and code are identical in ASCII and UTF-8. Extended ASCII (128-255) varies by code page; the Latin-1 mapping shown here is the most common Western European extension and is the basis of HTML’s default character set.
Knowing ASCII matters in surprising places: writing parsers that branch on character classes, debugging mojibake (encoding mismatches), filling form-input filters, designing wire protocols. The HTML entity column is especially useful when you need to embed characters that would otherwise be interpreted as markup or are hard to type.
Common use cases
- Character class debugging — see exactly which characters fall in your regex range.
- HTML entity lookup — find the named entity for a special character.
- Control character reference — understand what \x07 (bell) or \x1b (escape) actually do.
- Number base conversion practice — see the same code point in decimal, hex, octal, binary.