ASCII Table

A complete ASCII table, printable characters 32–126 with their decimal and hex codes, plus the control characters 0–31 and 127 with their standard abbreviations.

ASCII (American Standard Code for Information Interchange) maps characters to numbers 0–127. Codes 0–31 and 127 are non-printing control characters; 32–126 are the printable letters, digits, and symbols. UTF-8 is a superset, so these values are identical there.

Printable characters (32–126)

DecHexChar
3220(space)
3321!
3422"
3523#
3624$
3725%
3826&
3927'
4028(
4129)
422A*
432B+
442C,
452D-
462E.
472F/
48300
49311
50322
51333
52344
53355
54366
55377
56388
57399
583A:
593B;
603C<
613D=
623E>
633F?
6440@
6541A
6642B
6743C
6844D
6945E
7046F
7147G
7248H
7349I
744AJ
754BK
764CL
774DM
784EN
794FO
8050P
8151Q
8252R
8353S
8454T
8555U
8656V
8757W
8858X
8959Y
905AZ
915B[
925C\
935D]
945E^
955F_
9660`
9761a
9862b
9963c
10064d
10165e
10266f
10367g
10468h
10569i
1066Aj
1076Bk
1086Cl
1096Dm
1106En
1116Fo
11270p
11371q
11472r
11573s
11674t
11775u
11876v
11977w
12078x
12179y
1227Az
1237B{
1247C|
1257D}
1267E~

Control characters (0–31, 127)

DecHexAbbrName
000NULNull
101SOH
202STX
303ETX
404EOT
505ENQ
606ACK
707BELBell / alert
808BSBackspace
909HTHorizontal tab
100ALFLine feed (newline)
110BVTVertical tab
120CFFForm feed
130DCRCarriage return
140ESO
150FSI
1610DLE
1711DC1
1812DC2
1913DC3
2014DC4
2115NAK
2216SYN
2317ETB
2418CAN
2519EM
261ASUB
271BESCEscape
281CFS
291DGS
301ERS
311FUS
1277FDELDelete

Handy anchors: A = 65, a = 97 (32 apart, so flip case by toggling bit 5), 0 = 48, and space = 32. The digits 0–9 run consecutively from 48 to 57.

What this does

An ASCII table lists the printable characters 32–126 with their decimal and hex codes, plus the control characters 0–31 and 127.

How to use it

  1. Find a character or code.
  2. Read its decimal and hex value.
  3. Copy the value with one tap.
  4. Use it in code or data.

Example

Capital A is decimal 65, hex 0x41.

Sources & methodology

Last updated .

Frequently asked questions

What is ASCII?

ASCII maps characters to the numbers 0–127. Codes 0–31 and 127 are non-printing control characters; 32–126 are the printable letters, digits, and symbols.

Is ASCII the same as Unicode?

The first 128 Unicode code points are identical to ASCII, and UTF-8 encodes them as single bytes, so ASCII values are a subset of Unicode.

How do I convert between upper and lower case?

Uppercase A is 65 and lowercase a is 97, exactly 32 apart. Toggling bit 5 (adding or subtracting 32) flips the case of a letter.