ASCII Table

Complete ASCII character code reference. All 128 characters with decimal, hex, binary, octal, and HTML entity values.
All 128 Characters Searchable & Sortable Click to Copy

Printable Characters (32–126)

Char Dec Hex Binary Oct HTML Description
Control Characters (0–31, 127)
Symbol Dec Hex Binary Oct Description

Quick Reference

Letters A–Z

Uppercase: 65–90 (0x41–0x5A)

Lowercase: 97–122 (0x61–0x7A)

Difference: 32 (0x20)

Digits 0–9

Range: 48–57 (0x30–0x39)

Digit value = code - 48

Common Characters

Space: 32 (0x20)

Tab: 9 (0x09)

Newline: 10 (0x0A)

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding standard published in 1963. It maps 128 characters — English letters, digits, punctuation, and control codes — to numeric values 0 through 127. Despite being over 60 years old, ASCII remains foundational to computing: every modern encoding (UTF-8, UTF-16, Latin-1) includes ASCII as a subset.

ASCII vs Unicode

ASCII covers 128 characters — sufficient for English text. Unicode defines over 149,000 characters across 161 scripts, including CJK characters, emoji, mathematical symbols, and historical scripts. UTF-8, the dominant Unicode encoding, is backward-compatible with ASCII: bytes 0–127 map to the same characters in both. This is why ASCII knowledge remains relevant — it's the common subset that everything agrees on.

Related Tools

Use our ASCII Code Converter to look up individual characters and convert between decimal, hex, binary, and octal formats. To convert entire strings, try the Hex to ASCII converter or the Text to Hex converter.

Frequently Asked Questions

What is the ASCII table?
The ASCII table is a reference chart that maps 128 characters to numeric codes (0–127). It includes control characters (0–31, 127), a space character (32), and 94 printable characters (33–126) covering English letters, digits, and punctuation. Created in 1963, ASCII is the foundation of all modern text encoding.
How many characters are in the ASCII table?
128 characters total: 33 control characters (non-printable codes used for text formatting and device control), 1 space, 26 uppercase letters (A–Z), 26 lowercase letters (a–z), 10 digits (0–9), and 32 punctuation/symbol characters.
What is the difference between ASCII and Extended ASCII?
Standard ASCII uses 7 bits and defines 128 characters (0–127). Extended ASCII uses 8 bits for 256 characters (0–255). The first 128 are identical, but characters 128–255 vary by encoding (Windows-1252, ISO 8859-1, etc.). UTF-8 has largely replaced extended ASCII on the modern web.
What are ASCII control characters?
Control characters (codes 0–31 and 127) are non-printable characters originally used to control hardware devices. Common examples: 0 (NUL/null), 9 (HT/tab), 10 (LF/line feed), 13 (CR/carriage return), 27 (ESC/escape), 127 (DEL/delete). Most are rarely used today except for tab, line feed, and carriage return.
How is ASCII related to UTF-8?
UTF-8 is backward-compatible with ASCII: the first 128 characters (codes 0–127) are identical in both encodings. Any valid ASCII text is also valid UTF-8. UTF-8 extends beyond ASCII using multi-byte sequences (2–4 bytes) to encode over 1.1 million characters from every writing system.