ASCII Table Reference
Browse the full ASCII character reference table.
128 of 128 codes shown. Codes 0–31 are control characters, 32–126 are printable, and 127 is DEL.
| Char | Dec | Hex | Oct | Binary | Description |
|---|---|---|---|---|---|
| NUL | 0 | 0x00 | 000 | 00000000 | Null character |
| SOH | 1 | 0x01 | 001 | 00000001 | Start of heading |
| STX | 2 | 0x02 | 002 | 00000010 | Start of text |
| ETX | 3 | 0x03 | 003 | 00000011 | End of text |
| EOT | 4 | 0x04 | 004 | 00000100 | End of transmission |
| ENQ | 5 | 0x05 | 005 | 00000101 | Enquiry |
| ACK | 6 | 0x06 | 006 | 00000110 | Acknowledge |
| BEL | 7 | 0x07 | 007 | 00000111 | Bell / alert |
| BS | 8 | 0x08 | 010 | 00001000 | Backspace |
| HT | 9 | 0x09 | 011 | 00001001 | Horizontal tab |
| LF | 10 | 0x0A | 012 | 00001010 | Line feed / newline |
| VT | 11 | 0x0B | 013 | 00001011 | Vertical tab |
| FF | 12 | 0x0C | 014 | 00001100 | Form feed / page break |
| CR | 13 | 0x0D | 015 | 00001101 | Carriage return |
| SO | 14 | 0x0E | 016 | 00001110 | Shift out |
| SI | 15 | 0x0F | 017 | 00001111 | Shift in |
| DLE | 16 | 0x10 | 020 | 00010000 | Data link escape |
| DC1 | 17 | 0x11 | 021 | 00010001 | Device control 1 (XON) |
| DC2 | 18 | 0x12 | 022 | 00010010 | Device control 2 |
| DC3 | 19 | 0x13 | 023 | 00010011 | Device control 3 (XOFF) |
| DC4 | 20 | 0x14 | 024 | 00010100 | Device control 4 |
| NAK | 21 | 0x15 | 025 | 00010101 | Negative acknowledge |
| SYN | 22 | 0x16 | 026 | 00010110 | Synchronous idle |
| ETB | 23 | 0x17 | 027 | 00010111 | End of transmission block |
| CAN | 24 | 0x18 | 030 | 00011000 | Cancel |
| EM | 25 | 0x19 | 031 | 00011001 | End of medium |
| SUB | 26 | 0x1A | 032 | 00011010 | Substitute |
| ESC | 27 | 0x1B | 033 | 00011011 | Escape |
| FS | 28 | 0x1C | 034 | 00011100 | File separator |
| GS | 29 | 0x1D | 035 | 00011101 | Group separator |
| RS | 30 | 0x1E | 036 | 00011110 | Record separator |
| US | 31 | 0x1F | 037 | 00011111 | Unit separator |
| SP | 32 | 0x20 | 040 | 00100000 | Space |
| ! | 33 | 0x21 | 041 | 00100001 | Exclamation mark |
| " | 34 | 0x22 | 042 | 00100010 | Double quote |
| # | 35 | 0x23 | 043 | 00100011 | Number sign / hash |
| $ | 36 | 0x24 | 044 | 00100100 | Dollar sign |
| % | 37 | 0x25 | 045 | 00100101 | Percent sign |
| & | 38 | 0x26 | 046 | 00100110 | Ampersand |
| ' | 39 | 0x27 | 047 | 00100111 | Single quote / apostrophe |
| ( | 40 | 0x28 | 050 | 00101000 | Left parenthesis |
| ) | 41 | 0x29 | 051 | 00101001 | Right parenthesis |
| * | 42 | 0x2A | 052 | 00101010 | Asterisk |
| + | 43 | 0x2B | 053 | 00101011 | Plus sign |
| , | 44 | 0x2C | 054 | 00101100 | Comma |
| - | 45 | 0x2D | 055 | 00101101 | Hyphen / minus |
| . | 46 | 0x2E | 056 | 00101110 | Full stop / period |
| / | 47 | 0x2F | 057 | 00101111 | Forward slash |
| 0 | 48 | 0x30 | 060 | 00110000 | Digit 0 |
| 1 | 49 | 0x31 | 061 | 00110001 | Digit 1 |
| 2 | 50 | 0x32 | 062 | 00110010 | Digit 2 |
| 3 | 51 | 0x33 | 063 | 00110011 | Digit 3 |
| 4 | 52 | 0x34 | 064 | 00110100 | Digit 4 |
| 5 | 53 | 0x35 | 065 | 00110101 | Digit 5 |
| 6 | 54 | 0x36 | 066 | 00110110 | Digit 6 |
| 7 | 55 | 0x37 | 067 | 00110111 | Digit 7 |
| 8 | 56 | 0x38 | 070 | 00111000 | Digit 8 |
| 9 | 57 | 0x39 | 071 | 00111001 | Digit 9 |
| : | 58 | 0x3A | 072 | 00111010 | Colon |
| ; | 59 | 0x3B | 073 | 00111011 | Semicolon |
| < | 60 | 0x3C | 074 | 00111100 | Less-than sign |
| = | 61 | 0x3D | 075 | 00111101 | Equals sign |
| > | 62 | 0x3E | 076 | 00111110 | Greater-than sign |
| ? | 63 | 0x3F | 077 | 00111111 | Question mark |
| @ | 64 | 0x40 | 100 | 01000000 | At sign |
| A | 65 | 0x41 | 101 | 01000001 | Uppercase letter A |
| B | 66 | 0x42 | 102 | 01000010 | Uppercase letter B |
| C | 67 | 0x43 | 103 | 01000011 | Uppercase letter C |
| D | 68 | 0x44 | 104 | 01000100 | Uppercase letter D |
| E | 69 | 0x45 | 105 | 01000101 | Uppercase letter E |
| F | 70 | 0x46 | 106 | 01000110 | Uppercase letter F |
| G | 71 | 0x47 | 107 | 01000111 | Uppercase letter G |
| H | 72 | 0x48 | 110 | 01001000 | Uppercase letter H |
| I | 73 | 0x49 | 111 | 01001001 | Uppercase letter I |
| J | 74 | 0x4A | 112 | 01001010 | Uppercase letter J |
| K | 75 | 0x4B | 113 | 01001011 | Uppercase letter K |
| L | 76 | 0x4C | 114 | 01001100 | Uppercase letter L |
| M | 77 | 0x4D | 115 | 01001101 | Uppercase letter M |
| N | 78 | 0x4E | 116 | 01001110 | Uppercase letter N |
| O | 79 | 0x4F | 117 | 01001111 | Uppercase letter O |
| P | 80 | 0x50 | 120 | 01010000 | Uppercase letter P |
| Q | 81 | 0x51 | 121 | 01010001 | Uppercase letter Q |
| R | 82 | 0x52 | 122 | 01010010 | Uppercase letter R |
| S | 83 | 0x53 | 123 | 01010011 | Uppercase letter S |
| T | 84 | 0x54 | 124 | 01010100 | Uppercase letter T |
| U | 85 | 0x55 | 125 | 01010101 | Uppercase letter U |
| V | 86 | 0x56 | 126 | 01010110 | Uppercase letter V |
| W | 87 | 0x57 | 127 | 01010111 | Uppercase letter W |
| X | 88 | 0x58 | 130 | 01011000 | Uppercase letter X |
| Y | 89 | 0x59 | 131 | 01011001 | Uppercase letter Y |
| Z | 90 | 0x5A | 132 | 01011010 | Uppercase letter Z |
| [ | 91 | 0x5B | 133 | 01011011 | Left square bracket |
| \ | 92 | 0x5C | 134 | 01011100 | Backslash |
| ] | 93 | 0x5D | 135 | 01011101 | Right square bracket |
| ^ | 94 | 0x5E | 136 | 01011110 | Caret / circumflex |
| _ | 95 | 0x5F | 137 | 01011111 | Underscore |
| ` | 96 | 0x60 | 140 | 01100000 | Backtick / grave accent |
| a | 97 | 0x61 | 141 | 01100001 | Lowercase letter a |
| b | 98 | 0x62 | 142 | 01100010 | Lowercase letter b |
| c | 99 | 0x63 | 143 | 01100011 | Lowercase letter c |
| d | 100 | 0x64 | 144 | 01100100 | Lowercase letter d |
| e | 101 | 0x65 | 145 | 01100101 | Lowercase letter e |
| f | 102 | 0x66 | 146 | 01100110 | Lowercase letter f |
| g | 103 | 0x67 | 147 | 01100111 | Lowercase letter g |
| h | 104 | 0x68 | 150 | 01101000 | Lowercase letter h |
| i | 105 | 0x69 | 151 | 01101001 | Lowercase letter i |
| j | 106 | 0x6A | 152 | 01101010 | Lowercase letter j |
| k | 107 | 0x6B | 153 | 01101011 | Lowercase letter k |
| l | 108 | 0x6C | 154 | 01101100 | Lowercase letter l |
| m | 109 | 0x6D | 155 | 01101101 | Lowercase letter m |
| n | 110 | 0x6E | 156 | 01101110 | Lowercase letter n |
| o | 111 | 0x6F | 157 | 01101111 | Lowercase letter o |
| p | 112 | 0x70 | 160 | 01110000 | Lowercase letter p |
| q | 113 | 0x71 | 161 | 01110001 | Lowercase letter q |
| r | 114 | 0x72 | 162 | 01110010 | Lowercase letter r |
| s | 115 | 0x73 | 163 | 01110011 | Lowercase letter s |
| t | 116 | 0x74 | 164 | 01110100 | Lowercase letter t |
| u | 117 | 0x75 | 165 | 01110101 | Lowercase letter u |
| v | 118 | 0x76 | 166 | 01110110 | Lowercase letter v |
| w | 119 | 0x77 | 167 | 01110111 | Lowercase letter w |
| x | 120 | 0x78 | 170 | 01111000 | Lowercase letter x |
| y | 121 | 0x79 | 171 | 01111001 | Lowercase letter y |
| z | 122 | 0x7A | 172 | 01111010 | Lowercase letter z |
| { | 123 | 0x7B | 173 | 01111011 | Left curly brace |
| | | 124 | 0x7C | 174 | 01111100 | Vertical bar / pipe |
| } | 125 | 0x7D | 175 | 01111101 | Right curly brace |
| ~ | 126 | 0x7E | 176 | 01111110 | Tilde |
| DEL | 127 | 0x7F | 177 | 01111111 | Delete |
How to use ASCII Table Reference
What this tool does
This is a complete, searchable reference for the American Standard Code for
Information Interchange — ASCII. It lists every one of the 128 codes from 0 to 127.
For each code it shows the character (or, for non-printable codes, a short name like
NUL, LF, CR, ESC or DEL), the value in decimal, hexadecimal,
octal and 8-bit binary, and a plain-language description. There is nothing to
convert and nothing to upload — the table is part of the page and everything runs in
your browser.
Why you might need it
ASCII codes turn up constantly in real work. You might be reading a hex dump and
need to know that 0x0A is a line feed, debugging why a file has stray carriage
returns, writing an escape sequence, validating input character by character, or
simply settling which code the tab key produces. Memorising all 128 values is
pointless; having them one search away is not. The control-character section in
particular is hard to find elsewhere in a clear form, and it is exactly the part
people need when tracking down whitespace and line-ending bugs.
How to use it
- Scroll the table to browse, or type in the Search box to filter it.
- Search matches several fields at once — try a decimal number like
65, a hex value like4a, a single character like@, or a name fragment liketaborescape. - Use the Group toggle to narrow the list to Control characters (0–31), Printable characters (32–126), or DEL (127).
- Hover over any decimal, hex, octal or binary value and click the copy button to put that exact value on your clipboard.
Formats explained
Each row gives you four ways to write the same code. Decimal is the everyday
base-10 number — 65 for the letter A. Hexadecimal is base-16, shown with a
0x prefix (0x41), and is what you will see in memory dumps and string escapes
like \x41. Octal is base-8, padded to three digits (101), and survives in
older Unix tools and in escape sequences like \101. Binary is the raw 8-bit
pattern (01000001), useful when you are thinking about bit masks or how text is
stored. The character column shows the glyph for printable codes and the standard
abbreviation for control codes.
Common pitfalls
The classic confusion is between the two line-ending codes: LF (code 10, line
feed) and CR (code 13, carriage return). Unix-style text ends lines with LF
alone, Windows uses CR followed by LF, and mixing them causes the “extra blank
line” or “everything on one line” problems you see in diffs. Another trap is the
space at code 32 versus the tab at code 9 — both look like whitespace but are
different codes, which matters for indentation rules and strict parsers. Remember
too that ASCII stops at 127: any accented letter, currency symbol or emoji is a
higher Unicode code point and will not appear here.
Tips and advanced use
Because the hex and binary values are one click to copy, this table doubles as a
quick encoder for single characters — find the character, copy its hex, and paste it
into an escape sequence. When you are debugging an invisible-character bug, filter to
the Control group and scan the descriptions; the culprit is almost always CR,
LF, HT (tab) or NUL. And since the reference is fully client-side, it loads
instantly and works offline once the page is open — no lookups are ever sent
anywhere.
Frequently asked questions
Does this tool send anything to a server?
What is the difference between control and printable characters?
Why does code 32 show SP instead of a blank?
What are the hex, octal and binary columns for?
Is ASCII the same as Unicode?
Related tools
HTTP Status Codes
Look up every HTTP status code and its meaning.
HTTP Headers Reference
Reference common HTTP request and response headers.
MIME Type Lookup
Look up MIME types by file extension.
EyeDropper Color Picker
Pick any color on screen with the EyeDropper API.
CSS Gradient to Image
Render a CSS gradient as a downloadable image.
SVG to PNG
Convert SVG files into raster PNG images.