ASCII table

All 128 ASCII codes (0–127) with decimal, hexadecimal, octal, binary, and the character or control-code name.

Tool processing runs in your browser — your pastes/files are not uploaded to our servers for processing.Details

DecHexOctBinaryChar
000000000000NUL
101100000001SOH
202200000010STX
303300000011ETX
404400000100EOT
505500000101ENQ
606600000110ACK
707700000111BEL
8081000001000BS
9091100001001HT (tab)
100A1200001010LF (newline)
110B1300001011VT
120C1400001100FF
130D1500001101CR
140E1600001110SO
150F1700001111SI
16102000010000DLE
17112100010001DC1
18122200010010DC2
19132300010011DC3
20142400010100DC4
21152500010101NAK
22162600010110SYN
23172700010111ETB
24183000011000CAN
25193100011001EM
261A3200011010SUB
271B3300011011ESC
281C3400011100FS
291D3500011101GS
301E3600011110RS
311F3700011111US
32204000100000Space
33214100100001!
34224200100010"
35234300100011#
36244400100100$
37254500100101%
38264600100110&
39274700100111'
40285000101000(
41295100101001)
422A5200101010*
432B5300101011+
442C5400101100,
452D5500101101-
462E5600101110.
472F5700101111/
483060001100000
493161001100011
503262001100102
513363001100113
523464001101004
533565001101015
543666001101106
553767001101117
563870001110008
573971001110019
583A7200111010:
593B7300111011;
603C7400111100<
613D7500111101=
623E7600111110>
633F7700111111?
644010001000000@
654110101000001A
664210201000010B
674310301000011C
684410401000100D
694510501000101E
704610601000110F
714710701000111G
724811001001000H
734911101001001I
744A11201001010J
754B11301001011K
764C11401001100L
774D11501001101M
784E11601001110N
794F11701001111O
805012001010000P
815112101010001Q
825212201010010R
835312301010011S
845412401010100T
855512501010101U
865612601010110V
875712701010111W
885813001011000X
895913101011001Y
905A13201011010Z
915B13301011011[
925C13401011100\
935D13501011101]
945E13601011110^
955F13701011111_
966014001100000`
976114101100001a
986214201100010b
996314301100011c
1006414401100100d
1016514501100101e
1026614601100110f
1036714701100111g
1046815001101000h
1056915101101001i
1066A15201101010j
1076B15301101011k
1086C15401101100l
1096D15501101101m
1106E15601101110n
1116F15701101111o
1127016001110000p
1137116101110001q
1147216201110010r
1157316301110011s
1167416401110100t
1177516501110101u
1187616601110110v
1197716701110111w
1207817001111000x
1217917101111001y
1227A17201111010z
1237B17301111011{
1247C17401111100|
1257D17501111101}
1267E17601111110~
1277F17701111111DEL

Related: number base converter · hex to decimal · base64 · url encode

Frequently asked questions

What is the ASCII code for "A"?

Uppercase A is 65 in decimal (0x41 hex, 0o101 octal). Lowercase a is 97 (0x61).

How many ASCII characters are there?

Standard ASCII defines 128 codes (0–127): 33 control codes (0–31 plus 127) and 95 printable characters (32–126, including space).

What is the difference between ASCII and Unicode?

ASCII covers 0–127. Unicode is a superset that keeps those same values for the first 128 code points and adds hundreds of thousands more for other scripts and symbols.

What is ASCII 0 / NUL?

Code 0 is NUL, the null character — often used to terminate strings in C. It is a control code, not a printable character.