Reference

ASCII Table

A complete, searchable ASCII reference covering all 128 standard codes plus the Latin-1 extended set. Every character is listed with its decimal, hexadecimal, octal, and 8-bit binary value, its glyph, HTML entity, and canonical name — and the 33 control codes get a plain-language explanation of what each one does. Filter by control, printable, or extended ranges, search by number, character, or name, and click any value to copy it. The whole table is static and runs in your browser, so it loads instantly and works offline.

  • All 128 standard ASCII codes plus the 128 Latin-1 extended codes
  • Decimal, hex, octal, and 8-bit binary for every character
  • HTML entities (named and numeric) and C escape sequences
  • Plain-language explanations for all 33 control characters
  • Instant search by number, glyph, name, abbreviation, or escape
  • Click any value to copy it — codes, glyphs, and entities

Control characters (0–31, 127)

Non-printing codes that control devices and data flow rather than display a glyph.

Dec Hex Oct Char Abbr Escape Name
0 00 000 ^@ NUL \0 Null Originally padding; now widely used to terminate strings in C and other languages.
1 01 001 ^A SOH Start of Heading Marks the beginning of a message header in old transmission protocols.
2 02 002 ^B STX Start of Text Marks the start of the message body, ending the header begun by SOH.
3 03 003 ^C ETX End of Text Marks the end of the message body; sent by Ctrl+C, which terminals map to interrupt.
4 04 004 ^D EOT End of Transmission Signals the end of a transmission; sent by Ctrl+D, used as end-of-file in Unix shells.
5 05 005 ^E ENQ Enquiry Requests a response or status from the remote station, such as its identity.
6 06 006 ^F ACK Acknowledge Positive response confirming that data was received correctly.
7 07 007 ^G BEL \a Bell Triggers an audible beep or a visual flash; the \a escape in C.
8 08 010 ^H BS \b Backspace Moves the cursor one position back, often to delete the previous character.
9 09 011 ^I HT \t Horizontal Tab Advances to the next horizontal tab stop; the \t escape.
10 0A 012 ^J LF \n Line Feed Moves down one line; the Unix and macOS newline, the \n escape.
11 0B 013 ^K VT \v Vertical Tab Advances to the next vertical tab stop; the \v escape.
12 0C 014 ^L FF \f Form Feed Ejects the page or clears the screen; the \f escape.
13 0D 015 ^M CR \r Carriage Return Returns the cursor to the start of the line; part of the Windows newline, the \r escape.
14 0E 016 ^N SO Shift Out Switches to an alternate character set until Shift In is received.
15 0F 017 ^O SI Shift In Switches back to the standard character set after Shift Out.
16 10 020 ^P DLE Data Link Escape Marks following bytes as control data rather than text in a data link.
17 11 021 ^Q DC1 Device Control 1 Device control, commonly XON to resume paused transmission in flow control.
18 12 022 ^R DC2 Device Control 2 A general-purpose device control code with no fixed modern meaning.
19 13 023 ^S DC3 Device Control 3 Device control, commonly XOFF to pause transmission in flow control.
20 14 024 ^T DC4 Device Control 4 A general-purpose device control code, sometimes used to stop a device.
21 15 025 ^U NAK Negative Acknowledge Negative response indicating data was received with errors; the opposite of ACK.
22 16 026 ^V SYN Synchronous Idle Sent to keep synchronous links in sync when no other data is being transmitted.
23 17 027 ^W ETB End of Transmission Block Marks the end of a block of transmitted data.
24 18 030 ^X CAN Cancel Indicates that the preceding data is in error and should be disregarded.
25 19 031 ^Y EM End of Medium Marks the physical end of a tape or other storage medium.
26 1A 032 ^Z SUB Substitute Replaces a character found to be invalid or in error; used as end-of-file on DOS.
27 1B 033 ^[ ESC \e Escape Introduces an escape sequence; the basis of terminal and ANSI control codes, the \e escape.
28 1C 034 ^\ FS File Separator The coarsest of the four separators, marking a boundary between files.
29 1D 035 ^] GS Group Separator Marks a boundary between groups of records.
30 1E 036 ^^ RS Record Separator Marks a boundary between records within a group.
31 1F 037 ^_ US Unit Separator The finest separator, marking a boundary between fields within a record.
127 7F 177 ^? DEL Delete Originally punched out all holes to delete a character on paper tape; sent by the Delete key.

Printable characters (32–126)

The visible ASCII characters: space, punctuation, digits, and the Latin letters.

Dec Hex Oct Binary Char HTML Name
32 20 040 00100000   Space
33 21 041 00100001 ! ! Exclamation Mark
34 22 042 00100010 " " " Quotation Mark
35 23 043 00100011 # # Number Sign
36 24 044 00100100 $ $ Dollar Sign
37 25 045 00100101 % % Percent Sign
38 26 046 00100110 & & & Ampersand
39 27 047 00100111 ' ' ' Apostrophe
40 28 050 00101000 ( ( Left Parenthesis
41 29 051 00101001 ) ) Right Parenthesis
42 2A 052 00101010 * * Asterisk
43 2B 053 00101011 + + Plus Sign
44 2C 054 00101100 , , Comma
45 2D 055 00101101 - - Hyphen-Minus
46 2E 056 00101110 . . Full Stop
47 2F 057 00101111 / / Solidus (Slash)
48 30 060 00110000 0 0 Digit 0
49 31 061 00110001 1 1 Digit 1
50 32 062 00110010 2 2 Digit 2
51 33 063 00110011 3 3 Digit 3
52 34 064 00110100 4 4 Digit 4
53 35 065 00110101 5 5 Digit 5
54 36 066 00110110 6 6 Digit 6
55 37 067 00110111 7 7 Digit 7
56 38 070 00111000 8 8 Digit 8
57 39 071 00111001 9 9 Digit 9
58 3A 072 00111010 : : Colon
59 3B 073 00111011 ; &#59; Semicolon
60 3C 074 00111100 < &lt; &#60; Less-Than Sign
61 3D 075 00111101 = &#61; Equals Sign
62 3E 076 00111110 > &gt; &#62; Greater-Than Sign
63 3F 077 00111111 ? &#63; Question Mark
64 40 100 01000000 @ &#64; Commercial At
65 41 101 01000001 A &#65; Latin Capital Letter A
66 42 102 01000010 B &#66; Latin Capital Letter B
67 43 103 01000011 C &#67; Latin Capital Letter C
68 44 104 01000100 D &#68; Latin Capital Letter D
69 45 105 01000101 E &#69; Latin Capital Letter E
70 46 106 01000110 F &#70; Latin Capital Letter F
71 47 107 01000111 G &#71; Latin Capital Letter G
72 48 110 01001000 H &#72; Latin Capital Letter H
73 49 111 01001001 I &#73; Latin Capital Letter I
74 4A 112 01001010 J &#74; Latin Capital Letter J
75 4B 113 01001011 K &#75; Latin Capital Letter K
76 4C 114 01001100 L &#76; Latin Capital Letter L
77 4D 115 01001101 M &#77; Latin Capital Letter M
78 4E 116 01001110 N &#78; Latin Capital Letter N
79 4F 117 01001111 O &#79; Latin Capital Letter O
80 50 120 01010000 P &#80; Latin Capital Letter P
81 51 121 01010001 Q &#81; Latin Capital Letter Q
82 52 122 01010010 R &#82; Latin Capital Letter R
83 53 123 01010011 S &#83; Latin Capital Letter S
84 54 124 01010100 T &#84; Latin Capital Letter T
85 55 125 01010101 U &#85; Latin Capital Letter U
86 56 126 01010110 V &#86; Latin Capital Letter V
87 57 127 01010111 W &#87; Latin Capital Letter W
88 58 130 01011000 X &#88; Latin Capital Letter X
89 59 131 01011001 Y &#89; Latin Capital Letter Y
90 5A 132 01011010 Z &#90; Latin Capital Letter Z
91 5B 133 01011011 [ &#91; Left Square Bracket
92 5C 134 01011100 \ &#92; Reverse Solidus (Backslash)
93 5D 135 01011101 ] &#93; Right Square Bracket
94 5E 136 01011110 ^ &#94; Circumflex Accent
95 5F 137 01011111 _ &#95; Low Line (Underscore)
96 60 140 01100000 ` &#96; Grave Accent
97 61 141 01100001 a &#97; Latin Small Letter a
98 62 142 01100010 b &#98; Latin Small Letter b
99 63 143 01100011 c &#99; Latin Small Letter c
100 64 144 01100100 d &#100; Latin Small Letter d
101 65 145 01100101 e &#101; Latin Small Letter e
102 66 146 01100110 f &#102; Latin Small Letter f
103 67 147 01100111 g &#103; Latin Small Letter g
104 68 150 01101000 h &#104; Latin Small Letter h
105 69 151 01101001 i &#105; Latin Small Letter i
106 6A 152 01101010 j &#106; Latin Small Letter j
107 6B 153 01101011 k &#107; Latin Small Letter k
108 6C 154 01101100 l &#108; Latin Small Letter l
109 6D 155 01101101 m &#109; Latin Small Letter m
110 6E 156 01101110 n &#110; Latin Small Letter n
111 6F 157 01101111 o &#111; Latin Small Letter o
112 70 160 01110000 p &#112; Latin Small Letter p
113 71 161 01110001 q &#113; Latin Small Letter q
114 72 162 01110010 r &#114; Latin Small Letter r
115 73 163 01110011 s &#115; Latin Small Letter s
116 74 164 01110100 t &#116; Latin Small Letter t
117 75 165 01110101 u &#117; Latin Small Letter u
118 76 166 01110110 v &#118; Latin Small Letter v
119 77 167 01110111 w &#119; Latin Small Letter w
120 78 170 01111000 x &#120; Latin Small Letter x
121 79 171 01111001 y &#121; Latin Small Letter y
122 7A 172 01111010 z &#122; Latin Small Letter z
123 7B 173 01111011 { &#123; Left Curly Bracket
124 7C 174 01111100 | &#124; Vertical Line
125 7D 175 01111101 } &#125; Right Curly Bracket
126 7E 176 01111110 ~ &#126; Tilde

Extended characters (128–255)

The Latin-1 (ISO-8859-1) upper half — accented letters, symbols, and the C1 control codes.

Codes 128–255 are shown using ISO-8859-1 (Latin-1), where 128–159 are C1 control codes. In Windows-1252 those positions hold printable symbols such as the euro sign instead.

Dec Hex Oct Binary Char HTML Name
128 80 200 10000000 PAD &#128; Padding Character (C1)
129 81 201 10000001 HOP &#129; High Octet Preset (C1)
130 82 202 10000010 BPH &#130; Break Permitted Here (C1)
131 83 203 10000011 NBH &#131; No Break Here (C1)
132 84 204 10000100 IND &#132; Index (C1)
133 85 205 10000101 NEL &#133; Next Line (C1)
134 86 206 10000110 SSA &#134; Start of Selected Area (C1)
135 87 207 10000111 ESA &#135; End of Selected Area (C1)
136 88 210 10001000 HTS &#136; Character Tabulation Set (C1)
137 89 211 10001001 HTJ &#137; Character Tabulation with Justification (C1)
138 8A 212 10001010 VTS &#138; Line Tabulation Set (C1)
139 8B 213 10001011 PLD &#139; Partial Line Forward (C1)
140 8C 214 10001100 PLU &#140; Partial Line Backward (C1)
141 8D 215 10001101 RI &#141; Reverse Line Feed (C1)
142 8E 216 10001110 SS2 &#142; Single-Shift Two (C1)
143 8F 217 10001111 SS3 &#143; Single-Shift Three (C1)
144 90 220 10010000 DCS &#144; Device Control String (C1)
145 91 221 10010001 PU1 &#145; Private Use One (C1)
146 92 222 10010010 PU2 &#146; Private Use Two (C1)
147 93 223 10010011 STS &#147; Set Transmit State (C1)
148 94 224 10010100 CCH &#148; Cancel Character (C1)
149 95 225 10010101 MW &#149; Message Waiting (C1)
150 96 226 10010110 SPA &#150; Start of Protected Area (C1)
151 97 227 10010111 EPA &#151; End of Protected Area (C1)
152 98 230 10011000 SOS &#152; Start of String (C1)
153 99 231 10011001 SGC &#153; Single Graphic Character Introducer (C1)
154 9A 232 10011010 SCI &#154; Single Character Introducer (C1)
155 9B 233 10011011 CSI &#155; Control Sequence Introducer (C1)
156 9C 234 10011100 ST &#156; String Terminator (C1)
157 9D 235 10011101 OSC &#157; Operating System Command (C1)
158 9E 236 10011110 PM &#158; Privacy Message (C1)
159 9F 237 10011111 APC &#159; Application Program Command (C1)
160 A0 240 10100000   &nbsp; &#160; No-Break Space
161 A1 241 10100001 ¡ &iexcl; &#161; Inverted Exclamation Mark
162 A2 242 10100010 ¢ &cent; &#162; Cent Sign
163 A3 243 10100011 £ &pound; &#163; Pound Sign
164 A4 244 10100100 ¤ &curren; &#164; Currency Sign
165 A5 245 10100101 ¥ &yen; &#165; Yen Sign
166 A6 246 10100110 ¦ &brvbar; &#166; Broken Bar
167 A7 247 10100111 § &sect; &#167; Section Sign
168 A8 250 10101000 ¨ &uml; &#168; Diaeresis
169 A9 251 10101001 © &copy; &#169; Copyright Sign
170 AA 252 10101010 ª &ordf; &#170; Feminine Ordinal Indicator
171 AB 253 10101011 « &laquo; &#171; Left-Pointing Double Angle Quotation Mark
172 AC 254 10101100 ¬ &not; &#172; Not Sign
173 AD 255 10101101 ­ &shy; &#173; Soft Hyphen
174 AE 256 10101110 ® &reg; &#174; Registered Sign
175 AF 257 10101111 ¯ &macr; &#175; Macron
176 B0 260 10110000 ° &deg; &#176; Degree Sign
177 B1 261 10110001 ± &plusmn; &#177; Plus-Minus Sign
178 B2 262 10110010 ² &sup2; &#178; Superscript Two
179 B3 263 10110011 ³ &sup3; &#179; Superscript Three
180 B4 264 10110100 ´ &acute; &#180; Acute Accent
181 B5 265 10110101 µ &micro; &#181; Micro Sign
182 B6 266 10110110 &para; &#182; Pilcrow Sign
183 B7 267 10110111 · &middot; &#183; Middle Dot
184 B8 270 10111000 ¸ &cedil; &#184; Cedilla
185 B9 271 10111001 ¹ &sup1; &#185; Superscript One
186 BA 272 10111010 º &ordm; &#186; Masculine Ordinal Indicator
187 BB 273 10111011 » &raquo; &#187; Right-Pointing Double Angle Quotation Mark
188 BC 274 10111100 ¼ &frac14; &#188; Vulgar Fraction One Quarter
189 BD 275 10111101 ½ &frac12; &#189; Vulgar Fraction One Half
190 BE 276 10111110 ¾ &frac34; &#190; Vulgar Fraction Three Quarters
191 BF 277 10111111 ¿ &iquest; &#191; Inverted Question Mark
192 C0 300 11000000 À &Agrave; &#192; Latin Capital Letter A with Grave
193 C1 301 11000001 Á &Aacute; &#193; Latin Capital Letter A with Acute
194 C2 302 11000010 Â &Acirc; &#194; Latin Capital Letter A with Circumflex
195 C3 303 11000011 Ã &Atilde; &#195; Latin Capital Letter A with Tilde
196 C4 304 11000100 Ä &Auml; &#196; Latin Capital Letter A with Diaeresis
197 C5 305 11000101 Å &Aring; &#197; Latin Capital Letter A with Ring Above
198 C6 306 11000110 Æ &AElig; &#198; Latin Capital Letter AE
199 C7 307 11000111 Ç &Ccedil; &#199; Latin Capital Letter C with Cedilla
200 C8 310 11001000 È &Egrave; &#200; Latin Capital Letter E with Grave
201 C9 311 11001001 É &Eacute; &#201; Latin Capital Letter E with Acute
202 CA 312 11001010 Ê &Ecirc; &#202; Latin Capital Letter E with Circumflex
203 CB 313 11001011 Ë &Euml; &#203; Latin Capital Letter E with Diaeresis
204 CC 314 11001100 Ì &Igrave; &#204; Latin Capital Letter I with Grave
205 CD 315 11001101 Í &Iacute; &#205; Latin Capital Letter I with Acute
206 CE 316 11001110 Î &Icirc; &#206; Latin Capital Letter I with Circumflex
207 CF 317 11001111 Ï &Iuml; &#207; Latin Capital Letter I with Diaeresis
208 D0 320 11010000 Ð &ETH; &#208; Latin Capital Letter Eth
209 D1 321 11010001 Ñ &Ntilde; &#209; Latin Capital Letter N with Tilde
210 D2 322 11010010 Ò &Ograve; &#210; Latin Capital Letter O with Grave
211 D3 323 11010011 Ó &Oacute; &#211; Latin Capital Letter O with Acute
212 D4 324 11010100 Ô &Ocirc; &#212; Latin Capital Letter O with Circumflex
213 D5 325 11010101 Õ &Otilde; &#213; Latin Capital Letter O with Tilde
214 D6 326 11010110 Ö &Ouml; &#214; Latin Capital Letter O with Diaeresis
215 D7 327 11010111 × &times; &#215; Multiplication Sign
216 D8 330 11011000 Ø &Oslash; &#216; Latin Capital Letter O with Stroke
217 D9 331 11011001 Ù &Ugrave; &#217; Latin Capital Letter U with Grave
218 DA 332 11011010 Ú &Uacute; &#218; Latin Capital Letter U with Acute
219 DB 333 11011011 Û &Ucirc; &#219; Latin Capital Letter U with Circumflex
220 DC 334 11011100 Ü &Uuml; &#220; Latin Capital Letter U with Diaeresis
221 DD 335 11011101 Ý &Yacute; &#221; Latin Capital Letter Y with Acute
222 DE 336 11011110 Þ &THORN; &#222; Latin Capital Letter Thorn
223 DF 337 11011111 ß &szlig; &#223; Latin Small Letter Sharp S
224 E0 340 11100000 à &agrave; &#224; Latin Small Letter a with Grave
225 E1 341 11100001 á &aacute; &#225; Latin Small Letter a with Acute
226 E2 342 11100010 â &acirc; &#226; Latin Small Letter a with Circumflex
227 E3 343 11100011 ã &atilde; &#227; Latin Small Letter a with Tilde
228 E4 344 11100100 ä &auml; &#228; Latin Small Letter a with Diaeresis
229 E5 345 11100101 å &aring; &#229; Latin Small Letter a with Ring Above
230 E6 346 11100110 æ &aelig; &#230; Latin Small Letter AE
231 E7 347 11100111 ç &ccedil; &#231; Latin Small Letter c with Cedilla
232 E8 350 11101000 è &egrave; &#232; Latin Small Letter e with Grave
233 E9 351 11101001 é &eacute; &#233; Latin Small Letter e with Acute
234 EA 352 11101010 ê &ecirc; &#234; Latin Small Letter e with Circumflex
235 EB 353 11101011 ë &euml; &#235; Latin Small Letter e with Diaeresis
236 EC 354 11101100 ì &igrave; &#236; Latin Small Letter i with Grave
237 ED 355 11101101 í &iacute; &#237; Latin Small Letter i with Acute
238 EE 356 11101110 î &icirc; &#238; Latin Small Letter i with Circumflex
239 EF 357 11101111 ï &iuml; &#239; Latin Small Letter i with Diaeresis
240 F0 360 11110000 ð &eth; &#240; Latin Small Letter Eth
241 F1 361 11110001 ñ &ntilde; &#241; Latin Small Letter n with Tilde
242 F2 362 11110010 ò &ograve; &#242; Latin Small Letter o with Grave
243 F3 363 11110011 ó &oacute; &#243; Latin Small Letter o with Acute
244 F4 364 11110100 ô &ocirc; &#244; Latin Small Letter o with Circumflex
245 F5 365 11110101 õ &otilde; &#245; Latin Small Letter o with Tilde
246 F6 366 11110110 ö &ouml; &#246; Latin Small Letter o with Diaeresis
247 F7 367 11110111 ÷ &divide; &#247; Division Sign
248 F8 370 11111000 ø &oslash; &#248; Latin Small Letter O with Stroke
249 F9 371 11111001 ù &ugrave; &#249; Latin Small Letter u with Grave
250 FA 372 11111010 ú &uacute; &#250; Latin Small Letter u with Acute
251 FB 373 11111011 û &ucirc; &#251; Latin Small Letter u with Circumflex
252 FC 374 11111100 ü &uuml; &#252; Latin Small Letter u with Diaeresis
253 FD 375 11111101 ý &yacute; &#253; Latin Small Letter y with Acute
254 FE 376 11111110 þ &thorn; &#254; Latin Small Letter Thorn
255 FF 377 11111111 ÿ &yuml; &#255; Latin Small Letter y with Diaeresis

Overview

A reference you can actually navigate: every ASCII and Latin-1 code in one place, with all four number bases, the glyph, the HTML entity, and a real explanation for the control codes — plus search, range filters, and one-click copy.

  1. 01

    Every code, four ways

    Each character shows its decimal, hexadecimal, octal, and zero-padded 8-bit binary value side by side, so you can read a byte in whichever base your tool, protocol, or debugger speaks.

  2. 02

    Control codes explained

    The 33 control characters are not just listed by abbreviation — each one has a plain-language description of what it was designed to do, from carriage return and line feed to the device-control and separator codes.

  3. 03

    HTML entities and escapes

    Printable characters list their numeric HTML entity and, where one exists, the named entity; control codes show the C escape sequence such as \n, \t, or \0 so you can drop the right token straight into code.

  4. 04

    Search by anything

    Type a decimal number, a 0x hex value, a single character, an abbreviation like LF, an escape like \t, or part of a name, and the table narrows instantly to matching rows across all three ranges.

  5. 05

    Range filters

    Switch between control, printable, and extended characters with one click when you only care about one part of the table, or keep everything visible and scroll the full chart.

  6. 06

    Click to copy

    Click any decimal, hex, octal value, glyph, escape, or HTML entity to copy it to the clipboard, with a brief confirmation, so you never have to retype a code by hand.

  7. 07

    Standard and extended in one view

    The classic 7-bit ASCII set sits alongside the Latin-1 extended half, with a clear note about how positions 128–159 differ between ISO-8859-1 and Windows-1252.

  8. 08

    Static and offline

    The whole table is generated at build time and ships as plain HTML, so it loads instantly, needs no network, and keeps working with the tab offline.

How to use

Find a character by browsing, filtering, or searching, read across the row for the representation you need, and copy it with a click.

  1. 01

    Scroll the table, which is grouped into control, printable, and extended ranges.

  2. 02

    Use the range filter to show only control, printable, or extended characters when you want to focus.

  3. 03

    Search by decimal number, 0x hex value, a single glyph, an abbreviation, an escape sequence, or part of a name.

  4. 04

    Read across a row for the decimal, hex, octal, binary, glyph, HTML entity, escape, and name.

  5. 05

    Click any value — a code, glyph, escape, or entity — to copy it straight to your clipboard.

Details

A few details about how the table is built and what the columns mean.

  • Decimal, hex, and octal are the same byte written in base 10, 16, and 8; binary is shown zero-padded to a full 8 bits.
  • Control characters show a visible stand-in glyph from the Unicode Control Pictures block plus their caret notation, such as ^M for carriage return.
  • Named HTML entities are shown only where the HTML standard defines one; every character also has a numeric entity that always works.
  • C escape sequences appear for the control codes that have them — \0, \a, \b, \t, \n, \v, \f, \r, and \e.
  • Letters and digits use their canonical Unicode names; punctuation and symbols use their standard names too.
  • The extended range follows ISO-8859-1, so 160–255 are printable Latin-1 characters and 128–159 are C1 control codes.
  • Everything is rendered server-side, so search and copy work without loading a framework.

Use cases

An ASCII table is one of those references you reach for constantly once it is a click away — in low-level code, data wrangling, and debugging.

  1. Reading bytes while debugging

    Translate a raw byte value from a hex dump, packet capture, or memory view into the character it represents, or the other way around.

  2. Handling line endings

    Check the exact codes behind CR (13) and LF (10) when you are chasing a Windows-versus-Unix newline bug or normalizing text.

  3. Writing escape sequences

    Grab the right escape — \t, \n, \r, \0 — or the decimal value to build a string, regex, or terminal sequence by hand.

  4. Producing HTML entities

    Copy the named or numeric entity for characters like &, <, >, and the Latin-1 symbols so markup renders correctly regardless of file encoding.

  5. Validating input ranges

    Look up the boundaries of the digit, uppercase, and lowercase runs when you are writing a character check or a parser by hand.

  6. Learning character encoding

    See how the same character maps across decimal, hex, octal, and binary, and how ASCII forms the base of UTF-8 and Latin-1.

  7. Configuring terminals and protocols

    Find the control codes — BEL, ESC, the device-control and separator characters — that show up in terminal escape sequences and legacy line protocols.

  8. Decoding obfuscated values

    Convert a list of decimal or hex codes copied from a log or payload back into readable text one character at a time.

See also

ASCII is the 7-bit foundation that larger encodings extend; to escape characters beyond it as code points, the Unicode Converter converts text to and from Unicode escapes. To turn whole strings into raw bytes, Text to Binary shows text as binary, octal, decimal, or hex. For other lookup tables, the HTTP Status Code Reference lists HTTP status codes, and the Port Reference covers well-known network ports.

Best practices

A few habits make the table faster to use and keep your conversions correct.

  • Search by the representation you already have — paste a decimal, a 0x hex value, or the literal character to jump straight to its row.
  • Use the range filter to hide the extended set when you only care about standard 7-bit ASCII.
  • Prefer the numeric HTML entity when you need something guaranteed to work; reach for the named entity only when one is defined.
  • Remember that CR (13) and LF (10) are different codes — Windows uses both, Unix uses LF alone.
  • When you copy a glyph from the extended range, confirm the receiving system uses the same encoding, since 128–255 are encoding-dependent.
  • Treat the C1 control names (128–159) as ISO-8859-1; if you are in a Windows-1252 context those positions are printable symbols instead.

Limitations

A table like this is a lookup, not a converter, and a couple of edges are worth knowing.

  • This is a reference table, not a text encoder — paste a whole string into the binary or Unicode tools when you need to convert more than one character.
  • Standard ASCII is only 0–127; codes 128–255 depend entirely on the encoding, and this table shows the ISO-8859-1 (Latin-1) interpretation.
  • In Windows-1252 the range 128–159 holds printable punctuation and symbols rather than the C1 control codes shown here.
  • Binary is shown as 8 bits for readability even though standard ASCII only needs 7; the high bit is always 0 for codes 0–127.
  • A named HTML entity is listed only when the HTML standard defines one — the numeric entity is always available as a fallback.
  • Copying an extended glyph relies on the target using a compatible encoding; the underlying byte may render differently elsewhere.

FAQ

Common questions about ASCII, control characters, extended ASCII, and how the codes map across bases.

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding that assigns the numbers 0–127 to control codes and to the printable English letters, digits, and punctuation. It is the foundation that UTF-8 and most other encodings build on, since they keep ASCII unchanged in their first 128 code points.

What are control characters?

Control characters are codes 0–31 plus 127 that do not print a glyph. They were designed to control devices and data flow — moving the cursor (carriage return, line feed, tab), ringing a bell, marking the end of a transmission, or separating records. This table gives each one a plain-language description.

What is the difference between CR and LF?

Carriage return (CR, code 13, \r) and line feed (LF, code 10, \n) are separate control codes. Unix and macOS end lines with LF alone, classic Windows uses CR followed by LF, and old Mac systems used CR alone, which is why mismatched line endings are a common source of bugs.

What is extended ASCII?

Extended ASCII refers to the codes 128–255 that use the eighth bit. There is no single standard for them: this table shows ISO-8859-1 (Latin-1), where 160–255 are accented letters and symbols and 128–159 are C1 control codes. Windows-1252 reuses 128–159 for printable characters such as the euro sign and curly quotes.

How do I convert a number to a character?

Find the row for that value in any base — search for the decimal number, the 0x hex value, or the octal — and read the Char column for the glyph, plus the name and HTML entity. To convert a whole string of bytes at once, use the text-to-binary tool instead.

Why is binary shown as 8 bits if ASCII is 7-bit?

Standard ASCII only needs 7 bits, so the high bit of codes 0–127 is always 0, but bytes are 8 bits in practice. Showing a full 8-bit byte matches how the value is stored and makes the extended 128–255 range, which does use the high bit, line up in the same column.

Does this tool send anything to a server?

No. The entire table is generated when the site is built and ships as static HTML, and the search and copy features run entirely in your browser, so nothing you type or copy is uploaded.

Related tools

Keep exploring encoding references and converters without leaving the tools collection.