All 128 ASCII characters with their codes in decimal, hexadecimal, octal and 7-bit binary, the full name of each character, the control codes with caret notation (^C, ^[) and the HTML entity and string escape you would type in code. Search by character, by code (65 or 0x41) or by name.
| Dec | Hex | Oct | Binary | Char | Name | HTML | Escape | |
|---|---|---|---|---|---|---|---|---|
| 0 | 00 | 000 | 0000000 | NUL | Null^@ | � | \0 | |
| 1 | 01 | 001 | 0000001 | SOH | Start of heading^A |  | \x01 | |
| 2 | 02 | 002 | 0000010 | STX | Start of text^B |  | \x02 | |
| 3 | 03 | 003 | 0000011 | ETX | End of text (Ctrl+C)^C |  | \x03 | |
| 4 | 04 | 004 | 0000100 | EOT | End of transmission (Ctrl+D)^D |  | \x04 | |
| 5 | 05 | 005 | 0000101 | ENQ | Enquiry^E |  | \x05 | |
| 6 | 06 | 006 | 0000110 | ACK | Acknowledge^F |  | \x06 | |
| 7 | 07 | 007 | 0000111 | BEL | Bell^G |  | \a | |
| 8 | 08 | 010 | 0001000 | BS | Backspace^H |  | \b | |
| 9 | 09 | 011 | 0001001 | HT | Horizontal tab^I | 	 | \t | |
| 10 | 0A | 012 | 0001010 | LF | Line feed (new line)^J | | \n | |
| 11 | 0B | 013 | 0001011 | VT | Vertical tab^K |  | \v | |
| 12 | 0C | 014 | 0001100 | FF | Form feed^L |  | \f | |
| 13 | 0D | 015 | 0001101 | CR | Carriage return^M | | \r | |
| 14 | 0E | 016 | 0001110 | SO | Shift out^N |  | \x0e | |
| 15 | 0F | 017 | 0001111 | SI | Shift in^O |  | \x0f | |
| 16 | 10 | 020 | 0010000 | DLE | Data link escape^P |  | \x10 | |
| 17 | 11 | 021 | 0010001 | DC1 | Device control 1 (XON)^Q |  | \x11 | |
| 18 | 12 | 022 | 0010010 | DC2 | Device control 2^R |  | \x12 | |
| 19 | 13 | 023 | 0010011 | DC3 | Device control 3 (XOFF)^S |  | \x13 | |
| 20 | 14 | 024 | 0010100 | DC4 | Device control 4^T |  | \x14 | |
| 21 | 15 | 025 | 0010101 | NAK | Negative acknowledge^U |  | \x15 | |
| 22 | 16 | 026 | 0010110 | SYN | Synchronous idle^V |  | \x16 | |
| 23 | 17 | 027 | 0010111 | ETB | End of transmission block^W |  | \x17 | |
| 24 | 18 | 030 | 0011000 | CAN | Cancel^X |  | \x18 | |
| 25 | 19 | 031 | 0011001 | EM | End of medium^Y |  | \x19 | |
| 26 | 1A | 032 | 0011010 | SUB | Substitute (Ctrl+Z)^Z |  | \x1a | |
| 27 | 1B | 033 | 0011011 | ESC | Escape^[ |  | \x1b | |
| 28 | 1C | 034 | 0011100 | FS | File separator^\ |  | \x1c | |
| 29 | 1D | 035 | 0011101 | GS | Group separator^] |  | \x1d | |
| 30 | 1E | 036 | 0011110 | RS | Record separator^^ |  | \x1e | |
| 31 | 1F | 037 | 0011111 | US | Unit separator^_ |  | \x1f | |
| 32 | 20 | 040 | 0100000 | SP | Space |   | ||
| 33 | 21 | 041 | 0100001 | ! | Exclamation mark | ! | ||
| 34 | 22 | 042 | 0100010 | " | Double quote | " " | \" | |
| 35 | 23 | 043 | 0100011 | # | Hash | # | ||
| 36 | 24 | 044 | 0100100 | $ | Dollar sign | $ | ||
| 37 | 25 | 045 | 0100101 | % | Percent sign | % | ||
| 38 | 26 | 046 | 0100110 | & | Ampersand | & & | ||
| 39 | 27 | 047 | 0100111 | ' | Single quote (apostrophe) | ' ' | \' | |
| 40 | 28 | 050 | 0101000 | ( | Opening parenthesis | ( | ||
| 41 | 29 | 051 | 0101001 | ) | Closing parenthesis | ) | ||
| 42 | 2A | 052 | 0101010 | * | Asterisk | * | ||
| 43 | 2B | 053 | 0101011 | + | Plus sign | + | ||
| 44 | 2C | 054 | 0101100 | , | Comma | , | ||
| 45 | 2D | 055 | 0101101 | - | Hyphen-minus | - | ||
| 46 | 2E | 056 | 0101110 | . | Full stop (period) | . | ||
| 47 | 2F | 057 | 0101111 | / | Slash | / | ||
| 48 | 30 | 060 | 0110000 | 0 | Digit 0 | 0 | ||
| 49 | 31 | 061 | 0110001 | 1 | Digit 1 | 1 | ||
| 50 | 32 | 062 | 0110010 | 2 | Digit 2 | 2 | ||
| 51 | 33 | 063 | 0110011 | 3 | Digit 3 | 3 | ||
| 52 | 34 | 064 | 0110100 | 4 | Digit 4 | 4 | ||
| 53 | 35 | 065 | 0110101 | 5 | Digit 5 | 5 | ||
| 54 | 36 | 066 | 0110110 | 6 | Digit 6 | 6 | ||
| 55 | 37 | 067 | 0110111 | 7 | Digit 7 | 7 | ||
| 56 | 38 | 070 | 0111000 | 8 | Digit 8 | 8 | ||
| 57 | 39 | 071 | 0111001 | 9 | Digit 9 | 9 | ||
| 58 | 3A | 072 | 0111010 | : | Colon | : | ||
| 59 | 3B | 073 | 0111011 | ; | Semicolon | ; | ||
| 60 | 3C | 074 | 0111100 | < | Less-than sign | < < | ||
| 61 | 3D | 075 | 0111101 | = | Equals sign | = | ||
| 62 | 3E | 076 | 0111110 | > | Greater-than sign | > > | ||
| 63 | 3F | 077 | 0111111 | ? | Question mark | ? | ||
| 64 | 40 | 100 | 1000000 | @ | At sign | @ | ||
| 65 | 41 | 101 | 1000001 | A | Capital letter A | A | ||
| 66 | 42 | 102 | 1000010 | B | Capital letter B | B | ||
| 67 | 43 | 103 | 1000011 | C | Capital letter C | C | ||
| 68 | 44 | 104 | 1000100 | D | Capital letter D | D | ||
| 69 | 45 | 105 | 1000101 | E | Capital letter E | E | ||
| 70 | 46 | 106 | 1000110 | F | Capital letter F | F | ||
| 71 | 47 | 107 | 1000111 | G | Capital letter G | G | ||
| 72 | 48 | 110 | 1001000 | H | Capital letter H | H | ||
| 73 | 49 | 111 | 1001001 | I | Capital letter I | I | ||
| 74 | 4A | 112 | 1001010 | J | Capital letter J | J | ||
| 75 | 4B | 113 | 1001011 | K | Capital letter K | K | ||
| 76 | 4C | 114 | 1001100 | L | Capital letter L | L | ||
| 77 | 4D | 115 | 1001101 | M | Capital letter M | M | ||
| 78 | 4E | 116 | 1001110 | N | Capital letter N | N | ||
| 79 | 4F | 117 | 1001111 | O | Capital letter O | O | ||
| 80 | 50 | 120 | 1010000 | P | Capital letter P | P | ||
| 81 | 51 | 121 | 1010001 | Q | Capital letter Q | Q | ||
| 82 | 52 | 122 | 1010010 | R | Capital letter R | R | ||
| 83 | 53 | 123 | 1010011 | S | Capital letter S | S | ||
| 84 | 54 | 124 | 1010100 | T | Capital letter T | T | ||
| 85 | 55 | 125 | 1010101 | U | Capital letter U | U | ||
| 86 | 56 | 126 | 1010110 | V | Capital letter V | V | ||
| 87 | 57 | 127 | 1010111 | W | Capital letter W | W | ||
| 88 | 58 | 130 | 1011000 | X | Capital letter X | X | ||
| 89 | 59 | 131 | 1011001 | Y | Capital letter Y | Y | ||
| 90 | 5A | 132 | 1011010 | Z | Capital letter Z | Z | ||
| 91 | 5B | 133 | 1011011 | [ | Opening square bracket | [ | ||
| 92 | 5C | 134 | 1011100 | \ | Backslash | \ | \\ | |
| 93 | 5D | 135 | 1011101 | ] | Closing square bracket | ] | ||
| 94 | 5E | 136 | 1011110 | ^ | Caret | ^ | ||
| 95 | 5F | 137 | 1011111 | _ | Underscore | _ | ||
| 96 | 60 | 140 | 1100000 | ` | Backtick (grave accent) | ` | ||
| 97 | 61 | 141 | 1100001 | a | Small letter a | a | ||
| 98 | 62 | 142 | 1100010 | b | Small letter b | b | ||
| 99 | 63 | 143 | 1100011 | c | Small letter c | c | ||
| 100 | 64 | 144 | 1100100 | d | Small letter d | d | ||
| 101 | 65 | 145 | 1100101 | e | Small letter e | e | ||
| 102 | 66 | 146 | 1100110 | f | Small letter f | f | ||
| 103 | 67 | 147 | 1100111 | g | Small letter g | g | ||
| 104 | 68 | 150 | 1101000 | h | Small letter h | h | ||
| 105 | 69 | 151 | 1101001 | i | Small letter i | i | ||
| 106 | 6A | 152 | 1101010 | j | Small letter j | j | ||
| 107 | 6B | 153 | 1101011 | k | Small letter k | k | ||
| 108 | 6C | 154 | 1101100 | l | Small letter l | l | ||
| 109 | 6D | 155 | 1101101 | m | Small letter m | m | ||
| 110 | 6E | 156 | 1101110 | n | Small letter n | n | ||
| 111 | 6F | 157 | 1101111 | o | Small letter o | o | ||
| 112 | 70 | 160 | 1110000 | p | Small letter p | p | ||
| 113 | 71 | 161 | 1110001 | q | Small letter q | q | ||
| 114 | 72 | 162 | 1110010 | r | Small letter r | r | ||
| 115 | 73 | 163 | 1110011 | s | Small letter s | s | ||
| 116 | 74 | 164 | 1110100 | t | Small letter t | t | ||
| 117 | 75 | 165 | 1110101 | u | Small letter u | u | ||
| 118 | 76 | 166 | 1110110 | v | Small letter v | v | ||
| 119 | 77 | 167 | 1110111 | w | Small letter w | w | ||
| 120 | 78 | 170 | 1111000 | x | Small letter x | x | ||
| 121 | 79 | 171 | 1111001 | y | Small letter y | y | ||
| 122 | 7A | 172 | 1111010 | z | Small letter z | z | ||
| 123 | 7B | 173 | 1111011 | { | Opening curly brace | { | ||
| 124 | 7C | 174 | 1111100 | | | Vertical bar (pipe) | | | ||
| 125 | 7D | 175 | 1111101 | } | Closing curly brace | } | ||
| 126 | 7E | 176 | 1111110 | ~ | Tilde | ~ | ||
| 127 | 7F | 177 | 1111111 | DEL | Delete^? |  | \x7f |
Codes 0 to 127 in decimal, hex, octal and binary
Names for all 33 control characters, such as LF (line feed) and ESC
Caret notation used by terminals, such as ^C for ETX and ^? for DEL
HTML numeric entities, plus named ones like & and <
C and JavaScript escapes: \n, \t, \r, \0, \x1b
Filter to letters, digits, symbols, printable or control characters
Find the code of 'A' (65) or 'a' (97) for character arithmetic in C, Java or Python.
Spot a stray CR (13) before LF (10), a tab (9) in a CSV, or a NUL byte in a hex dump.
Get the HTML entity or string escape for quotes, ampersands and backslashes.
A capital letter and its small letter differ by 32, a single bit (0x20), which is why toggling that bit changes case. A digit's value is its code minus 48. Control keys follow the same rule: Ctrl plus a letter sends that letter's code minus 64, so Ctrl+C is 3 and Ctrl+[ is 27 (ESC).
ASCII covers only these 128 characters. Unicode keeps them at the same positions, and UTF-8 stores them as the same single bytes, so plain ASCII text is already valid UTF-8. Characters such as ₹ or Hindi letters are outside ASCII and take two to four bytes in UTF-8.
HTML Encoder/Decoder
Encode and decode HTML entities
Base64 Encoder/Decoder
Encode and decode Base64
URL Encoder/Decoder
Encode and decode URLs
Hash Generator
Generate MD5, SHA hashes
Image to ASCII Art
Turn an image into text art: classic ASCII, Unicode blocks or coloured HTML
Text to Hex
Text to UTF-8 hex bytes with any separator or 0x / \x prefix
Text to Binary
Text to 8-bit binary and binary back to text
Text to ASCII Codes
Characters to decimal ASCII codes and back
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.