ASCII Table Reference

Beginner
6 min read
Updated: Oct 2026
Character codes

What Is the ASCII Table?

The ASCII table maps characters to numbers. ASCII stands for American Standard Code for Information Interchange—an early encoding standard from the 1960s that still underpins English text on computers and the web.

Remember
Keyboard "A"  →  computer stores 65

Standard ASCII:  0–127
Printable:       32–126
Control:         0–31 and 127
Extended (common): 128–255 (encoding-dependent)

When you type A, the computer stores 65, not the letter shape. The ASCII table is the dictionary between numbers and characters.

What Does the ASCII Table Contain?

Standard ASCII has 128 characters (0–127). Many references also list extended codes 128–255.

Range (Dec)TypeExamples
0–31Control charactersNUL (0), TAB (9), LF (10), CR (13), ESC (27)
32SpaceFirst printable character
48–57Digits0 through 9
65–90Uppercase lettersA (65) through Z (90)
97–122Lowercase lettersa (97) through z (122)
127ControlDEL (delete)
128–255Extended ASCIIVaries by encoding

Decimal, Hexadecimal & Octal

The same code can be written in different bases. Hex is common because it fits bytes cleanly.

CharacterDecimalHexOctal
A6541101
a9761141
0483060
Space322040
New line (LF)100A012
BaseMeaning
DecimalBase 10 — everyday numbers (65 for A)
HexadecimalBase 16 — 0–9 and A–F (41 for A)
OctalBase 8 — still seen in older Unix contexts

Full ASCII Table (0–255)

Search by decimal, hex, character, or description. For a filterable tool with copy buttons, use the Interactive ASCII Tool (0–127).

Codes 128–255 depend on the encoding—treat them as a reference, not a universal map.

