ASCII Table
A simple, searchable reference of ASCII characters with decimal, hex and octal codes.
| Dec | Hex | Oct | Character |
|---|
No matches found.
What Is ASCII?
ASCII (American Standard Code for Information Interchange) assigns a numeric code to letters, digits, punctuation and control characters. Standard ASCII covers codes 0–127 and is identical everywhere.
Why Codes 128–255 Change with the Encoding
Codes 128–255 were never part of the original ASCII standard, so different systems filled them in differently. This table lets you switch between the three you're most likely to run into: Windows-1252 (the default on Windows and most web pages — includes € and curly quotes), CP437 (the original IBM PC/DOS code page — box-drawing characters and math symbols), and ISO-8859-1 / Latin-1 (where codes 128–159 are unassigned control codes, not visible characters).
Frequently Asked Questions
Codes 0–31 (plus 127) are non-printable control characters used for things like line breaks (LF, code 10), tabs (TAB, code 9), and carriage returns (CR, code 13) — left over from early teletype and terminal systems.
Codes 128–255 aren't part of standard ASCII, so there's no single correct mapping — it depends on the code page your system or software uses. Use the Encoding dropdown above to see how the same byte value maps to a different character in Windows-1252, CP437, or Latin-1.
They're just three different number bases representing the same character code — decimal (base 10), hexadecimal (base 16, often used in programming), and octal (base 8).