ASCII table
All 128 ASCII characters with their decimal, hex, octal and binary codes, searchable.
128 characters.
Control characters
- NULNull
- Decimal 0 · hex 00 · octal 000 · binary 0000000
- SOHStart of heading
- Decimal 1 · hex 01 · octal 001 · binary 0000001
- STXStart of text
- Decimal 2 · hex 02 · octal 002 · binary 0000010
- ETXEnd of text
- Decimal 3 · hex 03 · octal 003 · binary 0000011
- EOTEnd of transmission
- Decimal 4 · hex 04 · octal 004 · binary 0000100
- ENQEnquiry
- Decimal 5 · hex 05 · octal 005 · binary 0000101
- ACKAcknowledge
- Decimal 6 · hex 06 · octal 006 · binary 0000110
- BELBell
- Decimal 7 · hex 07 · octal 007 · binary 0000111
- BSBackspace
- Decimal 8 · hex 08 · octal 010 · binary 0001000
- HTHorizontal tab
- Decimal 9 · hex 09 · octal 011 · binary 0001001
- LFLine feed (new line)
- Decimal 10 · hex 0A · octal 012 · binary 0001010
- VTVertical tab
- Decimal 11 · hex 0B · octal 013 · binary 0001011
- FFForm feed
- Decimal 12 · hex 0C · octal 014 · binary 0001100
- CRCarriage return
- Decimal 13 · hex 0D · octal 015 · binary 0001101
- SOShift out
- Decimal 14 · hex 0E · octal 016 · binary 0001110
- SIShift in
- Decimal 15 · hex 0F · octal 017 · binary 0001111
- DLEData link escape
- Decimal 16 · hex 10 · octal 020 · binary 0010000
- DC1Device control 1 (XON)
- Decimal 17 · hex 11 · octal 021 · binary 0010001
- DC2Device control 2
- Decimal 18 · hex 12 · octal 022 · binary 0010010
- DC3Device control 3 (XOFF)
- Decimal 19 · hex 13 · octal 023 · binary 0010011
- DC4Device control 4
- Decimal 20 · hex 14 · octal 024 · binary 0010100
- NAKNegative acknowledge
- Decimal 21 · hex 15 · octal 025 · binary 0010101
- SYNSynchronous idle
- Decimal 22 · hex 16 · octal 026 · binary 0010110
- ETBEnd of transmission block
- Decimal 23 · hex 17 · octal 027 · binary 0010111
- CANCancel
- Decimal 24 · hex 18 · octal 030 · binary 0011000
- EMEnd of medium
- Decimal 25 · hex 19 · octal 031 · binary 0011001
- SUBSubstitute
- Decimal 26 · hex 1A · octal 032 · binary 0011010
- ESCEscape
- Decimal 27 · hex 1B · octal 033 · binary 0011011
- FSFile separator
- Decimal 28 · hex 1C · octal 034 · binary 0011100
- GSGroup separator
- Decimal 29 · hex 1D · octal 035 · binary 0011101
- RSRecord separator
- Decimal 30 · hex 1E · octal 036 · binary 0011110
- USUnit separator
- Decimal 31 · hex 1F · octal 037 · binary 0011111
- DELDelete
- Decimal 127 · hex 7F · octal 177 · binary 1111111
Punctuation and symbols
- SPSpace
- Decimal 32 · hex 20 · octal 040 · binary 0100000
- !Exclamation mark
- Decimal 33 · hex 21 · octal 041 · binary 0100001
- "Double quote
- Decimal 34 · hex 22 · octal 042 · binary 0100010
- #Number sign
- Decimal 35 · hex 23 · octal 043 · binary 0100011
- $Dollar sign
- Decimal 36 · hex 24 · octal 044 · binary 0100100
- %Percent sign
- Decimal 37 · hex 25 · octal 045 · binary 0100101
- &Ampersand
- Decimal 38 · hex 26 · octal 046 · binary 0100110
- 'Apostrophe
- Decimal 39 · hex 27 · octal 047 · binary 0100111
- (Left parenthesis
- Decimal 40 · hex 28 · octal 050 · binary 0101000
- )Right parenthesis
- Decimal 41 · hex 29 · octal 051 · binary 0101001
- *Asterisk
- Decimal 42 · hex 2A · octal 052 · binary 0101010
- +Plus sign
- Decimal 43 · hex 2B · octal 053 · binary 0101011
- ,Comma
- Decimal 44 · hex 2C · octal 054 · binary 0101100
- -Hyphen-minus
- Decimal 45 · hex 2D · octal 055 · binary 0101101
- .Full stop
- Decimal 46 · hex 2E · octal 056 · binary 0101110
- /Slash
- Decimal 47 · hex 2F · octal 057 · binary 0101111
- :Colon
- Decimal 58 · hex 3A · octal 072 · binary 0111010
- ;Semicolon
- Decimal 59 · hex 3B · octal 073 · binary 0111011
- <Less-than sign
- Decimal 60 · hex 3C · octal 074 · binary 0111100
- =Equals sign
- Decimal 61 · hex 3D · octal 075 · binary 0111101
- >Greater-than sign
- Decimal 62 · hex 3E · octal 076 · binary 0111110
- ?Question mark
- Decimal 63 · hex 3F · octal 077 · binary 0111111
- @At sign
- Decimal 64 · hex 40 · octal 100 · binary 1000000
- [Left square bracket
- Decimal 91 · hex 5B · octal 133 · binary 1011011
- \Backslash
- Decimal 92 · hex 5C · octal 134 · binary 1011100
- ]Right square bracket
- Decimal 93 · hex 5D · octal 135 · binary 1011101
- ^Caret
- Decimal 94 · hex 5E · octal 136 · binary 1011110
- _Underscore
- Decimal 95 · hex 5F · octal 137 · binary 1011111
- `Backtick
- Decimal 96 · hex 60 · octal 140 · binary 1100000
- {Left curly bracket
- Decimal 123 · hex 7B · octal 173 · binary 1111011
- |Vertical bar
- Decimal 124 · hex 7C · octal 174 · binary 1111100
- }Right curly bracket
- Decimal 125 · hex 7D · octal 175 · binary 1111101
- ~Tilde
- Decimal 126 · hex 7E · octal 176 · binary 1111110
Digits
- 0Digit 0
- Decimal 48 · hex 30 · octal 060 · binary 0110000
- 1Digit 1
- Decimal 49 · hex 31 · octal 061 · binary 0110001
- 2Digit 2
- Decimal 50 · hex 32 · octal 062 · binary 0110010
- 3Digit 3
- Decimal 51 · hex 33 · octal 063 · binary 0110011
- 4Digit 4
- Decimal 52 · hex 34 · octal 064 · binary 0110100
- 5Digit 5
- Decimal 53 · hex 35 · octal 065 · binary 0110101
- 6Digit 6
- Decimal 54 · hex 36 · octal 066 · binary 0110110
- 7Digit 7
- Decimal 55 · hex 37 · octal 067 · binary 0110111
- 8Digit 8
- Decimal 56 · hex 38 · octal 070 · binary 0111000
- 9Digit 9
- Decimal 57 · hex 39 · octal 071 · binary 0111001
Capital letters
- ACapital letter A
- Decimal 65 · hex 41 · octal 101 · binary 1000001
- BCapital letter B
- Decimal 66 · hex 42 · octal 102 · binary 1000010
- CCapital letter C
- Decimal 67 · hex 43 · octal 103 · binary 1000011
- DCapital letter D
- Decimal 68 · hex 44 · octal 104 · binary 1000100
- ECapital letter E
- Decimal 69 · hex 45 · octal 105 · binary 1000101
- FCapital letter F
- Decimal 70 · hex 46 · octal 106 · binary 1000110
- GCapital letter G
- Decimal 71 · hex 47 · octal 107 · binary 1000111
- HCapital letter H
- Decimal 72 · hex 48 · octal 110 · binary 1001000
- ICapital letter I
- Decimal 73 · hex 49 · octal 111 · binary 1001001
- JCapital letter J
- Decimal 74 · hex 4A · octal 112 · binary 1001010
- KCapital letter K
- Decimal 75 · hex 4B · octal 113 · binary 1001011
- LCapital letter L
- Decimal 76 · hex 4C · octal 114 · binary 1001100
- MCapital letter M
- Decimal 77 · hex 4D · octal 115 · binary 1001101
- NCapital letter N
- Decimal 78 · hex 4E · octal 116 · binary 1001110
- OCapital letter O
- Decimal 79 · hex 4F · octal 117 · binary 1001111
- PCapital letter P
- Decimal 80 · hex 50 · octal 120 · binary 1010000
- QCapital letter Q
- Decimal 81 · hex 51 · octal 121 · binary 1010001
- RCapital letter R
- Decimal 82 · hex 52 · octal 122 · binary 1010010
- SCapital letter S
- Decimal 83 · hex 53 · octal 123 · binary 1010011
- TCapital letter T
- Decimal 84 · hex 54 · octal 124 · binary 1010100
- UCapital letter U
- Decimal 85 · hex 55 · octal 125 · binary 1010101
- VCapital letter V
- Decimal 86 · hex 56 · octal 126 · binary 1010110
- WCapital letter W
- Decimal 87 · hex 57 · octal 127 · binary 1010111
- XCapital letter X
- Decimal 88 · hex 58 · octal 130 · binary 1011000
- YCapital letter Y
- Decimal 89 · hex 59 · octal 131 · binary 1011001
- ZCapital letter Z
- Decimal 90 · hex 5A · octal 132 · binary 1011010
Small letters
- aSmall letter A
- Decimal 97 · hex 61 · octal 141 · binary 1100001
- bSmall letter B
- Decimal 98 · hex 62 · octal 142 · binary 1100010
- cSmall letter C
- Decimal 99 · hex 63 · octal 143 · binary 1100011
- dSmall letter D
- Decimal 100 · hex 64 · octal 144 · binary 1100100
- eSmall letter E
- Decimal 101 · hex 65 · octal 145 · binary 1100101
- fSmall letter F
- Decimal 102 · hex 66 · octal 146 · binary 1100110
- gSmall letter G
- Decimal 103 · hex 67 · octal 147 · binary 1100111
- hSmall letter H
- Decimal 104 · hex 68 · octal 150 · binary 1101000
- iSmall letter I
- Decimal 105 · hex 69 · octal 151 · binary 1101001
- jSmall letter J
- Decimal 106 · hex 6A · octal 152 · binary 1101010
- kSmall letter K
- Decimal 107 · hex 6B · octal 153 · binary 1101011
- lSmall letter L
- Decimal 108 · hex 6C · octal 154 · binary 1101100
- mSmall letter M
- Decimal 109 · hex 6D · octal 155 · binary 1101101
- nSmall letter N
- Decimal 110 · hex 6E · octal 156 · binary 1101110
- oSmall letter O
- Decimal 111 · hex 6F · octal 157 · binary 1101111
- pSmall letter P
- Decimal 112 · hex 70 · octal 160 · binary 1110000
- qSmall letter Q
- Decimal 113 · hex 71 · octal 161 · binary 1110001
- rSmall letter R
- Decimal 114 · hex 72 · octal 162 · binary 1110010
- sSmall letter S
- Decimal 115 · hex 73 · octal 163 · binary 1110011
- tSmall letter T
- Decimal 116 · hex 74 · octal 164 · binary 1110100
- uSmall letter U
- Decimal 117 · hex 75 · octal 165 · binary 1110101
- vSmall letter V
- Decimal 118 · hex 76 · octal 166 · binary 1110110
- wSmall letter W
- Decimal 119 · hex 77 · octal 167 · binary 1110111
- xSmall letter X
- Decimal 120 · hex 78 · octal 170 · binary 1111000
- ySmall letter Y
- Decimal 121 · hex 79 · octal 171 · binary 1111001
- zSmall letter Z
- Decimal 122 · hex 7A · octal 172 · binary 1111010
Missing a feature or found a bug in ASCII table? Tell me on X (@_andrewtran) or by email.
How to use ASCII table
- Type a character, a code or a name in the search field.
- Read the matching characters with their codes.
- Clear the search to see the full table.
Questions and answers
What is ASCII?
A set of 128 characters from the 1960s: the English letters, the digits, punctuation and 33 control codes. Unicode keeps the same first 128 codes.
What are control characters?
Codes 0 to 31 and 127. They do not print: they once drove teleprinters. Tab, line feed and carriage return are the ones still in daily use.
Related tools
MIME type lookup
Find the MIME type for a file extension, or the extension for a type.HTTP headers reference
What every common HTTP request and response header does, grouped and searchable.Git command reference
Everyday git commands with plain explanations, including how to undo things.Regex pattern library
Ready-made regular expressions for emails, URLs, dates, IP addresses, UUIDs and more.