ASCII Table

Free ASCII table reference: every ASCII code 0-127 with its character, decimal, hexadecimal and binary value, control-character names, and a two-way ASCII converter between characters and their codes.

Choose a range to view the ASCII table.

ASCII converter

Enter characters or codes above.

How ascii table works

ASCII (American Standard Code for Information Interchange) is a 7-bit character set that assigns a number from 0 to 127 to each character. The first 32 codes (0-31) and code 127 are control characters such as Null, Line Feed and Escape; codes 32-126 are the printable characters — space, punctuation, digits and letters — that make up basic English text.

This tool lists every ASCII code with its character, the decimal value, the hexadecimal value and the 8-bit binary value, plus the official name for control characters and punctuation. Use the range selector to view all 128 codes, just the 95 printable characters, or just the 33 control characters.

The converter works both ways. Enter one or more characters to see each one's ASCII code in decimal, hex and binary, or enter one or more decimal or 0x-prefixed hex codes to see the corresponding characters. Codes above 127 are handled as Unicode code points, so you can also look up extended characters.

Frequently asked questions

What is the ASCII code for the letter A?
The uppercase letter A is ASCII code 65 (hex 0x41, binary 01000001). The lowercase a is code 97 (hex 0x61).
What is the difference between control and printable characters?
Control characters (codes 0-31 and 127) are non-printing signals such as Tab (9), Line Feed (10), Carriage Return (13) and Escape (27). Printable characters (codes 32-126) are the visible space, punctuation, digits and letters you can type and see.
How many ASCII characters are there?
There are 128 ASCII characters in total: 33 control characters and 95 printable characters. Code 32 is the space character, which is classified as printable but produces no visible mark.
Can I convert a list of codes to characters?
Yes. In the converter, switch to 'code to char', then enter decimal or 0x-prefixed hex codes separated by spaces or commas, for example '65 66 67' or '0x41 0x42 0x43'. Each code is converted to its character.