Code reference

ASCII Table

Search ASCII decimal, hexadecimal, binary, HTML entity, character, and description values. Click any row to inspect character details and copy codes.

ASCII lookup

Search and filter codes

0-127

Showing 128 ASCII codes.

Selected character A Uppercase letter A
Dec65
Hex41
Binary01000001
HTMLA

Reference table

ASCII codes, hex, binary, HTML, character, description

DecHexBinaryHTMLCharDescriptionGroup

Common ASCII codes

ASCII control characters

0-31Non-printing control characters originally used for terminals, printers, and communication control.
9, 10, 13Tab, line feed, and carriage return still appear in text files, logs, CSV, and protocol data.
32-126Printable ASCII characters: space, punctuation, digits, uppercase letters, lowercase letters, and symbols.
127DEL is a control character historically used for delete/rubout.

ASCII vs Unicode

ASCIIASCII is a 7-bit character set with values 0 through 127.
UTF-8 compatibilityThe first 128 Unicode code points match ASCII, so ASCII text is valid UTF-8.
Extended ASCIIValues 128-255 are not one universal ASCII table; they depend on the selected code page.
HTML entityNumeric HTML entities such as A can represent ASCII and Unicode code points in HTML.

FAQ

What is ASCII?

ASCII is a 7-bit character encoding with decimal values 0 through 127. It includes control characters and printable characters.

What is ASCII code for A?

Uppercase A is decimal 65, hexadecimal 41, binary 01000001, and HTML entity A.

Why is extended ASCII confusing?

Codes above 127 are not part of the original 7-bit ASCII standard. Different encodings and code pages assign different characters to those values.