ASCII Table

Interactive ASCII table with decimal, hex, octal, binary and character columns.

Full 7-bit ASCII table (0-127) plus extended 128-255, filterable by value or character type. See decimal, hex, octal and binary for every code point with control-character names.

What is the difference between ASCII and extended ASCII?

Standard ASCII defines code points 0-127 using 7 bits, covering control characters, digits, letters and common punctuation. Extended ASCII uses the 128-255 range and varies by code page (Latin-1, Windows-1252, etc.), so those glyphs are not universal.

ASCII reference at a glance

The ASCII (American Standard Code for Information Interchange) table maps the integers 0 through 127 to characters: control codes, digits, uppercase and lowercase letters, and punctuation. This tool renders all 128 standard code points plus the extended 128-255 range, with each value shown in decimal, hexadecimal, octal and binary so you can convert between bases at a glance.

How it works

Every code point n is converted with the standard base routines: n.toString(16) for hex, n.toString(8) for octal and n.toString(2) for binary, then zero-padded to a fixed width. The printable glyph comes from String.fromCharCode(n). For control characters (0-31 and 127) there is no visible glyph, so the table substitutes the conventional three-letter abbreviation such as LF, CR or ESC. The search box matches a row when your query equals its decimal value, equals its two-digit hex code, or appears in the character name.

Tips and examples

  • Letter A is decimal 65, hex 0x41, octal 101, binary 01000001.
  • Lowercase letters are exactly 32 greater than their uppercase counterparts, so a is 97 — that constant 32 gap is why flipping bit 5 toggles case.
  • The digits 0-9 occupy 48-57, which is why subtracting 48 from a digit character gives its numeric value.
  • Use the Range selector set to “Control characters” to study the C0 control set used by terminals and serial protocols.