Boneyard Tools

ASCII Table (Decimal, Hex, Octal, Binary)

The complete ASCII table covering all 128 codes (0 to 127). See the decimal, hexadecimal, octal and 8-bit binary value of every character, plus control-code names. Search by number, hex, character or name.

How to use the ASCII table

  1. Type a decimal number, hex value, character or name in the search box.
  2. Read the matching rows with decimal, hex, octal and binary columns.
  3. Copy any value you need straight from the row.

Examples

Look up the letter A

65
A β€” hex 41, octal 101, binary 01000001

Find the newline control code

LF
10 β€” line feed (newline), hex 0A

Frequently asked questions

What is the ASCII code for the letter A?

Uppercase A is decimal 65, hex 41, octal 101 and binary 01000001. Lowercase a is decimal 97.

What are ASCII control characters?

Codes 0 to 31 plus 127 are non-printing control characters such as NUL, tab (HT, 9), line feed (LF, 10) and carriage return (CR, 13).

How many characters are in the ASCII table?

Standard ASCII defines 128 codes, from 0 to 127. Codes 128 to 255 belong to extended sets like Latin-1, which are not standard ASCII.

What is the difference between LF and CR?

Line feed (LF, 10) moves down a line and is the Unix newline. Carriage return (CR, 13) returns to the start of the line. Windows uses CR then LF.

How do I convert an ASCII code to hex?

Search for the decimal code or the character and read the hex column. For example, the space is decimal 32 and hex 20.

Related tools