Skip to content
OnlineToolStudio

ASCII Table

runs in your browserno sign-upfree

Full ASCII table with decimal, hex, octal, binary and HTML codes for all 256 characters, control code names and extended ASCII. Search and copy.

256 of 256 codes · Click a character for all its codes. Convert whole words with Text to ASCII.
DecHexOctBinaryCharHTMLDescription
Control characters (0–31)
00000000000000�NULNull\0Marks the end of a string in C.
10100100000001SOHStart of heading
20200200000010STXStart of text
30300300000011ETXEnd of textCtrl+C in a terminal sends this to stop a program.
40400400000100EOTEnd of transmissionCtrl+D: end of input in Unix terminals.
50500500000101ENQEnquiry
60600600000110ACKAcknowledge
70700700000111BELBell\aMakes a terminal beep.
80801000001000BSBackspace\b
90901100001001		HTHorizontal tab\tThe Tab key.
100A01200001010

LFLine feed (new line)\nLine ending on Linux and macOS.
110B01300001011VTVertical tab\v
120C01400001100FFForm feed (new page)\f
130D01500001101
CRCarriage return\rWindows ends lines with CR + LF (\r\n).
140E01600001110SOShift out
150F01700001111SIShift in
161002000010000DLEData link escape
171102100010001DC1Device control 1 (XON)Resumes output paused with XOFF.
181202200010010DC2Device control 2
191302300010011DC3Device control 3 (XOFF)Ctrl+S: pauses terminal output.
201402400010100DC4Device control 4
211502500010101NAKNegative acknowledge
221602600010110SYNSynchronous idle
231702700010111ETBEnd of transmission block
241803000011000CANCancel
251903100011001EMEnd of medium
261A03200011010SUBSubstituteCtrl+Z: end of file in old Windows/DOS text files.
271B03300011011ESCEscape\eStarts terminal colour and cursor codes (\e[31m = red).
281C03400011100FSFile separator
291D03500011101GSGroup separator
301E03600011110RSRecord separator
311F03700011111USUnit separator
Printable characters (32–126) and DEL (127)
322004000100000 SPSpace
332104100100001!!Exclamation mark
342204200100010""Quotation mark (double quote)
352304300100011##Number sign (hash)
362404400100100$$Dollar sign
372504500100101%%Percent sign
382604600100110&&Ampersand
392704700100111''Apostrophe (single quote)
402805000101000((Left parenthesis
412905100101001))Right parenthesis
422A05200101010**Asterisk
432B05300101011++Plus sign
442C05400101100,,Comma
452D05500101101-Hyphen-minus
462E05600101110..Full stop (period, dot)
472F05700101111//Slash (solidus)
4830060001100000Digit zero
4931061001100011Digit one
5032062001100102Digit two
5133063001100113Digit three
5234064001101004Digit four
5335065001101015Digit five
5436066001101106Digit six
5537067001101117Digit seven
5638070001110008Digit eight
5739071001110019Digit nine
583A07200111010::Colon
593B07300111011&#59;;Semicolon
603C07400111100<<Less-than sign
613D07500111101==Equals sign
623E07600111110>>Greater-than sign
633F07700111111??Question mark
644010001000000@@At sign
654110101000001ALatin capital letter A
664210201000010BLatin capital letter B
674310301000011CLatin capital letter C
684410401000100DLatin capital letter D
694510501000101ELatin capital letter E
704610601000110FLatin capital letter F
714710701000111GLatin capital letter G
724811001001000HLatin capital letter H
734911101001001ILatin capital letter I
744A11201001010JLatin capital letter J
754B11301001011KLatin capital letter K
764C11401001100LLatin capital letter L
774D11501001101MLatin capital letter M
784E11601001110NLatin capital letter N
794F11701001111OLatin capital letter O
805012001010000PLatin capital letter P
815112101010001QLatin capital letter Q
825212201010010RLatin capital letter R
835312301010011SLatin capital letter S
845412401010100TLatin capital letter T
855512501010101ULatin capital letter U
865612601010110VLatin capital letter V
875712701010111WLatin capital letter W
885813001011000XLatin capital letter X
895913101011001YLatin capital letter Y
905A13201011010ZLatin capital letter Z
915B13301011011[[Left square bracket
925C13401011100\\Backslash (reverse solidus)
935D13501011101]]Right square bracket
945E13601011110^^Caret (circumflex accent)
955F13701011111__Underscore (low line)
966014001100000``Grave accent (backtick)
976114101100001aLatin small letter a
986214201100010bLatin small letter b
996314301100011cLatin small letter c
1006414401100100dLatin small letter d
1016514501100101eLatin small letter e
1026614601100110fLatin small letter f
1036714701100111gLatin small letter g
1046815001101000hLatin small letter h
1056915101101001iLatin small letter i
1066A15201101010jLatin small letter j
1076B15301101011kLatin small letter k
1086C15401101100lLatin small letter l
1096D15501101101mLatin small letter m
1106E15601101110nLatin small letter n
1116F15701101111oLatin small letter o
1127016001110000pLatin small letter p
1137116101110001qLatin small letter q
1147216201110010rLatin small letter r
1157316301110011sLatin small letter s
1167416401110100tLatin small letter t
1177516501110101uLatin small letter u
1187616601110110vLatin small letter v
1197716701110111wLatin small letter w
1207817001111000xLatin small letter x
1217917101111001yLatin small letter y
1227A17201111010zLatin small letter z
1237B17301111011{{Left curly brace
1247C17401111100||Vertical bar (pipe)
1257D17501111101}}Right curly brace
1267E17601111110~Tilde
1277F17701111111DELDelete
Extended ASCII (128–255)
1288020010000000€€Euro sign
1298120110000001Not used in Windows-1252
1308220210000010‚‚Single low-9 quotation mark
1318320310000011ƒƒLatin small letter f with hook
1328420410000100„„Double low-9 quotation mark
1338520510000101……Horizontal ellipsis
1348620610000110††Dagger
1358720710000111‡‡Double dagger
1368821010001000ˆˆModifier letter circumflex accent
1378921110001001‰‰Per mille sign
1388A21210001010ŠŠLatin capital letter S with caron
1398B21310001011‹‹Single left-pointing angle quotation mark
1408C21410001100ŒŒLatin capital ligature oe
1418D21510001101Not used in Windows-1252
1428E21610001110ŽŽLatin capital letter Z with caron
1438F21710001111Not used in Windows-1252
1449022010010000Not used in Windows-1252
1459122110010001‘‘Left single quotation mark
1469222210010010’’Right single quotation mark
1479322310010011““Left double quotation mark
1489422410010100””Right double quotation mark
1499522510010101••Bullet
1509622610010110––En dash
1519722710010111——Em dash
1529823010011000˜˜Small tilde
1539923110011001™™Trade mark sign
1549A23210011010ššLatin small letter s with caron
1559B23310011011››Single right-pointing angle quotation mark
1569C23410011100œœLatin small ligature oe
1579D23510011101Not used in Windows-1252
1589E23610011110žžLatin small letter z with caron
1599F23710011111ŸŸLatin capital letter Y with diaeresis
160A024010100000  NBSPNon-breaking space
161A124110100001¡¡Inverted exclamation mark
162A224210100010¢¢Cent sign
163A324310100011££Pound sign
164A424410100100¤¤Currency sign
165A524510100101¥¥Yen sign
166A624610100110¦¦Broken bar
167A724710100111§§Section sign
168A825010101000¨¨Diaeresis
169A925110101001©©Copyright sign
170AA25210101010ªªFeminine ordinal indicator
171AB25310101011««Left-pointing double angle quotation mark
172AC25410101100¬¬Not sign
173AD25510101101­­SHYSoft hyphen
174AE25610101110®®Registered sign
175AF25710101111¯¯Macron
176B026010110000°°Degree sign
177B126110110001±±Plus-minus sign
178B226210110010²²Superscript two
179B326310110011³³Superscript three
180B426410110100´´Acute accent
181B526510110101µµMicro sign
182B626610110110¶¶Pilcrow sign
183B726710110111··Middle dot
184B827010111000¸¸Cedilla
185B927110111001¹¹Superscript one
186BA27210111010ººMasculine ordinal indicator
187BB27310111011»»Right-pointing double angle quotation mark
188BC27410111100¼¼Vulgar fraction one quarter
189BD27510111101½½Vulgar fraction one half
190BE27610111110¾¾Vulgar fraction three quarters
191BF27710111111¿¿Inverted question mark
192C030011000000ÀÀLatin capital letter A with grave
193C130111000001ÁÁLatin capital letter A with acute
194C230211000010ÂÂLatin capital letter A with circumflex
195C330311000011ÃÃLatin capital letter A with tilde
196C430411000100ÄÄLatin capital letter A with diaeresis
197C530511000101ÅÅLatin capital letter A with ring above
198C630611000110ÆÆLatin capital letter ae
199C730711000111ÇÇLatin capital letter C with cedilla
200C831011001000ÈÈLatin capital letter E with grave
201C931111001001ÉÉLatin capital letter E with acute
202CA31211001010ÊÊLatin capital letter E with circumflex
203CB31311001011ËËLatin capital letter E with diaeresis
204CC31411001100ÌÌLatin capital letter I with grave
205CD31511001101ÍÍLatin capital letter I with acute
206CE31611001110ÎÎLatin capital letter I with circumflex
207CF31711001111ÏÏLatin capital letter I with diaeresis
208D032011010000ÐÐLatin capital letter eth
209D132111010001ÑÑLatin capital letter N with tilde
210D232211010010ÒÒLatin capital letter O with grave
211D332311010011ÓÓLatin capital letter O with acute
212D432411010100ÔÔLatin capital letter O with circumflex
213D532511010101ÕÕLatin capital letter O with tilde
214D632611010110ÖÖLatin capital letter O with diaeresis
215D732711010111××Multiplication sign
216D833011011000ØØLatin capital letter O with stroke
217D933111011001ÙÙLatin capital letter U with grave
218DA33211011010ÚÚLatin capital letter U with acute
219DB33311011011ÛÛLatin capital letter U with circumflex
220DC33411011100ÜÜLatin capital letter U with diaeresis
221DD33511011101ÝÝLatin capital letter Y with acute
222DE33611011110ÞÞLatin capital letter thorn
223DF33711011111ßßLatin small letter sharp s
224E034011100000ààLatin small letter a with grave
225E134111100001ááLatin small letter a with acute
226E234211100010ââLatin small letter a with circumflex
227E334311100011ããLatin small letter a with tilde
228E434411100100ääLatin small letter a with diaeresis
229E534511100101ååLatin small letter a with ring above
230E634611100110ææLatin small letter ae
231E734711100111ççLatin small letter c with cedilla
232E835011101000èèLatin small letter e with grave
233E935111101001ééLatin small letter e with acute
234EA35211101010êêLatin small letter e with circumflex
235EB35311101011ëëLatin small letter e with diaeresis
236EC35411101100ììLatin small letter i with grave
237ED35511101101ííLatin small letter i with acute
238EE35611101110îîLatin small letter i with circumflex
239EF35711101111ïïLatin small letter i with diaeresis
240F036011110000ððLatin small letter eth
241F136111110001ññLatin small letter n with tilde
242F236211110010òòLatin small letter o with grave
243F336311110011óóLatin small letter o with acute
244F436411110100ôôLatin small letter o with circumflex
245F536511110101õõLatin small letter o with tilde
246F636611110110ööLatin small letter o with diaeresis
247F736711110111÷÷Division sign
248F837011111000øøLatin small letter o with stroke
249F937111111001ùùLatin small letter u with grave
250FA37211111010úúLatin small letter u with acute
251FB37311111011ûûLatin small letter u with circumflex
252FC37411111100üüLatin small letter u with diaeresis
253FD37511111101ýýLatin small letter y with acute
254FE37611111110þþLatin small letter thorn
255FF37711111111ÿÿLatin small letter y with diaeresis

About this tool

ASCII gives every basic letter, digit, punctuation mark and control code a number from 0 to 127. This table lists all of them — plus the extended codes 128–255 — with the decimal, hexadecimal, octal and binary value, the HTML code, and a plain description. Control characters such as LF, CR and TAB also show their escape sequence (\n, \r, \t) and caret notation. Search by number in any base, by character or by name, and click a character to copy any of its codes.

How to use

  1. Scroll the table, or type in the search box: a number (65, 0x41, 01000001), a character (@) or a name (line feed).
  2. Use Show to see only the control, printable or extended characters, or switch to Chart for a compact grid.
  3. Click a character to see all its codes, and copy the one you need.

FAQ

What is the ASCII code of A, a, 0 and space?

Capital A is 65 (hex 41), small a is 97 (hex 61), the digit 0 is 48 (hex 30) and space is 32 (hex 20). Small letters are always 32 more than their capitals, which is why changing case is a single bit flip.

What are control characters?

Codes 0–31 and 127 don’t print anything; they control devices and text layout. The ones you meet today are TAB (9, \t), LF (10, \n — a new line on Linux and macOS), CR (13, \r — Windows ends lines with CR LF), ESC (27, starts terminal colour codes) and NUL (0, the end of a C string).

What is extended ASCII?

ASCII itself only goes to 127. Codes 128–255 come from 8-bit character sets that added accented letters and symbols. The most common is Windows-1252, used by most “extended ASCII” tables; ISO-8859-1 (Latin-1) is the same except that 128–159 are invisible control codes. Switch between them with “128–255 as”.

Is ASCII the same as UTF-8 and Unicode?

Codes 0–127 are identical in ASCII, UTF-8 and Unicode, so plain English text is the same in all three. Beyond that they differ: in UTF-8 an “extended” character such as é is stored as two bytes (195 169), not one. Use the Unicode Characters page for everything beyond ASCII.

Why do the HTML codes for 128–159 differ from the ASCII codes?

HTML numeric codes use Unicode code points. In Windows-1252, code 128 is the euro sign, which is U+20AC in Unicode — so its HTML code is €, not €.

Related tools

All tools