ASCII Table Reference

Complete reference of all 256 ASCII characters (0–255) with decimal, hex, binary, Unicode, and HTML entity values. Searchable, filterable, with Base64 character highlighting.

Last Updated: August 2026
100% Client-Side — Your data never leaves your device
DecHexUnicodeHTMLBinaryCharDescriptionCategory
000U+0000�00000000·NUL (Null character) [Ctrl+@]Control
101U+000100000001·SOH (Start of Heading) [Ctrl+A]Control
202U+000200000010·STX (Start of Text) [Ctrl+B]Control
303U+000300000011·ETX (End of Text) [Ctrl+C]Control
404U+000400000100·EOT (End of Transmission) [Ctrl+D]Control
505U+000500000101·ENQ (Enquiry) [Ctrl+E]Control
606U+000600000110·ACK (Acknowledge) [Ctrl+F]Control
707U+000700000111·BEL (Bell / Alert) [Ctrl+G]Control
808U+000800001000·BS (Backspace) [Ctrl+H]Control
909U+0009	00001001TAB (Horizontal Tab) [Ctrl+I]Control
100AU+000A
00001010LF (Line Feed / Newline) [Ctrl+J]Control
110BU+000B00001011·VT (Vertical Tab) [Ctrl+K]Control
120CU+000C00001100·FF (Form Feed) [Ctrl+L]Control
130DU+000D
00001101CR (Carriage Return) [Ctrl+M]Control
140EU+000E00001110·SO (Shift Out) [Ctrl+N]Control
150FU+000F00001111·SI (Shift In) [Ctrl+O]Control
1610U+001000010000·DLE (Data Link Escape) [Ctrl+P]Control
1711U+001100010001·DC1 (Device Control 1 / XON) [Ctrl+Q]Control
1812U+001200010010·DC2 (Device Control 2) [Ctrl+R]Control
1913U+001300010011·DC3 (Device Control 3 / XOFF) [Ctrl+S]Control
2014U+001400010100·DC4 (Device Control 4) [Ctrl+T]Control
2115U+001500010101·NAK (Negative Acknowledge) [Ctrl+U]Control
2216U+001600010110·SYN (Synchronous Idle) [Ctrl+V]Control
2317U+001700010111·ETB (End of Trans. Block) [Ctrl+W]Control
2418U+001800011000·CAN (Cancel) [Ctrl+X]Control
2519U+001900011001·EM (End of Medium) [Ctrl+Y]Control
261AU+001A00011010·SUB (Substitute / EOF) [Ctrl+Z]Control
271BU+001B00011011·ESC (Escape) [Esc]Control
281CU+001C00011100·FS (File Separator) [Ctrl+\]Control
291DU+001D00011101·GS (Group Separator) [Ctrl+]]Control
301EU+001E00011110·RS (Record Separator) [Ctrl+^]Control
311FU+001F00011111·US (Unit Separator) [Ctrl+_]Control
3220U+0020 00100000SpaceSpecial
3321U+0021!00100001!Punctuation: !Punctuation
3422U+0022"00100010"Punctuation: "Punctuation
3523U+0023#00100011#Punctuation: #Punctuation
3624U+0024$00100100$Punctuation: $Punctuation
3725U+0025%00100101%Punctuation: %Punctuation
3826U+0026&00100110&Punctuation: &Punctuation
3927U+0027'00100111'Punctuation: 'Punctuation
4028U+0028(00101000(Punctuation: (Punctuation
4129U+0029)00101001)Punctuation: )Punctuation
422AU+002A*00101010*Punctuation: *Punctuation
432BU+002B+00101011+Base64Punctuation: +Punctuation
442CU+002C,00101100,Punctuation: ,Punctuation
452DU+002D-00101101-Punctuation: -Punctuation
462EU+002E.00101110.Punctuation: .Punctuation
472FU+002F/00101111/Base64Punctuation: /Punctuation
4830U+00300001100000Base64Digit 0Digits
4931U+00311001100011Base64Digit 1Digits
5032U+00322001100102Base64Digit 2Digits
5133U+00333001100113Base64Digit 3Digits
5234U+00344001101004Base64Digit 4Digits
5335U+00355001101015Base64Digit 5Digits
5436U+00366001101106Base64Digit 6Digits
5537U+00377001101117Base64Digit 7Digits
5638U+00388001110008Base64Digit 8Digits
5739U+00399001110019Base64Digit 9Digits
583AU+003A:00111010:Punctuation: :Punctuation
593BU+003B&#59;00111011;Punctuation: ;Punctuation
603CU+003C&lt;00111100<Punctuation: <Punctuation
613DU+003D&#61;00111101=Punctuation: =Punctuation
623EU+003E&gt;00111110>Punctuation: >Punctuation
633FU+003F&#63;00111111?Punctuation: ?Punctuation
6440U+0040&#64;01000000@Punctuation: @Punctuation
6541U+0041&#65;01000001ABase64Uppercase AUppercase
6642U+0042&#66;01000010BBase64Uppercase BUppercase
6743U+0043&#67;01000011CBase64Uppercase CUppercase
6844U+0044&#68;01000100DBase64Uppercase DUppercase
6945U+0045&#69;01000101EBase64Uppercase EUppercase
7046U+0046&#70;01000110FBase64Uppercase FUppercase
7147U+0047&#71;01000111GBase64Uppercase GUppercase
7248U+0048&#72;01001000HBase64Uppercase HUppercase
7349U+0049&#73;01001001IBase64Uppercase IUppercase
744AU+004A&#74;01001010JBase64Uppercase JUppercase
754BU+004B&#75;01001011KBase64Uppercase KUppercase
764CU+004C&#76;01001100LBase64Uppercase LUppercase
774DU+004D&#77;01001101MBase64Uppercase MUppercase
784EU+004E&#78;01001110NBase64Uppercase NUppercase
794FU+004F&#79;01001111OBase64Uppercase OUppercase
8050U+0050&#80;01010000PBase64Uppercase PUppercase
8151U+0051&#81;01010001QBase64Uppercase QUppercase
8252U+0052&#82;01010010RBase64Uppercase RUppercase
8353U+0053&#83;01010011SBase64Uppercase SUppercase
8454U+0054&#84;01010100TBase64Uppercase TUppercase
8555U+0055&#85;01010101UBase64Uppercase UUppercase
8656U+0056&#86;01010110VBase64Uppercase VUppercase
8757U+0057&#87;01010111WBase64Uppercase WUppercase
8858U+0058&#88;01011000XBase64Uppercase XUppercase
8959U+0059&#89;01011001YBase64Uppercase YUppercase
905AU+005A&#90;01011010ZBase64Uppercase ZUppercase
915BU+005B&#91;01011011[Punctuation: [Punctuation
925CU+005C&#92;01011100\Punctuation: \Punctuation
935DU+005D&#93;01011101]Punctuation: ]Punctuation
945EU+005E&#94;01011110^Punctuation: ^Punctuation
955FU+005F&#95;01011111_Punctuation: _Punctuation
9660U+0060&#96;01100000`Punctuation: `Punctuation
9761U+0061&#97;01100001aBase64Lowercase aLowercase
9862U+0062&#98;01100010bBase64Lowercase bLowercase
9963U+0063&#99;01100011cBase64Lowercase cLowercase
10064U+0064&#100;01100100dBase64Lowercase dLowercase
10165U+0065&#101;01100101eBase64Lowercase eLowercase
10266U+0066&#102;01100110fBase64Lowercase fLowercase
10367U+0067&#103;01100111gBase64Lowercase gLowercase
10468U+0068&#104;01101000hBase64Lowercase hLowercase
10569U+0069&#105;01101001iBase64Lowercase iLowercase
1066AU+006A&#106;01101010jBase64Lowercase jLowercase
1076BU+006B&#107;01101011kBase64Lowercase kLowercase
1086CU+006C&#108;01101100lBase64Lowercase lLowercase
1096DU+006D&#109;01101101mBase64Lowercase mLowercase
1106EU+006E&#110;01101110nBase64Lowercase nLowercase
1116FU+006F&#111;01101111oBase64Lowercase oLowercase
11270U+0070&#112;01110000pBase64Lowercase pLowercase
11371U+0071&#113;01110001qBase64Lowercase qLowercase
11472U+0072&#114;01110010rBase64Lowercase rLowercase
11573U+0073&#115;01110011sBase64Lowercase sLowercase
11674U+0074&#116;01110100tBase64Lowercase tLowercase
11775U+0075&#117;01110101uBase64Lowercase uLowercase
11876U+0076&#118;01110110vBase64Lowercase vLowercase
11977U+0077&#119;01110111wBase64Lowercase wLowercase
12078U+0078&#120;01111000xBase64Lowercase xLowercase
12179U+0079&#121;01111001yBase64Lowercase yLowercase
1227AU+007A&#122;01111010zBase64Lowercase zLowercase
1237BU+007B&#123;01111011{Punctuation: {Punctuation
1247CU+007C&#124;01111100|Punctuation: |Punctuation
1257DU+007D&#125;01111101}Punctuation: }Punctuation
1267EU+007E&#126;01111110~Punctuation: ~Punctuation
1277FU+007F&#127;01111111·DEL (Delete) [Delete]Special
Showing 128 of 128 ASCII characters (0–127)Base64
About ASCII

