What Is an ASCII Table?
ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding with 128 code points. An ASCII table of values lists each character beside its decimal, hexadecimal, octal, and binary forms so you can look up letters, digits, punctuation, and control codes for C, Java, Python, and other languages.
Codes 0–31 and 127 are control characters (NUL, LF, CR, ESC, DEL, and more). Codes 32–126 are printable. Extended ASCII (128–255) is not one standard; this chart uses ISO-8859-1 Latin-1 glyphs for that range. Unicode and UTF-8 keep the first 128 characters identical to ASCII for backward compatibility.
Decimal, Hex, Binary, and Octal Columns
The same code point appears in four bases. Capital A is decimal 65, hex 41, octal 101, and binary 1000001. Use ord() / chr() in Python, or charCodeAt / fromCharCode in JavaScript, to convert between characters and these numbers.
Search, Filter, and Print
Search by character, control name, or any base. Filter to control characters, printable characters, letters, or digits. Switch between standard ASCII, extended ASCII, or the full 0–255 chart. Use Print / PDF for a printable reference, or copy the visible rows as TSV.
ASCII Table FAQs
What is an ASCII table?
An ASCII table maps each of the 128 7-bit ASCII characters to decimal, hexadecimal, octal, and binary values. It covers control characters (NUL, LF, CR, ESC, DEL) and printable characters used in C, Java, and most programming languages.
What is extended ASCII?
Standard ASCII is 0–127. Extended ASCII commonly means codes 128–255. This chart shows ISO-8859-1 (Latin-1) glyphs for that range. Other 8-bit encodings (Windows-1252, IBM code pages) assign different symbols to the same numbers.
How do decimal, hex, octal, and binary relate?
They are the same code point in different bases. For example, capital A is decimal 65, hex 41, octal 101, and binary 1000001. Use hex in HTML entities and memory dumps; octal often appears in C character constants and Unix permissions context.
What are control characters like NUL, LF, and CR?
Codes 0–31 and 127 are non-printable controls. NUL (0) terminates C strings, LF (10) is newline on Unix, CR (13) is carriage return, ESC (27) starts escape sequences, and DEL (127) is delete. They still have hex/binary values even though they do not print a letter.
How does this relate to Unicode and UTF-8?
The first 128 Unicode code points match ASCII exactly. UTF-8 encodes those bytes unchanged, so ASCII text is valid UTF-8. Extended Latin-1 characters need multi-byte UTF-8 sequences.
How do chr() and ord() use this table?
In Python, ord('A') returns 65 and chr(65) returns 'A'. Similar APIs exist in Java (char casting), JavaScript (charCodeAt / fromCharCode), and C (integer character constants). Look up the decimal column to match those APIs.
Can I print or save this as a PDF?
Yes. Use your browser’s Print dialog (Ctrl/Cmd+P). Choose “Save as PDF” for a printable full ASCII chart of the filtered rows.
Is this tool free and private?
Yes. The table is generated in your browser. Nothing you type in the search box is uploaded to LiveTechHacks.
