📊 ASCII Table & Character Codes

Complete 7-bit Standard ASCII (0–127) and 8-bit Extended ASCII (128–255) reference table with Hex, Dec, Oct, Bin, and HTML Entities.

Dec Hex Oct Bin Symbol HTML Entity Description Copy
Showing 256 characters

What is ASCII?

ASCII stands for American Standard Code for Information Interchange. Developed in the 1960s, it encodes 128 specified characters into 7-bit integers. Characters 0 through 31 and 127 are non-printing control codes (such as Carriage Return CR, Line Feed LF, and Tab HT) used to control peripheral devices like teletypes and printers.

Extended ASCII (8-Bit Codes 128–255)

Because standard modern computers operate on 8-bit bytes (capable of storing values from 0 to 255), the upper 128 values (128–255) are known as Extended ASCII. Standardized under ISO-8859-1 (Latin-1) and Windows-1252, this range contains accented European letters, currency signs (€, £, ¥), and math symbols (±, ×, ÷).

Quick Conversion Cheat Sheet

  • Digits '0' to '9': Decimal 48 to 57 (Hex 0x30 to 0x39)
  • Uppercase 'A' to 'Z': Decimal 65 to 90 (Hex 0x41 to 0x5A)
  • Lowercase 'a' to 'z': Decimal 97 to 122 (Hex 0x61 to 0x7A)
  • Space: Decimal 32 (Hex 0x20)
  • Line Feed (Newline \n): Decimal 10 (Hex 0x0A)
  • Carriage Return (\r): Decimal 13 (Hex 0x0D)