ASCII Table & Character Lookup

Full ASCII table with character lookup. Find the decimal, hex, binary, and HTML code for any character.

About ASCII Table

Search for any character to see its decimal, hexadecimal, binary and HTML entity codes. Includes the full printable ASCII table (32-127).

About this reference

The full ASCII table with decimal, hexadecimal, binary and HTML codes for every character. Type a character to look up its codes, or type a code to see the character.

ASCII has 128 characters: 33 control codes (0 to 31 and 127) and 95 printable ones from space (32) to tilde (126).

How to use it

  1. Type a character in the first box, or a decimal code in the second.
  2. Read the decimal, hex, binary and HTML values.
  3. Scroll the table for the full list.

How the table is organised

Codes 0 to 31 are control characters (tab 9, line feed 10, carriage return 13). 32 is space. Digits 0 to 9 are 48 to 57. Upper-case A to Z are 65 to 90 and lower-case a to z are 97 to 122, exactly 32 higher. 127 is DEL.

Worked example

Key codes

A65 / 0x41 / 01000001
a97 / 0x61 / 01100001
048 / 0x30 / 00110000
Space32 / 0x20 / 00100000
~126 / 0x7E / 01111110

Tips and common mistakes

  • Add 32 to an upper-case code to get the lower-case code.
  • Digits are 48 plus their value.
  • Extended ASCII (128 to 255) differs between code pages; UTF-8 is the modern standard.
  • HTML entities such as & map to codes you can see here.
  • Control characters like tab (9) and newline (10) are invisible but important.

Frequently asked questions

What is ASCII?

A 7-bit character set of 128 characters used in computers.

What is the ASCII code for A?

65.

What is the difference between ASCII and Unicode?

Unicode covers all world scripts; ASCII is its first 128 characters.

How many characters does ASCII have?

128.

What is code 10?

Line feed (new line).

What is extended ASCII?

Various 8-bit extensions that add 128 more characters.

Related tools