ASCII Table
The American Standard Code for Information Interchange assigns 128 unique numeric values (0 through 127) to English letters, digits, punctuation marks, and control signals. The extended set covers codes 128 through 255 and varies by encoding. Use the table below to look up any character by its decimal, hex, or binary code.
Control Characters
0-31, 127Non-printable characters originally designed for controlling hardware devices like teletypes and modems. Codes 0 through 31 handle transmission flow, cursor movement, and device signaling. Only a handful - Tab (9), Line Feed (10), Carriage Return (13), and Escape (27) - remain in active use.
| DEC | HEX | Symbol | Description | ||
|---|---|---|---|---|---|
| 0 | 00 | NUL | Null character | ||
| 1 | 01 | SOH | Start of Heading | ||
| 2 | 02 | STX | Start of Text | ||
| 3 | 03 | ETX | End of Text | ||
| 4 | 04 | EOT | End of Transmission | ||
| 5 | 05 | ENQ | Enquiry | ||
| 6 | 06 | ACK | Acknowledge | ||
| 7 | 07 | BEL | Bell, Alert | ||
| 8 | 08 | BS | Backspace | ||
| 9 | 09 | HT | Horizontal Tab | ||
| 10 | 0A | LF | Line Feed | ||
| 11 | 0B | VT | Vertical Tabulation | ||
| 12 | 0C | FF | Form Feed | ||
| 13 | 0D | CR | Carriage Return | ||
| 14 | 0E | SO | Shift Out | ||
| 15 | 0F | SI | Shift In | ||
| 16 | 10 | DLE | Data Link Escape | ||
| 17 | 11 | DC1 | Device Control One (XON) | ||
| 18 | 12 | DC2 | Device Control Two | ||
| 19 | 13 | DC3 | Device Control Three (XOFF) | ||
| 20 | 14 | DC4 | Device Control Four | ||
| 21 | 15 | NAK | Negative Acknowledge | ||
| 22 | 16 | SYN | Synchronous Idle | ||
| 23 | 17 | ETB | End of Transmission Block | ||
| 24 | 18 | CAN | Cancel | ||
| 25 | 19 | EM | End of medium | ||
| 26 | 1A | SUB | Substitute | ||
| 27 | 1B | ESC | Escape | ||
| 28 | 1C | FS | File Separator | ||
| 29 | 1D | GS | Group Separator | ||
| 30 | 1E | RS | Record Separator | ||
| 31 | 1F | US | Unit Separator | ||
| 127 | 7F | DEL | Delete |
Printable Characters
32-126The 95 visible characters that form the core of ASCII text. Includes uppercase and lowercase Latin letters, digits 0 through 9, punctuation, mathematical operators, and the space character at position 32. Every modern character encoding preserves these assignments unchanged.
| DEC | HEX | Symbol | Description | ||
|---|---|---|---|---|---|
| 32 | 20 | Space | |||
| 33 | 21 | ! | Exclamation mark | ||
| 34 | 22 | " | Double quotes (or speech marks) | ||
| 35 | 23 | # | Number sign | ||
| 36 | 24 | $ | Dollar | ||
| 37 | 25 | % | Per cent sign | ||
| 38 | 26 | & | Ampersand | ||
| 39 | 27 | ' | Single quote | ||
| 40 | 28 | ( | Open parenthesis (or open bracket) | ||
| 41 | 29 | ) | Close parenthesis (or close bracket) | ||
| 42 | 2A | * | Asterisk | ||
| 43 | 2B | + | Plus | ||
| 44 | 2C | , | Comma | ||
| 45 | 2D | - | Hyphen-minus | ||
| 46 | 2E | . | Period, dot or full stop | ||
| 47 | 2F | / | Slash or divide | ||
| 48 | 30 | 0 | Zero | ||
| 49 | 31 | 1 | One | ||
| 50 | 32 | 2 | Two | ||
| 51 | 33 | 3 | Three | ||
| 52 | 34 | 4 | Four | ||
| 53 | 35 | 5 | Five | ||
| 54 | 36 | 6 | Six | ||
| 55 | 37 | 7 | Seven | ||
| 56 | 38 | 8 | Eight | ||
| 57 | 39 | 9 | Nine | ||
| 58 | 3A | : | Colon | ||
| 59 | 3B | ; | Semicolon | ||
| 60 | 3C | < | Less than (or open angled bracket) | ||
| 61 | 3D | = | Equals | ||
| 62 | 3E | > | Greater than (or close angled bracket) | ||
| 63 | 3F | ? | Question mark | ||
| 64 | 40 | @ | At sign | ||
| 65 | 41 | A | Uppercase A | ||
| 66 | 42 | B | Uppercase B | ||
| 67 | 43 | C | Uppercase C | ||
| 68 | 44 | D | Uppercase D | ||
| 69 | 45 | E | Uppercase E | ||
| 70 | 46 | F | Uppercase F | ||
| 71 | 47 | G | Uppercase G | ||
| 72 | 48 | H | Uppercase H | ||
| 73 | 49 | I | Uppercase I | ||
| 74 | 4A | J | Uppercase J | ||
| 75 | 4B | K | Uppercase K | ||
| 76 | 4C | L | Uppercase L | ||
| 77 | 4D | M | Uppercase M | ||
| 78 | 4E | N | Uppercase N | ||
| 79 | 4F | O | Uppercase O | ||
| 80 | 50 | P | Uppercase P | ||
| 81 | 51 | Q | Uppercase Q | ||
| 82 | 52 | R | Uppercase R | ||
| 83 | 53 | S | Uppercase S | ||
| 84 | 54 | T | Uppercase T | ||
| 85 | 55 | U | Uppercase U | ||
| 86 | 56 | V | Uppercase V | ||
| 87 | 57 | W | Uppercase W | ||
| 88 | 58 | X | Uppercase X | ||
| 89 | 59 | Y | Uppercase Y | ||
| 90 | 5A | Z | Uppercase Z | ||
| 91 | 5B | [ | Opening bracket | ||
| 92 | 5C | \ | Backslash | ||
| 93 | 5D | ] | Closing bracket | ||
| 94 | 5E | ^ | Caret - circumflex | ||
| 95 | 5F | _ | Underscore | ||
| 96 | 60 | ` | Grave accent | ||
| 97 | 61 | a | Lowercase a | ||
| 98 | 62 | b | Lowercase b | ||
| 99 | 63 | c | Lowercase c | ||
| 100 | 64 | d | Lowercase d | ||
| 101 | 65 | e | Lowercase e | ||
| 102 | 66 | f | Lowercase f | ||
| 103 | 67 | g | Lowercase g | ||
| 104 | 68 | h | Lowercase h | ||
| 105 | 69 | i | Lowercase i | ||
| 106 | 6A | j | Lowercase j | ||
| 107 | 6B | k | Lowercase k | ||
| 108 | 6C | l | Lowercase l | ||
| 109 | 6D | m | Lowercase m | ||
| 110 | 6E | n | Lowercase n | ||
| 111 | 6F | o | Lowercase o | ||
| 112 | 70 | p | Lowercase p | ||
| 113 | 71 | q | Lowercase q | ||
| 114 | 72 | r | Lowercase r | ||
| 115 | 73 | s | Lowercase s | ||
| 116 | 74 | t | Lowercase t | ||
| 117 | 75 | u | Lowercase u | ||
| 118 | 76 | v | Lowercase v | ||
| 119 | 77 | w | Lowercase w | ||
| 120 | 78 | x | Lowercase x | ||
| 121 | 79 | y | Lowercase y | ||
| 122 | 7A | z | Lowercase z | ||
| 123 | 7B | { | Opening brace | ||
| 124 | 7C | | | Vertical bar | ||
| 125 | 7D | } | Closing brace | ||
| 126 | 7E | ~ | Equivalency sign - tilde |
Extended ASCII
128-255Characters in the 128 through 255 range are not part of the original ASCII standard. Their meaning depends entirely on which encoding is active. The table below shows the most common mapping from Windows-1252 (CP1252), which became a de facto standard in Western computing. Compare other encodings to see how the same byte values map to different characters.
| DEC | HEX | Symbol | Description | ||
|---|---|---|---|---|---|
| 128 | 80 | € | Euro sign | ||
| 129 | 81 | Unused | |||
| 130 | 82 | ‚ | Single low-9 quotation mark | ||
| 131 | 83 | ƒ | Latin small letter f with hook | ||
| 132 | 84 | „ | Double low-9 quotation mark | ||
| 133 | 85 | … | Horizontal ellipsis | ||
| 134 | 86 | † | Dagger | ||
| 135 | 87 | ‡ | Double dagger | ||
| 136 | 88 | ˆ | Modifier letter circumflex accent | ||
| 137 | 89 | ‰ | Per mille sign | ||
| 138 | 8A | Š | Latin capital letter S with caron | ||
| 139 | 8B | ‹ | Single left-pointing angle quotation | ||
| 140 | 8C | Œ | Latin capital ligature OE | ||
| 141 | 8D | Unused | |||
| 142 | 8E | Ž | Latin capital letter Z with caron | ||
| 143 | 8F | Unused | |||
| 144 | 90 | Unused | |||
| 145 | 91 | ‘ | Left single quotation mark | ||
| 146 | 92 | ’ | Right single quotation mark | ||
| 147 | 93 | “ | Left double quotation mark | ||
| 148 | 94 | ” | Right double quotation mark | ||
| 149 | 95 | • | Bullet | ||
| 150 | 96 | – | En dash | ||
| 151 | 97 | — | Em dash | ||
| 152 | 98 | ˜ | Small tilde | ||
| 153 | 99 | ™ | Trade mark sign | ||
| 154 | 9A | š | Latin small letter S with caron | ||
| 155 | 9B | › | Single right-pointing angle quotation mark | ||
| 156 | 9C | œ | Latin small ligature oe | ||
| 157 | 9D | Unused | |||
| 158 | 9E | ž | Latin small letter z with caron | ||
| 159 | 9F | Ÿ | Latin capital letter Y with diaeresis | ||
| 160 | A0 | NBSP | Non-breaking space | ||
| 161 | A1 | ¡ | Inverted exclamation mark | ||
| 162 | A2 | ¢ | Cent sign | ||
| 163 | A3 | £ | Pound sign | ||
| 164 | A4 | ¤ | Currency sign | ||
| 165 | A5 | ¥ | Yen sign | ||
| 166 | A6 | ¦ | Pipe, broken vertical bar | ||
| 167 | A7 | § | Section sign | ||
| 168 | A8 | ¨ | Spacing diaeresis - umlaut | ||
| 169 | A9 | © | Copyright sign | ||
| 170 | AA | ª | Feminine ordinal indicator | ||
| 171 | AB | « | Left double angle quotes | ||
| 172 | AC | ¬ | Negation | ||
| 173 | AD | SHY | Soft hyphen | ||
| 174 | AE | ® | Registered trade mark sign | ||
| 175 | AF | ¯ | Spacing macron - overline | ||
| 176 | B0 | ° | Degree sign | ||
| 177 | B1 | ± | Plus-or-minus sign | ||
| 178 | B2 | ² | Superscript two - squared | ||
| 179 | B3 | ³ | Superscript three - cubed | ||
| 180 | B4 | ´ | Acute accent - spacing acute | ||
| 181 | B5 | µ | Micro sign | ||
| 182 | B6 | ¶ | Pilcrow sign - paragraph sign | ||
| 183 | B7 | · | Middle dot - Georgian comma | ||
| 184 | B8 | ¸ | Spacing cedilla | ||
| 185 | B9 | ¹ | Superscript one | ||
| 186 | BA | º | Masculine ordinal indicator | ||
| 187 | BB | » | Right double angle quotes | ||
| 188 | BC | ¼ | Fraction one quarter | ||
| 189 | BD | ½ | Fraction one half | ||
| 190 | BE | ¾ | Fraction three quarters | ||
| 191 | BF | ¿ | Inverted question mark | ||
| 192 | C0 | À | Latin capital letter A with grave | ||
| 193 | C1 | Á | Latin capital letter A with acute | ||
| 194 | C2 | Â | Latin capital letter A with circumflex | ||
| 195 | C3 | Ã | Latin capital letter A with tilde | ||
| 196 | C4 | Ä | Latin capital letter A with diaeresis | ||
| 197 | C5 | Å | Latin capital letter A with ring above | ||
| 198 | C6 | Æ | Latin capital letter AE | ||
| 199 | C7 | Ç | Latin capital letter C with cedilla | ||
| 200 | C8 | È | Latin capital letter E with grave | ||
| 201 | C9 | É | Latin capital letter E with acute | ||
| 202 | CA | Ê | Latin capital letter E with circumflex | ||
| 203 | CB | Ë | Latin capital letter E with diaeresis | ||
| 204 | CC | Ì | Latin capital letter I with grave | ||
| 205 | CD | Í | Latin capital letter I with acute | ||
| 206 | CE | Î | Latin capital letter I with circumflex | ||
| 207 | CF | Ï | Latin capital letter I with diaeresis | ||
| 208 | D0 | Ð | Latin capital letter ETH | ||
| 209 | D1 | Ñ | Latin capital letter N with tilde | ||
| 210 | D2 | Ò | Latin capital letter O with grave | ||
| 211 | D3 | Ó | Latin capital letter O with acute | ||
| 212 | D4 | Ô | Latin capital letter O with circumflex | ||
| 213 | D5 | Õ | Latin capital letter O with tilde | ||
| 214 | D6 | Ö | Latin capital letter O with diaeresis | ||
| 215 | D7 | × | Multiplication sign | ||
| 216 | D8 | Ø | Latin capital letter O with slash | ||
| 217 | D9 | Ù | Latin capital letter U with grave | ||
| 218 | DA | Ú | Latin capital letter U with acute | ||
| 219 | DB | Û | Latin capital letter U with circumflex | ||
| 220 | DC | Ü | Latin capital letter U with diaeresis | ||
| 221 | DD | Ý | Latin capital letter Y with acute | ||
| 222 | DE | Þ | Latin capital letter THORN | ||
| 223 | DF | ß | Latin small letter sharp s - ess-zed | ||
| 224 | E0 | à | Latin small letter a with grave | ||
| 225 | E1 | á | Latin small letter a with acute | ||
| 226 | E2 | â | Latin small letter a with circumflex | ||
| 227 | E3 | ã | Latin small letter a with tilde | ||
| 228 | E4 | ä | Latin small letter a with diaeresis | ||
| 229 | E5 | å | Latin small letter a with ring above | ||
| 230 | E6 | æ | Latin small letter ae | ||
| 231 | E7 | ç | Latin small letter c with cedilla | ||
| 232 | E8 | è | Latin small letter e with grave | ||
| 233 | E9 | é | Latin small letter e with acute | ||
| 234 | EA | ê | Latin small letter e with circumflex | ||
| 235 | EB | ë | Latin small letter e with diaeresis | ||
| 236 | EC | ì | Latin small letter i with grave | ||
| 237 | ED | í | Latin small letter i with acute | ||
| 238 | EE | î | Latin small letter i with circumflex | ||
| 239 | EF | ï | Latin small letter i with diaeresis | ||
| 240 | F0 | ð | Latin small letter eth | ||
| 241 | F1 | ñ | Latin small letter n with tilde | ||
| 242 | F2 | ò | Latin small letter o with grave | ||
| 243 | F3 | ó | Latin small letter o with acute | ||
| 244 | F4 | ô | Latin small letter o with circumflex | ||
| 245 | F5 | õ | Latin small letter o with tilde | ||
| 246 | F6 | ö | Latin small letter o with diaeresis | ||
| 247 | F7 | ÷ | Division sign | ||
| 248 | F8 | ø | Latin small letter o with slash | ||
| 249 | F9 | ù | Latin small letter u with grave | ||
| 250 | FA | ú | Latin small letter u with acute | ||
| 251 | FB | û | Latin small letter u with circumflex | ||
| 252 | FC | ü | Latin small letter u with diaeresis | ||
| 253 | FD | ý | Latin small letter y with acute | ||
| 254 | FE | þ | Latin small letter thorn | ||
| 255 | FF | ÿ | Latin small letter y with diaeresis |
About ASCII World
ASCII World is a comprehensive reference for the American Standard Code for Information Interchange and the broader family of character encoding systems that evolved from it. The site provides detailed lookup tables, conversion tools, programming guides, and educational content for developers, students, IT professionals, and anyone who works with text data at the byte level.
Complete ASCII Code Chart
The centerpiece of the site is a full ASCII table covering all 256 character codes. Each of the 128 standard characters and 128 extended characters has its own dedicated page with decimal, hexadecimal, octal, and binary values, along with the HTML entity, Unicode mapping, URL escape code, and usage notes. You can browse the table in five different layouts: detailed view with expandable rows, a hex map for quick scanning, a compact reference for printing, a visual browser for symbol discovery, and a high-level summary view. Character categories like letters, digits, punctuation, control characters, and whitespace each have their own filtered pages for focused reference.
Encoding Tables and Comparison
ASCII was just the beginning. The site documents ten major encoding standards that built on or diverged from the original 7-bit specification. Browse complete character maps for CP437 (the IBM PC encoding that gave DOS its box-drawing characters), Windows-1252 (the de facto standard for Western European text on Windows), ISO-8859-1 (Latin-1), and seven additional ISO and Windows code pages. The encoding comparison tool places any two encodings side by side, highlighting every position where they assign different characters to the same byte value. A dedicated character sets reference and Windows code pages guide explain how these standards relate to each other and to Unicode.
Converter Tools
ASCII World includes over a dozen conversion tools that handle the formats developers encounter most often. The text to ASCII converter and ASCII to text decoder translate between readable text and decimal code sequences. Specialized converters handle hexadecimal, binary, and octal representations. A base converter translates between any two numeral bases up to 36. Additional tools cover Base64 encoding and decoding, URL percent-encoding, HTML entity encoding, ASCII to EBCDIC conversion for mainframe environments, and an ASCII art generator that renders text in decorative character fonts.
Articles and Learning Resources
The article library contains in-depth guides on character encoding topics. Technical tutorials cover ASCII in Python, JavaScript, Java, and SQL, with working code examples for each language. Conceptual articles explain how UTF-8 encodes text at the byte level, how to diagnose and fix mojibake (garbled text from encoding mismatches), and the evolution of character encoding from telegraph codes to Unicode. The history of the 1963 standard traces how a committee of engineers decided which symbols to include and which to leave out. The encoding glossary defines over 50 terms, from ASCII and UTF-8 to byte order mark and code point.
Additional References
Beyond ASCII codes, the site provides curated reference pages for related topics. The HTML symbols reference covers named entities for special characters. A complete HTML color table lists all 140 named CSS colors with hex values. The HTTP status codes reference documents every response code from 100 to 599. An ASCII keyboard guide maps every key on a standard keyboard to its character code. For creative projects, the ASCII art gallery showcases text emoticons, single-line art, and multi-line designs. A visual timeline traces the milestones in character encoding history, and a facts page collects the most interesting details from six decades of ASCII's influence on computing.
What Are ASCII Codes?
ASCII is a character encoding standard published in 1963 that maps 128 characters to numeric values between 0 and 127. Each number corresponds to a specific letter, digit, symbol, or control signal. For example, the capital letter "A" is ASCII code 65 (hex 41), the digit "0" is code 48 (hex 30), and a space is code 32 (hex 20).
The standard organizes its 128 codes into two groups. Codes 0 through 31 and code 127 are control characters - non-printable signals originally used to operate teletypes and printers. Codes 32 through 126 are printable characters that include 26 uppercase letters, 26 lowercase letters, 10 digits, 32 punctuation marks, and the space character.
Although ASCII only covers English text and basic symbols, it became the foundation for virtually all modern encoding systems. UTF-8 - now used on over 98% of web pages - keeps the first 128 code points identical to ASCII, meaning any ASCII file is automatically valid UTF-8. Regional encodings like Windows-1252 and ISO-8859-1 extend the range to 256 values, adding accented letters and currency symbols while preserving the original 128 ASCII assignments.
Developers work with ASCII codes daily - from Python's ord() and chr() functions to JavaScript's charCodeAt() to SQL's ASCII() function. Understanding these values helps debug encoding errors, parse binary protocols, validate user input, and build text-processing tools.
ASCII Converter Tools
Convert between ASCII text, decimal codes, hexadecimal, binary, and other formats. Each tool supports batch input and provides instant results.
Text to ASCII
Convert text to decimal codes
0xHex to ASCII
Decode hexadecimal to text
01Binary to ASCII
Decode binary to text
B64Base64 Encoder
Encode and decode Base64
%URL Encoder
Percent-encode for URLs
&HTML Entity
Encode special characters
#ASCII Art Generator
Turn text into ASCII art
+All Tools
View all 15 converter tools
Learn About Character Encoding
In-depth guides covering ASCII history, character encoding systems, and practical programming techniques across multiple languages.
How ASCII Works
A complete beginner's guide to the encoding standard
ArticleHow UTF-8 Actually Works
Byte-level walkthrough of the dominant web encoding
ArticleFixing Mojibake
Diagnose and repair garbled text from encoding mismatches
ArticleASCII in Python
ord(), chr(), and encoding in Python 3
ArticleASCII in JavaScript
charCodeAt(), fromCharCode(), and TextEncoder
15 articlesAll Articles
Browse the complete article collection