Text to ASCII codes

Type text to see each character's code number in decimal, hex, octal, Unicode U+ notation or HTML entity form.

Printable ASCII table

CodeCharCodeCharCodeCharCodeChar
32space56880P104h
33!57981Q105i
34"58:82R106j
35#59;83S107k
36$60<84T108l
37%61=85U109m
38&62>86V110n
39'63?87W111o
40(64@88X112p
41)65A89Y113q
42*66B90Z114r
43+67C91[115s
44,68D92\116t
45-69E93]117u
46.70F94^118v
47/71G95_119w
48072H96`120x
49173I97a121y
50274J98b122z
51375K99c123{
52476L100d124|
53577M101e125}
54678N102f126~
55779O103g

ASCII defines codes 0–127; 0–31 and 127 are control characters (tab is 9, line feed 10, carriage return 13). Codes above 127 are Unicode code points, which this tool also shows.

Frequently asked questions

What is the ASCII code for A?
Uppercase A is 65 (hex 41); lowercase a is 97 (hex 61).
What is the ASCII code for a space?
32 in decimal, 20 in hex.