DecHexOctCharDescription
000000^@Null (NUL)
101001^AStart of heading (SOH)
202002^BStart of text (STX)
303003^CEnd of text (ETX)
404004^DEnd of transmission (EOT)
505005^EEnquiry (ENQ)
606006^FAcknowledge (ACK)
707007^GBell (BEL)
808010^HBackspace (BS)
909011^IHorizontal tab (HT)
100A012^JLine feed (LF)
110B013^KVertical tab (VT)
120C014^LNew page/form feed (FF)
130D015^MCarriage return (CR)
140E016^NShift out (SO)
150F017^OShift in (SI)
1610020^PData link escape (DLE)
1711021^QDevice control 1 (DC1)
1812022^RDevice control 2 (DC2)
1913023^SDevice control 3 (DC3)
2014024^TDevice control 4 (DC4)
2115025^UNegative acknowledge (NAK)
2216026^VSynchronous idle (SYN)
2317027^WEnd of transmission block (ETB)
2418030^XCancel (CAN)
2519031^YEnd of medium (EM)
261A032^ZSubstitute (SUB)
271B033^[Escape (ESC)
281C034^\File separator (FS)
291D035^]Group separator (GS)
301E036^^Record separator (RS)
311F037^_Unit separator (US)
3220040Space
3321041!Exclamation mark
3422042"Quotation mark/Double quote
3523043#Number sign
3624044$Dollar sign
3725045%Percent sign
3826046&Ampersand
3927047'Apostrophe/Single quote
4028050(Left parenthesis
4129051)Right parenthesis
422A052*Asterisk
432B053+Plus sign
442C054,Comma
452D055-Hyphen/Minus
462E056.Full stop/Period
472F057/Solidus/Slash
48300600Digit zero
49310611Digit one
50320622Digit two
51330633Digit three
52340644Digit four
53350655Digit five
54360666Digit six
55370677Digit seven
56380708Digit eight
57390719Digit nine
583A072:Colon
593B073;Semicolon
603C074<Less-than sign
613D075=Equal/Equality sign
623E076>Greater-than sign
633F077?Question mark
6440100@Commercial at/At sign
6541101ALatin capital letter A
6642102BLatin capital letter B
6743103CLatin capital letter C
6844104DLatin capital letter D
6945105ELatin capital letter E
7046106FLatin capital letter F
7147107GLatin capital letter G
7248110HLatin capital letter H
7349111ILatin capital letter I
744A112JLatin capital letter J
754B113KLatin capital letter K
764C114LLatin capital letter L
774D115MLatin capital letter M
784E116NLatin capital letter N
794F117OLatin capital letter O
8050120PLatin capital letter P
8151121QLatin capital letter Q
8252122RLatin capital letter R
8353123SLatin capital letter S
8454124TLatin capital letter T
8555125ULatin capital letter U
8656126VLatin capital letter V
8757127WLatin capital letter W
8858130XLatin capital letter X
8959131YLatin capital letter Y
905A132ZLatin capital letter Z
915B133[Left square bracket
925C134\Reverse solidus/Backslash
935D135]Right square bracket
945E136^Circumflex accent/Caret
955F137_Underscore/Low line
9660140`Grave accent
9761141aLatin small letter a
9862142bLatin small letter b
9963143cLatin small letter c
10064144dLatin small letter d
10165145eLatin small letter e
10266146fLatin small letter f
10367147gLatin small letter g
10468150hLatin small letter h
10569151iLatin small letter i
1066A152jLatin small letter j
1076B153kLatin small letter k
1086C154lLatin small letter l
1096D155mLatin small letter m
1106E156nLatin small letter n
1116F157oLatin small letter o
11270160pLatin small letter p
11371161qLatin small letter q
11472162rLatin small letter r
11573163sLatin small letter s
11674164tLatin small letter t
11775165uLatin small letter u
11876166vLatin small letter v
11977167wLatin small letter w
12078170xLatin small letter x
12179171yLatin small letter y
1227A172zLatin small letter z
1237B173{Left curly bracket
1247C174|Vertical line/Vertical bar
1257D175}Right curly bracket
1267E176~Tilde
1277F177DELDelete (DEL)
12880200
12981201
13082202
13183203
13284204
13385205
13486206
13587207
13688210
13789211
1388A212
1398B213
1408C214
1418D215
1428E216
1438F217
14490220
14591221
14692222
14793223
14894224
14995225
15197227
15298230
15399231
1549A232
1559B233
1569C234
1579D235
1589E236
1599F237
160A0240No-break space
161A1241¡Inverted exclamation mark
162A2242¢Cent sign
163A3243£Pound sign
164A4244¤Currency sign
165A5245¥Yen/Yuan sign
166A6246¦Broken bar
167A7247§Section sign
168A8250¨Diaeresis
169A9251©Copyright sign
170AA252ªFeminine ordinal indicator
171AB253«Left-pointing double angle quotation mark
172AC254¬Not sign
173AD255Soft hyphen
174AE256®Registered trademark sign
175AF257¯Macron
176B0260°Degree sign
177B1261±Plus-minus sign
178B2262²Superscript two
179B3263³Superscript three
180B4264´Acute accent
181B5265µMicro sign (mu)
182B6266Pilcrow sign
183B7267·Middle dot
184B8270¸Cedilla
185B9271¹Superscript one
186BA272ºMasculine ordinal indicator
187BB273»Right-pointing double angle quotation mark
188BC274¼Vulgar fraction one quarter
189BD275½Vulgar fraction one half
190BE276¾Vulgar fraction three quarters
191BF277¿Inverted question mark
192C0300ÀLatin capital letter A with grave
193C1301ÁLatin capital letter A with acute
194C2302ÂLatin capital letter A with circumflex
195C3303ÃLatin capital letter A with tilde
196C4304ÄLatin capital letter A with diaeresis
197C5305ÅLatin capital letter A with ring above
198C6306ÆLatin capital letter AE
199C7307ÇLatin capital letter C with cedilla
200C8310ÈLatin capital letter E with grave
201C9311ÉLatin capital letter E with acute
202CA312ÊLatin capital letter E with circumflex
203CB313ËLatin capital letter E with diaeresis
204CC314ÌLatin capital letter I with grave
205CD315ÍLatin capital letter I with acute
206CE316ÎLatin capital letter I with circumflex
207CF317ÏLatin capital letter I with diaeresis
208D0320ÐLatin capital letter ETH
209D1321ÑLatin capital letter N with tilde
210D2322ÒLatin capital letter O with grave
211D3323ÓLatin capital letter O with acute
212D4324ÔLatin capital letter O with circumflex
213D5325ÕLatin capital letter O with tilde
214D6326ÖLatin capital letter O with diaeresis
215D7327×Multiplication sign
216D8330ØLatin capital letter O with stroke
217D9331ÙLatin capital letter U with grave
218DA332ÚLatin capital letter U with acute
219DB333ÛLatin capital letter U with circumflex
220DC334ÜLatin capital letter U with diaeresis
221DD335ÝLatin capital letter Y with acute
222DE336ÞLatin capital letter THORN
223DF337ßLatin small letter sharp s
224E0340àLatin small letter a with grave
225E1341áLatin small letter a with acute
226E2342âLatin small letter a with circumflex
227E3343ãLatin small letter a with tilde
228E4344äLatin small letter a with diaeresis
229E5345åLatin small letter a with ring above
230E6346æLatin small letter ae
231E7347çLatin small letter c with cedilla
232E8350èLatin small letter e with grave
233E9351éLatin small letter e with acute
234EA352êLatin small letter e with circumflex
235EB353ëLatin small letter e with diaeresis
236EC354ìLatin small letter i with grave
237ED355íLatin small letter i with acute
238EE356îLatin small letter i with circumflex
239EF357ïLatin small letter i with diaeresis
240F0360ðLatin small letter eth
241F1361ñLatin small letter n with tilde
242F2362òLatin small letter o with grave
243F3363óLatin small letter o with acute
244F4364ôLatin small letter o with circumflex
245F5365õLatin small letter o with tilde
246F6366öLatin small letter o with diaeresis
247F7367÷Division sign/Obelus
248F8370øLatin small letter o with stroke
249F9371ùLatin small letter u with grave
250FA372úLatin small letter u with acute
251FB373ûLatin small letter u with circumflex
252FC374üLatin small letter u with diaeresis
253FD375ýLatin small letter y with acute
254FE376þLatin small letter thorn
255FF377ÿLatin small letter y with diaeresis

ASCII vs Unicode

Modern web text almost always uses Unicode (UTF-8). ASCII is still the first chapter of that story.

ASCIIUnicode / UTF-8
128 standard charactersOver a million code points
English letters, digits, symbolsAll languages, emoji, math symbols
One byte per characterASCII stays one byte; others use more
Legacy foundationWeb default encoding today

Unicode code points 0–127 match ASCII. A plain ASCII file is valid UTF-8. Prefer <meta charset="UTF-8"> on every HTML page.

Use ASCII Codes in HTML and JavaScript

Numeric entities in HTML and charCodeAt / fromCharCode in JavaScript are the everyday tools.

HTML
<p>Letter A: &#65;</p>
<p>Same letter (hex): &#x41;</p>
<p>Copyright: &#169;</p>
Try It Yourself
JavaScript
console.log("A".charCodeAt(0));       // 65
console.log(String.fromCharCode(65)); // "A"
console.log("a".charCodeAt(0));       // 97
Try It Yourself

How It Works

1. HTML entities. &#65; is decimal; &#x41; is hex. The browser shows the character for that code.

2. JavaScript lookup. charCodeAt(0) returns the code for a character; fromCharCode builds a character from a code.

3. Same mapping. Both paths use the ASCII/Unicode number for A (65). Named entities are covered in HTML Entities.

Common ASCII Codes

Codes you will meet often while debugging text and protocols:

CharacterDecHexNotes
Space3220First printable character
0–948–5730–39Digits
A–Z65–9041–5AUppercase letters
a–z97–12261–7ALowercase letters
Tab909Horizontal tab (HT)
New line100ALine feed (LF)
Carriage return130DOften paired with LF on Windows

Key Takeaways

  • ASCII maps characters to numbers—standard codes are 0–127.
  • Printable range: 32–126; control codes are 0–31 and 127.
  • Remember: A = 65 (hex 41); a = 97 (hex 61).
  • Today: use UTF-8; it includes ASCII as its first 128 codes.

One line: ASCII is the number dictionary for basic text—next, learn HTML entities or browse MIME types.

Frequently Asked Questions

An ASCII table lists every character in the American Standard Code for Information Interchange with its numeric code in decimal, hexadecimal, and often octal. Computers store text as these numbers.
Standard ASCII defines 128 characters numbered 0 through 127. Codes 0–31 and 127 are control characters. Codes 32–126 are printable characters.
Extended ASCII usually means codes 128–255 for extra symbols and accented letters. The exact set depends on the encoding. Modern web pages use UTF-8, which includes ASCII as its first 128 codes.
Uppercase A is decimal 65 (hex 41). Lowercase a is decimal 97 (hex 61). Uppercase letters are 65–90; lowercase are 97–122.
Use numeric character references: &#65; (decimal) or &#x41; (hex) for A. Named entities like &copy; cover some common symbols. See the HTML Entities tutorial for more.
Unicode is much larger. The first 128 Unicode code points match ASCII. UTF-8 stores ASCII characters in one byte, so plain ASCII text is valid UTF-8.

Did you know?

Standard ASCII uses codes 0–127. Code 65 is uppercase A; code 97 is lowercase a. In HTML write &#65; or &#x41; to display A.

Next: MIME Types

Learn the media type strings browsers and servers use for files.

MIME types →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful