ASCII Table
A full ASCII table (0–127) with decimal, hex, octal, binary, character, HTML entity and control-code names, plus an extended 128–255 view and a character or code lookup.
| Dec | Hex | Oct | Binary | Char | HTML | Name |
|---|---|---|---|---|---|---|
| 0 | 0x00 | 000 | 00000000 | NUL | NUL — Null | |
| 1 | 0x01 | 001 | 00000001 | SOH | SOH — Start of heading | |
| 2 | 0x02 | 002 | 00000010 | STX | STX — Start of text | |
| 3 | 0x03 | 003 | 00000011 | ETX | ETX — End of text | |
| 4 | 0x04 | 004 | 00000100 | EOT | EOT — End of transmission | |
| 5 | 0x05 | 005 | 00000101 | ENQ | ENQ — Enquiry | |
| 6 | 0x06 | 006 | 00000110 | ACK | ACK — Acknowledge | |
| 7 | 0x07 | 007 | 00000111 | BEL | BEL — Bell | |
| 8 | 0x08 | 010 | 00001000 | BS | BS — Backspace | |
| 9 | 0x09 | 011 | 00001001 | HT | HT — Horizontal tab | |
| 10 | 0x0A | 012 | 00001010 | LF | LF — Line feed | |
| 11 | 0x0B | 013 | 00001011 | VT | VT — Vertical tab | |
| 12 | 0x0C | 014 | 00001100 | FF | FF — Form feed | |
| 13 | 0x0D | 015 | 00001101 | CR | CR — Carriage return | |
| 14 | 0x0E | 016 | 00001110 | SO | SO — Shift out | |
| 15 | 0x0F | 017 | 00001111 | SI | SI — Shift in | |
| 16 | 0x10 | 020 | 00010000 | DLE | DLE — Data link escape | |
| 17 | 0x11 | 021 | 00010001 | DC1 | DC1 — Device control 1 (XON) | |
| 18 | 0x12 | 022 | 00010010 | DC2 | DC2 — Device control 2 | |
| 19 | 0x13 | 023 | 00010011 | DC3 | DC3 — Device control 3 (XOFF) | |
| 20 | 0x14 | 024 | 00010100 | DC4 | DC4 — Device control 4 | |
| 21 | 0x15 | 025 | 00010101 | NAK | NAK — Negative acknowledge | |
| 22 | 0x16 | 026 | 00010110 | SYN | SYN — Synchronous idle | |
| 23 | 0x17 | 027 | 00010111 | ETB | ETB — End of transmission block | |
| 24 | 0x18 | 030 | 00011000 | CAN | CAN — Cancel | |
| 25 | 0x19 | 031 | 00011001 | EM | EM — End of medium | |
| 26 | 0x1A | 032 | 00011010 | SUB | SUB — Substitute | |
| 27 | 0x1B | 033 | 00011011 | ESC | ESC — Escape | |
| 28 | 0x1C | 034 | 00011100 | FS | FS — File separator | |
| 29 | 0x1D | 035 | 00011101 | GS | GS — Group separator | |
| 30 | 0x1E | 036 | 00011110 | RS | RS — Record separator | |
| 31 | 0x1F | 037 | 00011111 | US | US — Unit separator | |
| 32 | 0x20 | 040 | 00100000 | (space) | SP — Space | |
| 33 | 0x21 | 041 | 00100001 | ! | ||
| 34 | 0x22 | 042 | 00100010 | " | " | |
| 35 | 0x23 | 043 | 00100011 | # | ||
| 36 | 0x24 | 044 | 00100100 | $ | ||
| 37 | 0x25 | 045 | 00100101 | % | ||
| 38 | 0x26 | 046 | 00100110 | & | & | |
| 39 | 0x27 | 047 | 00100111 | ' | ' | |
| 40 | 0x28 | 050 | 00101000 | ( | ||
| 41 | 0x29 | 051 | 00101001 | ) | ||
| 42 | 0x2A | 052 | 00101010 | * | ||
| 43 | 0x2B | 053 | 00101011 | + | ||
| 44 | 0x2C | 054 | 00101100 | , | ||
| 45 | 0x2D | 055 | 00101101 | - | ||
| 46 | 0x2E | 056 | 00101110 | . | ||
| 47 | 0x2F | 057 | 00101111 | / | ||
| 48 | 0x30 | 060 | 00110000 | 0 | ||
| 49 | 0x31 | 061 | 00110001 | 1 | ||
| 50 | 0x32 | 062 | 00110010 | 2 | ||
| 51 | 0x33 | 063 | 00110011 | 3 | ||
| 52 | 0x34 | 064 | 00110100 | 4 | ||
| 53 | 0x35 | 065 | 00110101 | 5 | ||
| 54 | 0x36 | 066 | 00110110 | 6 | ||
| 55 | 0x37 | 067 | 00110111 | 7 | ||
| 56 | 0x38 | 070 | 00111000 | 8 | ||
| 57 | 0x39 | 071 | 00111001 | 9 | ||
| 58 | 0x3A | 072 | 00111010 | : | ||
| 59 | 0x3B | 073 | 00111011 | ; |
ASCII assigns a number from 0 to 127 to every basic Latin letter, digit, punctuation mark and control code. This reference shows each one in decimal, hexadecimal, octal and binary, with its character, HTML entity and — for the invisible control codes — its abbreviation and name. An optional extended view covers 128–255.
How to use this tool
- Browse the full table, or filter to control codes, printable characters, digits or letters.
- Type a character, a code (65 or 0x41) or a control name (LF) to jump straight to it.
- Turn on an extended encoding to see bytes 128–255.
- Copy any value you need.
Formula
Codes 0–31 and 127 are non-printing control codes (NUL, LF, ESC, DEL…). Codes 32–126 are printable: space, punctuation, digits 48–57, uppercase 65–90 and lowercase 97–122.
Example
The letter "A" is decimal 65, hex 0x41, octal 101 and binary 01000001. The newline you press is decimal 10, the LF (line feed) control code. With CP437 chosen, byte 176 shows the ░ shading block used in old DOS screens; in Windows-1252, byte 128 is the euro sign €.
Frequently asked questions
Why are 128–255 shown as different encodings?
Plain ASCII only defines 0–127. The upper half depends on the encoding — Windows-1252, ISO-8859-1 and CP437 all map those bytes to different characters, so the tool lets you choose.
What is the difference between LF and CR?
LF (10) is line feed, used by Unix and macOS to end a line; CR (13) is carriage return. Windows uses CR + LF together.
How do I find a character’s code?
Type the character into the lookup box. It reports the decimal, hex, octal and binary code and, for control codes, the name.
Last updated:
Page address with these inputs: https://kakao.mobile/tools/ascii-table/
Cite or embed this tool
kakaoCalc. (2026, November 8). ASCII Table. https://kakao.mobile/tools/ascii-table/
“ASCII Table.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/ascii-table/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms