ASCII Table & Converter
Browse all 128 ASCII characters with their decimal, hex, binary, octal, and HTML entity codes — or convert any value instantly.
| Dec | Hex | Oct | Binary | Char | HTML | Description | Copy |
|---|---|---|---|---|---|---|---|
| 0 | 00 | 000 | 00000000 | none | � | Control NUL (Null) | |
| 1 | 01 | 001 | 00000001 | none |  | Control SOH (Start of Heading) | |
| 2 | 02 | 002 | 00000010 | none |  | Control STX (Start of Text) | |
| 3 | 03 | 003 | 00000011 | none |  | Control ETX (End of Text) | |
| 4 | 04 | 004 | 00000100 | none |  | Control EOT (End of Transmission) | |
| 5 | 05 | 005 | 00000101 | none |  | Control ENQ (Enquiry) | |
| 6 | 06 | 006 | 00000110 | none |  | Control ACK (Acknowledge) | |
| 7 | 07 | 007 | 00000111 | none |  | Control BEL (Bell) | |
| 8 | 08 | 010 | 00001000 | none |  | Control BS (Backspace) | |
| 9 | 09 | 011 | 00001001 | none | 	 | Control TAB (Horizontal Tab) | |
| 10 | 0A | 012 | 00001010 | none | | Control LF (Line Feed) | |
| 11 | 0B | 013 | 00001011 | none |  | Control VT (Vertical Tab) | |
| 12 | 0C | 014 | 00001100 | none |  | Control FF (Form Feed) | |
| 13 | 0D | 015 | 00001101 | none | | Control CR (Carriage Return) | |
| 14 | 0E | 016 | 00001110 | none |  | Control SO (Shift Out) | |
| 15 | 0F | 017 | 00001111 | none |  | Control SI (Shift In) | |
| 16 | 10 | 020 | 00010000 | none |  | Control DLE (Data Link Escape) | |
| 17 | 11 | 021 | 00010001 | none |  | Control DC1 (Device Control 1) | |
| 18 | 12 | 022 | 00010010 | none |  | Control DC2 (Device Control 2) | |
| 19 | 13 | 023 | 00010011 | none |  | Control DC3 (Device Control 3) | |
| 20 | 14 | 024 | 00010100 | none |  | Control DC4 (Device Control 4) | |
| 21 | 15 | 025 | 00010101 | none |  | Control NAK (Negative Acknowledge) | |
| 22 | 16 | 026 | 00010110 | none |  | Control SYN (Synchronous Idle) | |
| 23 | 17 | 027 | 00010111 | none |  | Control ETB (End of Transmission Block) | |
| 24 | 18 | 030 | 00011000 | none |  | Control CAN (Cancel) | |
| 25 | 19 | 031 | 00011001 | none |  | Control EM (End of Medium) | |
| 26 | 1A | 032 | 00011010 | none |  | Control SUB (Substitute) | |
| 27 | 1B | 033 | 00011011 | none |  | Control ESC (Escape) | |
| 28 | 1C | 034 | 00011100 | none |  | Control FS (File Separator) | |
| 29 | 1D | 035 | 00011101 | none |  | Control GS (Group Separator) | |
| 30 | 1E | 036 | 00011110 | none |  | Control RS (Record Separator) | |
| 31 | 1F | 037 | 00011111 | none |  | Control US (Unit Separator) | |
| 32 | 20 | 040 | 00100000 |   | Printable | ||
| 33 | 21 | 041 | 00100001 | ! | ! | Printable | |
| 34 | 22 | 042 | 00100010 | " | " | Printable | |
| 35 | 23 | 043 | 00100011 | # | # | Printable | |
| 36 | 24 | 044 | 00100100 | $ | $ | Printable | |
| 37 | 25 | 045 | 00100101 | % | % | Printable | |
| 38 | 26 | 046 | 00100110 | & | & | Printable | |
| 39 | 27 | 047 | 00100111 | ' | ' | Printable | |
| 40 | 28 | 050 | 00101000 | ( | ( | Printable | |
| 41 | 29 | 051 | 00101001 | ) | ) | Printable | |
| 42 | 2A | 052 | 00101010 | * | * | Printable | |
| 43 | 2B | 053 | 00101011 | + | + | Printable | |
| 44 | 2C | 054 | 00101100 | , | , | Printable | |
| 45 | 2D | 055 | 00101101 | - | - | Printable | |
| 46 | 2E | 056 | 00101110 | . | . | Printable | |
| 47 | 2F | 057 | 00101111 | / | / | Printable | |
| 48 | 30 | 060 | 00110000 | 0 | 0 | Printable | |
| 49 | 31 | 061 | 00110001 | 1 | 1 | Printable | |
| 50 | 32 | 062 | 00110010 | 2 | 2 | Printable | |
| 51 | 33 | 063 | 00110011 | 3 | 3 | Printable | |
| 52 | 34 | 064 | 00110100 | 4 | 4 | Printable | |
| 53 | 35 | 065 | 00110101 | 5 | 5 | Printable | |
| 54 | 36 | 066 | 00110110 | 6 | 6 | Printable | |
| 55 | 37 | 067 | 00110111 | 7 | 7 | Printable | |
| 56 | 38 | 070 | 00111000 | 8 | 8 | Printable | |
| 57 | 39 | 071 | 00111001 | 9 | 9 | Printable | |
| 58 | 3A | 072 | 00111010 | : | : | Printable | |
| 59 | 3B | 073 | 00111011 | ; | ; | Printable | |
| 60 | 3C | 074 | 00111100 | < | < | Printable | |
| 61 | 3D | 075 | 00111101 | = | = | Printable | |
| 62 | 3E | 076 | 00111110 | > | > | Printable | |
| 63 | 3F | 077 | 00111111 | ? | ? | Printable | |
| 64 | 40 | 100 | 01000000 | @ | @ | Printable | |
| 65 | 41 | 101 | 01000001 | A | A | Printable | |
| 66 | 42 | 102 | 01000010 | B | B | Printable | |
| 67 | 43 | 103 | 01000011 | C | C | Printable | |
| 68 | 44 | 104 | 01000100 | D | D | Printable | |
| 69 | 45 | 105 | 01000101 | E | E | Printable | |
| 70 | 46 | 106 | 01000110 | F | F | Printable | |
| 71 | 47 | 107 | 01000111 | G | G | Printable | |
| 72 | 48 | 110 | 01001000 | H | H | Printable | |
| 73 | 49 | 111 | 01001001 | I | I | Printable | |
| 74 | 4A | 112 | 01001010 | J | J | Printable | |
| 75 | 4B | 113 | 01001011 | K | K | Printable | |
| 76 | 4C | 114 | 01001100 | L | L | Printable | |
| 77 | 4D | 115 | 01001101 | M | M | Printable | |
| 78 | 4E | 116 | 01001110 | N | N | Printable | |
| 79 | 4F | 117 | 01001111 | O | O | Printable | |
| 80 | 50 | 120 | 01010000 | P | P | Printable | |
| 81 | 51 | 121 | 01010001 | Q | Q | Printable | |
| 82 | 52 | 122 | 01010010 | R | R | Printable | |
| 83 | 53 | 123 | 01010011 | S | S | Printable | |
| 84 | 54 | 124 | 01010100 | T | T | Printable | |
| 85 | 55 | 125 | 01010101 | U | U | Printable | |
| 86 | 56 | 126 | 01010110 | V | V | Printable | |
| 87 | 57 | 127 | 01010111 | W | W | Printable | |
| 88 | 58 | 130 | 01011000 | X | X | Printable | |
| 89 | 59 | 131 | 01011001 | Y | Y | Printable | |
| 90 | 5A | 132 | 01011010 | Z | Z | Printable | |
| 91 | 5B | 133 | 01011011 | [ | [ | Printable | |
| 92 | 5C | 134 | 01011100 | \ | \ | Printable | |
| 93 | 5D | 135 | 01011101 | ] | ] | Printable | |
| 94 | 5E | 136 | 01011110 | ^ | ^ | Printable | |
| 95 | 5F | 137 | 01011111 | _ | _ | Printable | |
| 96 | 60 | 140 | 01100000 | ` | ` | Printable | |
| 97 | 61 | 141 | 01100001 | a | a | Printable | |
| 98 | 62 | 142 | 01100010 | b | b | Printable | |
| 99 | 63 | 143 | 01100011 | c | c | Printable | |
| 100 | 64 | 144 | 01100100 | d | d | Printable | |
| 101 | 65 | 145 | 01100101 | e | e | Printable | |
| 102 | 66 | 146 | 01100110 | f | f | Printable | |
| 103 | 67 | 147 | 01100111 | g | g | Printable | |
| 104 | 68 | 150 | 01101000 | h | h | Printable | |
| 105 | 69 | 151 | 01101001 | i | i | Printable | |
| 106 | 6A | 152 | 01101010 | j | j | Printable | |
| 107 | 6B | 153 | 01101011 | k | k | Printable | |
| 108 | 6C | 154 | 01101100 | l | l | Printable | |
| 109 | 6D | 155 | 01101101 | m | m | Printable | |
| 110 | 6E | 156 | 01101110 | n | n | Printable | |
| 111 | 6F | 157 | 01101111 | o | o | Printable | |
| 112 | 70 | 160 | 01110000 | p | p | Printable | |
| 113 | 71 | 161 | 01110001 | q | q | Printable | |
| 114 | 72 | 162 | 01110010 | r | r | Printable | |
| 115 | 73 | 163 | 01110011 | s | s | Printable | |
| 116 | 74 | 164 | 01110100 | t | t | Printable | |
| 117 | 75 | 165 | 01110101 | u | u | Printable | |
| 118 | 76 | 166 | 01110110 | v | v | Printable | |
| 119 | 77 | 167 | 01110111 | w | w | Printable | |
| 120 | 78 | 170 | 01111000 | x | x | Printable | |
| 121 | 79 | 171 | 01111001 | y | y | Printable | |
| 122 | 7A | 172 | 01111010 | z | z | Printable | |
| 123 | 7B | 173 | 01111011 | { | { | Printable | |
| 124 | 7C | 174 | 01111100 | | | | | Printable | |
| 125 | 7D | 175 | 01111101 | } | } | Printable | |
| 126 | 7E | 176 | 01111110 | ~ | ~ | Printable | |
| 127 | 7F | 177 | 01111111 | none |  | Control DEL (Delete) |
Control characters (0–31 and 127) are highlighted and shown with their abbreviated names. Printable characters (32–126) can be copied with the copy button.
Private by design: All ASCII lookups and conversions run entirely in your browser. No data is sent to any server.
Full ASCII table
All 128 standard ASCII characters with decimal, hex, binary, octal, and HTML entity codes. Searchable and sortable.
Bidirectional converter
Enter a character, decimal, hex, octal, or binary value and see every other representation instantly.
Private by design
All lookups and conversions run locally in your browser. No data is ever sent to a server.
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numeric values to 128 characters. It was first published in 1963 and became the backbone of modern text encoding. The first 32 codes (0–31) are control characters used for device management — like carriage return, line feed, and tab. Codes 32–126 are printable characters including letters, digits, punctuation, and symbols. Code 127 is the DEL (delete) control character.
Because ASCII uses only 7 bits, it is universally supported and forms the common subset of virtually every modern encoding, including UTF-8. When you type plain English text, you are using ASCII. When a web page sends JSON data, the JSON specification itself is defined in terms of ASCII. Understanding ASCII is foundational to understanding how computers represent text.
How the ASCII converter works
The converter uses JavaScript's built-in charCodeAt and fromCharCode methods to translate between representations. When you enter a character, its Unicode code point is read (which equals the ASCII value for standard ASCII characters). When you enter a decimal, hex, octal, or binary number, parseInt converts it to a numeric value and fromCharCode maps it back to the corresponding character. All of this happens locally in your browser.
Common use cases for ASCII codes
Web developers reference ASCII when writing regex for whitespace (\t, \n, \r), handling CSV parsing, or sanitizing form input. Embedded systems engineers use ASCII for serial communication protocols where bytes are sent as human-readable text. Security researchers analyze network traffic and need to recognize control characters in hex dumps. Computer science students study ASCII when learning about character encoding, bitwise operations, and data representation. No matter your field, having a quick ASCII reference at hand saves time.
Frequently asked questions
›What is an ASCII table and why do I need one?
An ASCII table lists all 128 standard ASCII characters with their decimal, hexadecimal, octal, binary, and HTML entity codes. Developers use it constantly when writing parsers, debugging protocols, handling serial communication, or working with character encodings.
›What is the difference between ASCII and Unicode?
ASCII is a 7-bit character set with 128 characters (0–127), covering basic English letters, digits, punctuation, and control codes. Unicode is a much larger standard that supports over 149,000 characters across virtually every writing system in the world, including emoji. ASCII is a strict subset of Unicode.
›How do I convert a character to its ASCII decimal value?
Use the Converter tab, select 'Character' as the input type, and type any single character. The tool instantly shows the decimal, hex, octal, binary, and HTML entity representations.
›What are control characters in ASCII?
Control characters are the first 32 codes (0–31) plus DEL (127). They are non-printable and used for device control rather than display — for example, NUL (0), TAB (9), LF (10), CR (13), and ESC (27). In the table view they are highlighted and labeled with their abbreviated names.
›Why is ASCII 7-bit and not 8-bit?
The original ASCII standard was defined as 7-bit (128 characters) because that was sufficient for English text and telecommunications equipment of the 1960s used 7-bit channels. Extended ASCII variants (like ISO-8859-1 and Windows-1252) later used the 8th bit to add 128 more characters for other Western European languages.
›Does this tool show extended ASCII (128–255)?
This tool focuses on the standard 7-bit ASCII set (0–127) because it is the only universally agreed-upon subset. Extended ASCII (128–255) varies by code page and encoding (e.g., Latin-1 vs. Windows-1252), so a single table would be misleading.
›Is my input sent to a server?
No. All table rendering and conversions happen entirely in your browser. Your characters and search queries are never transmitted, logged, or stored on any server.
›What is the HTML entity column for?
The HTML entity column shows the numeric character reference (e.g., A for 'A'). These are useful when you need to embed special characters in HTML without ambiguity, especially when the raw character might be interpreted as markup.
›How do programmers use ASCII codes in practice?
Developers use ASCII codes when parsing text files, serializing data, writing regex for control characters, debugging network protocols, working with escape sequences in strings, and handling keyboard input events where key codes map to ASCII values.
More free developer tools
Part of our growing tool belt — all client-side, all free.