Skip to content
AgileLogics

ASCII Table

Shows the full printable and control-character ASCII table, searchable by decimal code, hex code, or character.

How it works

Leave blank for the full table, or search by decimal (65), hex (0x41), a single character, or a control name such as ESC or null — the results update as you type.

What is the ASCII table?

The ASCII table lists the 128 characters of the American Standard Code for Information Interchange, numbered 0 to 127, and the number a computer uses for each. Capital A is 65, a space is 32, a line feed is 10. ASCII was standardised in the 1960s (RFC 20 reproduces it), and its 128 codes are still the first 128 code points of Unicode and the single-byte characters of UTF-8.

This page lists every code with its decimal value, its hex value and the character itself, or the control code's short name where there's nothing to print.

Searching the table

  1. Leave the search box empty and click View to see all 128 rows.
  2. Or start typing. The results update with every keystroke.
  3. Copy the rows you need.

Each row reads like 65 0x41 A: decimal, hex, character. The search follows a few fixed rules, with exact matches listed first:

  • A single character finds exactly that character, and case matters: a gives only 97 0x61 a, A gives only 65. A single digit also lists the control code with that decimal number after it, so 9 shows the digit 9 (57) and then TAB (9). Typing a single space finds Space.
  • A plain number is a decimal code: 65 finds A and nothing else.
  • A 0x or \x prefix means hex: 0x41 finds A, 0x7f finds DEL. Bare hex that contains a letter, such as 7f or 1b, is read as hex too.
  • A name is matched without regard to case: esc, del, space, ff. Common aliases work as well: null finds NUL, newline or \n finds LF, \t finds TAB, \r or carriage return finds CR, escape finds ESC, delete finds DEL.
  • Part of a control name comes after any exact match: dc lists DC1 to DC4.

How the 128 codes are organised

Range (decimal) Hex Contents
0-31 0x00-0x1f Control characters
32 0x20 Space
33-47 0x21-0x2f Punctuation and symbols ! " # $ % & ' ( ) * + , - . /
48-57 0x30-0x39 Digits 0 to 9
58-64 0x3a-0x40 : ; < = > ? @
65-90 0x41-0x5a Uppercase A to Z
91-96 0x5b-0x60 [ \ ] ^ _ and the backtick
97-122 0x61-0x7a Lowercase a to z
123-126 0x7b-0x7e {, the vertical bar, } and ~
127 0x7f DEL

The layout is deliberate. A digit's code minus 48 gives its value, so '7' - '0' is 7 in C. Lowercase letters sit exactly 32 above their capitals, so switching case flips a single bit.

Control characters you still meet

Most of the 33 control codes were designed for teleprinters and are rarely used now. A handful matter every day:

Code Hex Name Where it shows up
0 0x00 NUL String terminator in C
7 0x07 BEL Makes a terminal beep
8 0x08 BS Backspace
9 0x09 TAB Tab-separated data, indentation
10 0x0a LF Line ending on Linux and macOS
13 0x0d CR Paired with LF as CRLF on Windows and in HTTP headers
27 0x1b ESC Starts ANSI terminal color sequences
127 0x7f DEL Delete

CRLF line endings are required between HTTP/1.1 header lines by RFC 9112, which is why a stray bare LF can break a hand-written request. Unicode keeps these names for U+0000 to U+001F in its C0 Controls chart.

What the table doesn't cover

  • Codes 128-255. "Extended ASCII" was never one standard; Windows-1252, ISO 8859-1 and old DOS code pages all disagree. This table sticks to real ASCII.
  • Octal and binary columns. Only decimal and hex are listed. Use the base converters below if you need the others.
  • Unicode lookups. Searching for é or an emoji returns "No matching ASCII characters found."
  • Partial matches on letters and symbols. Only control names are searched by fragment; a multi-character string such as ab isn't split into its characters.

The table is generated in your browser from a fixed list, and your searches aren't sent anywhere.

Related tools

Last updated

Frequently asked questions

How many characters are in the ASCII table?
128, numbered 0 to 127. Codes 0 to 31 and 127 are control characters, 32 is the space, and 33 to 126 are the 94 visible characters: digits, letters and punctuation.
Is a number I search for read as decimal or hex?
Decimal. 65 finds only A. To search by hex, add the 0x prefix: 0x41 finds A and 0x65 finds e. Hex digits that include a letter, such as 7f or 1b, are also read as hex because they can't be decimal.
Can I search for a hex code with the 0x prefix?
Yes. 0x41, 0X7F and \x1b all work, and so does a longer form like 0x0041. Codes above 0x7f aren't ASCII and return "No matching ASCII characters found."
Does it include extended ASCII like é or the euro sign?
No. ASCII stops at 127. Characters such as é and € come from other encodings or Unicode, and searching for them finds nothing here. Their bytes depend on the encoding, which is UTF-8 on most of the web.
Why does the table show names like LF and ESC instead of characters?
Control characters have no visible glyph, so the table shows their standard abbreviations: LF (line feed, 10), CR (carriage return, 13), TAB (9), ESC (27), DEL (127), and so on. The space at 32 is shown as the word Space.