ASCII Code Table

Find an ASCII character or its decimal code in the table: control characters 0–31 and 127, the space at 32 and the printable characters 33–126, in four column groups.

Runs locally in your browser
ASCII ValueControl CharacterASCII ValueControl CharacterASCII ValueControl CharacterASCII ValueControl Character
0NUL32(space)64@96`
1SOH33!65A97a
2STX34"66B98b
3ETX35#67C99c
4EOT36$68D100d
5ENQ37%69E101e
6ACK38&70F102f
7BEL39'71G103g
8BS40(72H104h
9HT41)73I105i
10LF42*74J106j
11VT43+75K107k
12FF44,76L108l
13CR45-77M109m
14SO46.78N110n
15SI47/79O111o
16DLE48080P112p
17DC149181Q113q
18DC250282R114r
19DC351383S115s
20DC452484T116t
21NAK53585U117u
22SYN54686V118v
23ETB55787W119w
24CAN56888X120x
25EM57989Y121y
26SUB58:90Z122z
27ESC59;91[123{
28FS60<92\124|
29GS61=93]125}
30RS62>94^126~
31US63?95_127DEL

How to read the ASCII code table

The table holds all 128 codes of the 7-bit ASCII set: 0–31 and 127 are the control characters, 32 is the space and 33–126 are the printable characters. The four column groups run in order — 0–31, 32–63, 64–95 and 96–127.

Each row pairs a value with the character it stands for, so the row that starts at 0 also holds 32, 64 and 96. The table is plain HTML: it reads with JavaScript disabled, and nothing you look up leaves the browser.

  1. Find the value in the table, or type a value or a name into the search box: 65 returns the row that holds 65, DEL returns the row for 127.
  2. Move along a row to reach the other groups; the character cell sits to the right of its value.
  3. Press the copy button beside the first value of a row to copy that value; a short confirmation appears.
  4. Clear the search field, or press Clear, to bring back all 32 rows.
  5. The tabs above the table open the neighbouring references: HTTP status codes, HTTP headers, HTML character escapes and content types.

The 7-bit ASCII character set

What the 128 codes contain

Codes 0–31 are the C0 control characters, written with their standard names: NUL 0, HT 9, LF 10, CR 13, ESC 27, up to US 31. 32 is the space, shown as "(space)" so that the cell is not empty, 33–126 are the printable characters from ! to ~, and 127 is DEL.

The four column groups are the same list folded into 32 rows: 0–31 first, then 32–63, 64–95 and 96–127. Below 32, and at 127, there is no glyph to print, so the cell shows the name instead.

Where these codes turn up

Text files end lines with LF (10), or with CR (13) followed by LF on Windows; HT (9) is the tab, BS (8) the backspace and ESC (27) starts terminal and printer control sequences. NUL (0) still marks the end of a C string, and DEL (127) comes from paper tape, where it punched a character out.

The separator codes 28–31 (FS, GS, RS, US) once delimited fields and records in data interchange; today they survive mainly in legacy formats and in the escape sequences that carry them.

Search, copy and the decimal form

The search box filters the 32 rows by value or by name and reports how many entries are left; when nothing matches, an empty message appears. The copy button belongs to the first value of a row and copies that number.

Values are decimal, the form used by HTML numeric character references such as &#65;. In hexadecimal the same range is 00–7F, in octal 000–177 and in binary 00000000–01111111.

Recent tools: