ASCII Table

A searchable ASCII table (codes 0–127, or 0–255 with Windows-1252) showing decimal, octal, hex, binary, HTML entity and a description of every character.

Showing 128 of 128Showing 128 of 128
DecOctHexBinaryCharacterHTMLDescriptionAlt code
00000000000000NULNull character
10010100000001SOHStart of heading
20020200000010STXStart of text
30030300000011ETXEnd of text
40040400000100EOTEnd of transmission
50050500000101ENQEnquiry
60060600000110ACKAcknowledge
70070700000111BELBell
80100800001000BSBackspace
90110900001001HT	 	Horizontal tab
100120A00001010LF
 
Line feed
110130B00001011VTVertical tab
120140C00001100FFForm feed
130150D00001101CR
Carriage return
140160E00001110SOShift out
150170F00001111SIShift in
160201000010000DLEData link escape
170211100010001DC1Device control 1 (XON)
180221200010010DC2Device control 2
190231300010011DC3Device control 3 (XOFF)
200241400010100DC4Device control 4
210251500010101NAKNegative acknowledge
220261600010110SYNSynchronous idle
230271700010111ETBEnd of transmission block
240301800011000CANCancel
250311900011001EMEnd of medium
260321A00011010SUBSubstitute
270331B00011011ESCEscape
280341C00011100FSFile separator
290351D00011101GSGroup separator
300361E00011110RSRecord separator
310371F00011111USUnit separator
320402000100000Space SpaceAlt+32
330412100100001!! !Exclamation markAlt+33
340422200100010"" "Quotation markAlt+34
350432300100011## #Number sign (hash)Alt+35
360442400100100$$ $Dollar signAlt+36
370452500100101%% %Percent signAlt+37
380462600100110&& &AmpersandAlt+38
390472700100111'' 'ApostropheAlt+39
400502800101000(( (Left parenthesisAlt+40
410512900101001)) )Right parenthesisAlt+41
420522A00101010** *AsteriskAlt+42
430532B00101011++ +Plus signAlt+43
440542C00101100,, ,CommaAlt+44
450552D00101101--Hyphen-minusAlt+45
460562E00101110.. .Full stop (period)Alt+46
470572F00101111// /Solidus (slash)Alt+47
48060300011000000Digit zeroAlt+48
49061310011000111Digit oneAlt+49
50062320011001022Digit twoAlt+50
51063330011001133Digit threeAlt+51
52064340011010044Digit fourAlt+52
53065350011010155Digit fiveAlt+53
54066360011011066Digit sixAlt+54
55067370011011177Digit sevenAlt+55
56070380011100088Digit eightAlt+56
57071390011100199Digit nineAlt+57
580723A00111010:: :ColonAlt+58
590733B00111011;&#59; ;SemicolonAlt+59
600743C00111100<&#60; &lt;Less-than signAlt+60
610753D00111101=&#61; &equals;Equals signAlt+61
620763E00111110>&#62; &gt;Greater-than signAlt+62
630773F00111111?&#63; &quest;Question markAlt+63
641004001000000@&#64; &commat;Commercial atAlt+64
651014101000001A&#65;Latin capital letter AAlt+65
661024201000010B&#66;Latin capital letter BAlt+66
671034301000011C&#67;Latin capital letter CAlt+67
681044401000100D&#68;Latin capital letter DAlt+68
691054501000101E&#69;Latin capital letter EAlt+69
701064601000110F&#70;Latin capital letter FAlt+70
711074701000111G&#71;Latin capital letter GAlt+71
721104801001000H&#72;Latin capital letter HAlt+72
731114901001001I&#73;Latin capital letter IAlt+73
741124A01001010J&#74;Latin capital letter JAlt+74
751134B01001011K&#75;Latin capital letter KAlt+75
761144C01001100L&#76;Latin capital letter LAlt+76
771154D01001101M&#77;Latin capital letter MAlt+77
781164E01001110N&#78;Latin capital letter NAlt+78
791174F01001111O&#79;Latin capital letter OAlt+79
801205001010000P&#80;Latin capital letter PAlt+80
811215101010001Q&#81;Latin capital letter QAlt+81
821225201010010R&#82;Latin capital letter RAlt+82
831235301010011S&#83;Latin capital letter SAlt+83
841245401010100T&#84;Latin capital letter TAlt+84
851255501010101U&#85;Latin capital letter UAlt+85
861265601010110V&#86;Latin capital letter VAlt+86
871275701010111W&#87;Latin capital letter WAlt+87
881305801011000X&#88;Latin capital letter XAlt+88
891315901011001Y&#89;Latin capital letter YAlt+89
901325A01011010Z&#90;Latin capital letter ZAlt+90
911335B01011011[&#91; &lsqb;Left square bracketAlt+91
921345C01011100\&#92; &bsol;Reverse solidus (backslash)Alt+92
931355D01011101]&#93; &rsqb;Right square bracketAlt+93
941365E01011110^&#94; &Hat;Circumflex accent (caret)Alt+94
951375F01011111_&#95; &lowbar;Low line (underscore)Alt+95
961406001100000`&#96; &grave;Grave accent (backtick)Alt+96
971416101100001a&#97;Latin small letter AAlt+97
981426201100010b&#98;Latin small letter BAlt+98
991436301100011c&#99;Latin small letter CAlt+99
1001446401100100d&#100;Latin small letter DAlt+100
1011456501100101e&#101;Latin small letter EAlt+101
1021466601100110f&#102;Latin small letter FAlt+102
1031476701100111g&#103;Latin small letter GAlt+103
1041506801101000h&#104;Latin small letter HAlt+104
1051516901101001i&#105;Latin small letter IAlt+105
1061526A01101010j&#106;Latin small letter JAlt+106
1071536B01101011k&#107;Latin small letter KAlt+107
1081546C01101100l&#108;Latin small letter LAlt+108
1091556D01101101m&#109;Latin small letter MAlt+109
1101566E01101110n&#110;Latin small letter NAlt+110
1111576F01101111o&#111;Latin small letter OAlt+111
1121607001110000p&#112;Latin small letter PAlt+112
1131617101110001q&#113;Latin small letter QAlt+113
1141627201110010r&#114;Latin small letter RAlt+114
1151637301110011s&#115;Latin small letter SAlt+115
1161647401110100t&#116;Latin small letter TAlt+116
1171657501110101u&#117;Latin small letter UAlt+117
1181667601110110v&#118;Latin small letter VAlt+118
1191677701110111w&#119;Latin small letter WAlt+119
1201707801111000x&#120;Latin small letter XAlt+120
1211717901111001y&#121;Latin small letter YAlt+121
1221727A01111010z&#122;Latin small letter ZAlt+122
1231737B01111011{&#123; &lcub;Left curly bracket (brace)Alt+123
1241747C01111100|&#124; &verbar;Vertical line (pipe)Alt+124
1251757D01111101}&#125; &rcub;Right curly bracket (brace)Alt+125
1261767E01111110~&#126;TildeAlt+126
1271777F01111111DEL&#127;Delete

Alt code: hold Alt and type the number on the numeric keypad (Windows). Above 127 the leading-zero codes type these characters only on a Windows set to a Western language (Windows-1252); a Korean Windows types different ones.

Source: RFC 20 — ASCII format for network interchange (the character set it defines is standardized as ANSI X3.4)

What this ASCII table shows

This is the full 7-bit ASCII set, codes 0 through 127, in one searchable table; tick Include extended ASCII to add codes 128–255 as Windows-1252 has them. Each row lists the decimal code, the three-digit octal value, the two-digit hexadecimal value, the 8-bit binary value, the character itself, its HTML entity (the number and, where there is one, the name) and a worded description such as Latin capital letter A. Control codes 0–31 and 127 are shown by their standard abbreviation (NUL, ESC, DEL, and so on) because they have no printable glyph, 32 is labelled Space, and the printable characters 33–126 show their actual glyph.

How to search

Type a decimal code like 65 to jump to A, or a hex code like 0x41, an octal one like 0o101, or an HTML entity like &gt; or &#65;. Type a single character such as a to find that exact glyph (search is case-sensitive for glyphs), or type a control-code or Space name like NUL or space; a word also searches the descriptions, so tilde finds ~. Every match shows its decimal, octal, hex and binary encodings side by side, and a copy button puts the character on your clipboard.

Frequently asked questions

Why do codes 0–31 and 127 show a name instead of a character?

Those are control codes with no printable glyph, so the table shows their standard abbreviation instead — for example NUL (0), HT (9, tab), LF (10, line feed), ESC (27) and DEL (127).

Is search by decimal or hexadecimal?

Both. Plain digits like 65 are read as a decimal code, while a value with a 0x prefix or hex letters (a–f), such as 0x41 or 1f, is read as a hexadecimal code. Octal works too, written 0o101, and so does an HTML entity like &gt; or &#65;.

Does it cover extended ASCII (128–255)?

Yes, as an option: tick Include extended ASCII and codes 128–255 are added as Windows-1252 has them — the euro sign, curly quotes and dashes at 0x80–0x9F, with the bytes Windows-1252 leaves unassigned marked as such, and the Latin-1 characters above. Each shows the HTML entity of the character it stands for (0x80 is &#8364;, not &#128;). Extended ASCII is not one standard, so the page names the code page it uses, and the setting is kept in the link.

Can I show just one group, copy a row’s codes, or find a Windows Alt code?

Yes. “Show” narrows the table to one group — control codes; space, punctuation and symbols; digits; uppercase; lowercase; and the extended characters when they are on — and is kept in the link like the search. Each row has “Copy row” after the character’s own Copy, and “Copy shown rows” under the table copies every row the search and the group leave; both are tab-separated, so they paste into a spreadsheet as columns. The “Alt code” column gives the Windows Alt code of each printable character — with a leading zero for the Windows-1252 characters above the ASCII range, which type those characters only on a Windows set to a Western language — and none for control codes.