ASCII Table with Binary, Hex, and Decimal

Complete ASCII character table showing decimal, hexadecimal, binary, and character representations. Essential for programming and computer science.

Decimal Hexadecimal Binary Character Description HTML Entity

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a character encoding standard for electronic communication. It represents text in computers and other devices that use text.

Total Characters

128

Range

0 - 127

Bit Length

7 bits

Standard

ANSI X3.4

ASCII Character Groups

Control Characters (0-31)

Non-printable characters for device control

  • NUL (Null)
  • LF (Line Feed)
  • CR (Carriage Return)
  • ESC (Escape)

Printable Characters (32-126)

Visible characters including letters, digits, and punctuation

  • Space (32)
  • Digits 0-9
  • A-Z, a-z
  • !@#$% etc.

Extended ASCII (128-255)

Additional characters in extended ASCII sets

  • ©, ®, ™
  • Accented letters
  • Currency symbols
  • Box drawing

Programming Usage

Python
# Get ASCII value
ord('A')  # Returns 65

# Get character from ASCII
chr(65)   # Returns 'A'
JavaScript
// Get ASCII value
'A'.charCodeAt(0)  // Returns 65

// Get character from ASCII
String.fromCharCode(65)  // Returns 'A'
Java
// Get ASCII value
(int) 'A'  // Returns 65

// Get character from ASCII
(char) 65  // Returns 'A'
C++
// Get ASCII value
int ascii = 'A';  // Returns 65

// Get character from ASCII
char ch = 65;     // Returns 'A'

Common ASCII Values

A 65 41 01000001
a 97 61 01100001
0 48 30 00110000
Space 32 20 00100000
Newline 10 0A 00001010
Tab 9 09 00001001

🛠️ Free Smart Tools

English English