ASCII Table

The full ASCII table — decimal, hex, octal, binary, HTML entity and the character for all 128 codes. Search it and click any row to copy.

DecHexOctBinaryCharHTMLDescription

100% free, no sign-up Runs in your browser Instant, works offline

ASCII maps the numbers 0–127 to letters, digits, punctuation and control codes. Codes 0–31 and 127 are non-printing controls like tab, newline and escape; 32 is the space; 33–126 are the printable characters. Because UTF-8's first 128 code points are identical to ASCII, this is also a quick reference for the byte value of any basic Latin character. Click a row to copy its character. To turn text into code points, try the text to binary converter or Base64.

Frequently Asked Questions

What is ASCII?

ASCII, the American Standard Code for Information Interchange, maps the numbers 0 to 127 to letters, digits, punctuation and control codes. Codes 0 to 31 and 127 are non-printing control characters like tab, newline and carriage return; 32 is the space; 33 to 126 are the printable characters. Because ASCII is the basis of UTF-8 for these first 128 code points, an ASCII table is a quick reference for the byte value of any basic Latin character.

What is the ASCII value of A and a?

The ASCII value of uppercase A is 65 (0x41), and lowercase a is 97 (0x61). A–Z run from 65 to 90 and a–z from 97 to 122, so lowercase is always 32 more than the matching uppercase letter. The digits 0 to 9 are 48 to 57. This table lists the decimal, hex, octal and binary value for every character.

What is the difference between ASCII and Unicode?

ASCII covers only 128 characters — enough for English text and basic symbols. Unicode assigns a code point to virtually every character in every writing system plus emoji, and UTF-8 is the common encoding. UTF-8's first 128 code points are identical to ASCII, so any plain ASCII text is already valid UTF-8. This table shows those first 128 shared code points.

Why does this table stop at 127 instead of 255?

Standard ASCII only defines 128 codes, 0 to 127, using 7 bits. Codes 128 to 255 belong to extended ASCII or code pages such as Latin-1, which were added later by different vendors and are not part of the original ASCII standard. Because those upper 128 values vary by system, this table stops at 127, where every code is guaranteed to mean the same thing everywhere ASCII or UTF-8 is used.