ASCII (American Standard Code for Information Interchange) is a character encoding standard that uses 7 bits to represent 128 characters (0–127). It was first published in 1963 and remains the foundation of modern text encoding — UTF-8 is backwards-compatible with ASCII.

Extended ASCII (128–255) uses the 8th bit, doubling the character set to 256. Different systems defined different extended sets — the most common being ISO 8859-1 (Latin-1) shown here, which adds accented Latin characters, currency symbols, and punctuation used in Western European languages.

Base64 encoding uses a 64-character subset of ASCII: A-Z (uppercase), a-z (lowercase), 0-9 (digits), + and / (the 62nd and 63rd characters), plus = for padding. Characters belonging to the Base64 alphabet are highlighted in green in the table above.

Control characters (0–31 and 127) are non-printable and have special meanings. Many map to familiar keyboard shortcuts — Ctrl+C (ETX), Ctrl+D (EOT), Ctrl+Z (SUB), and Enter (CR+LF) all have roots in ASCII control codes.

Why this tool is safe

Your data never leaves your device — everything runs in your browser.

No server uploads. Other tools send your files to their servers. Ours don't.
Zero tracking of content. We never see, store, or log anything you convert.
Works offline. Once loaded, the tool works without an internet connection.

Common Escape Sequences

Escape sequences represent control characters with a backslash prefix. These are used in most programming languages including JavaScript, Python, C, Java, and Go.

EscapeNameDecHexDescription
\nNewline100ALine Feed (LF) — moves to next line
\rCarriage Return130DCR — returns cursor to start of line
\tHorizontal Tab909Moves cursor to next tab stop
\0Null Character000Terminates C-style strings
\\Backslash925CEscapes special characters
\'Single Quote3927Literal quote inside single-quoted strings
\"Double Quote3422Literal double quote inside strings
\bBackspace808Deletes previous character
\fForm Feed120CAdvances to next page/form feed
\vVertical Tab110BMoves to next vertical tab stop
\x41Hex Escape6541Any ASCII char by hex code (\x41 = 'A')
\u0041Unicode Escape6541Any Unicode char (\u0041 = 'A')

Base64 Character Map

Base64 maps 6-bit values (0–63) to 64 printable ASCII characters. Each Base64 character corresponds to a specific 6-bit index and an ASCII decimal code. The padding character = (ASCII 61) is used when the input length is not divisible by 3.

Aidx:0dec:65
Bidx:1dec:66
Cidx:2dec:67
Didx:3dec:68
Eidx:4dec:69
Fidx:5dec:70
Gidx:6dec:71
Hidx:7dec:72
Iidx:8dec:73
Jidx:9dec:74
Kidx:10dec:75
Lidx:11dec:76
Midx:12dec:77
Nidx:13dec:78
Oidx:14dec:79
Pidx:15dec:80
Qidx:16dec:81
Ridx:17dec:82
Sidx:18dec:83
Tidx:19dec:84
Uidx:20dec:85
Vidx:21dec:86
Widx:22dec:87
Xidx:23dec:88
Yidx:24dec:89
Zidx:25dec:90
aidx:26dec:97
bidx:27dec:98
cidx:28dec:99
didx:29dec:100
eidx:30dec:101
fidx:31dec:102
gidx:32dec:103
hidx:33dec:104
iidx:34dec:105
jidx:35dec:106
kidx:36dec:107
lidx:37dec:108
midx:38dec:109
nidx:39dec:110
oidx:40dec:111
pidx:41dec:112
qidx:42dec:113
ridx:43dec:114
sidx:44dec:115
tidx:45dec:116
uidx:46dec:117
vidx:47dec:118
widx:48dec:119
xidx:49dec:120
yidx:50dec:121
zidx:51dec:122
0idx:52dec:48
1idx:53dec:49
2idx:54dec:50
3idx:55dec:51
4idx:56dec:52
5idx:57dec:53
6idx:58dec:54
7idx:59dec:55
8idx:60dec:56
9idx:61dec:57
+idx:62dec:43
/idx:63dec:47
=paddingdec:61

Group breakdown: A–Z (0–25), a–z (26–51), 0–9 (52–61), + (62), / (63), = (padding). The Base64 alphabet contains exactly 64 characters plus the padding character.

Work with ASCII in Code

Look up ASCII values, validate characters, and convert between representations.

JavaScript
// Get ASCII code for a character
  const code = "A".charCodeAt(0);
  console.log(code); // 65

  // Get character from ASCII code
  const char = String.fromCharCode(65);
  console.log(char); // "A"

  // Check if a character is printable ASCII (32–126)
  function isPrintableASCII(ch: string): boolean {
    const code = ch.charCodeAt(0);
    return code >= 32 && code <= 126;
  }

  // Check if character is in Base64 alphabet
  function isBase64(ch: string): boolean {
    return /^[A-Za-z0-9+/]$/.test(ch);
  }

  // Full ASCII table lookup
  function getAsciiInfo(code: number) {
    return {
      dec: code,
      hex: `0x${code.toString(16).toUpperCase()}`,
      char: String.fromCharCode(code),
      isPrintable: code >= 32 && code <= 126,
      isControl: code < 32 || code === 127,
      isDigit: code >= 48 && code <= 57,
      isUpper: code >= 65 && code <= 90,
      isLower: code >= 97 && code <= 122,
    };
  }
  console.log(getAsciiInfo(66));
  // { dec: 66, hex: "0x42", char: "B", isPrintable: true, ... }

Frequently Asked Questions

Search below or browse through our most commonly asked questions.

ASCII (American Standard Code for Information Interchange) is the foundation of modern text encoding. It defines 128 characters — including letters, digits, punctuation, and control codes — that almost every computer system understands. Even UTF-8 is backwards-compatible with ASCII, making ASCII knowledge essential for any developer working with text, protocols, or character encoding.
Characters 32-126 are printable — they include letters, numbers, and symbols you can see. Characters 0-31 and 127 are control characters with special meanings (like carriage return at 13, line feed at 10, and tab at 9). These are used for formatting text and controlling devices, not for display. Many map to familiar keyboard shortcuts — Ctrl+C is ETX, Ctrl+D is EOT, and Ctrl+Z is SUB.
Extended ASCII (0-255) uses the 8th bit, doubling the character set from 128 to 256. While standard ASCII (0-127) is universal, extended ASCII (128-255) varies between systems. The most common version is ISO 8859-1 (Latin-1), which adds accented characters (like e, n, u), currency symbols (like Pound and Yen), and special punctuation used in Western European languages. Our table shows the ISO 8859-1 mapping for extended characters.
Escape sequences are backslash-prefixed codes that represent control characters in programming languages. The most common are \n (newline, ASCII 10), \r (carriage return, ASCII 13), \t (tab, ASCII 9), \0 (null, ASCII 0), \\ (backslash, ASCII 92), and \" (double quote, ASCII 34). These work identically in JavaScript, Python, C, Java, and most other languages.
Base64 encoding uses 64 of the printable ASCII characters (A-Z, a-z, 0-9, +, /) and = for padding. Our table highlights all Base64 alphabet characters in green so you can see exactly which ASCII codes participate in Base64 encoding. The index-to-character mapping is: 0-25 -> A-Z, 26-51 -> a-z, 52-61 -> 0-9, 62 -> +, 63 -> /. Padding is = (ASCII 61).
Unicode code points are written as U+XXXX where XXXX is the hexadecimal value. All 256 ASCII characters correspond to identical Unicode code points: ASCII 'A' (dec 65) is Unicode U+0041. This means every valid ASCII string is also a valid UTF-8 string — no conversion needed. Our table shows both the ASCII decimal value and the equivalent Unicode code point for every character.
HTML entities let you represent ASCII characters in HTML documents without typing the actual character. Named entities exist for common symbols (&amp; for &, &lt; for <, &gt; for >, &quot; for ") and numeric entities work for any character (&#65; = 'A'). Our table shows both forms. Extended ASCII characters (128-255) have a full set of named HTML entities like &copy; for (c) and &eacute; for e.
Yes — the search box filters the entire table in real time across all 256 characters. You can search by character (like 'A' or '?'), by decimal number (like '65'), by hex value (like '0x41'), by Unicode code point (like 'U+0041'), by HTML entity (like '&amp;'), or by description text (like 'grave' or 'circumflex'). The table updates instantly as you type.