Complete User Guide to the 7-Bit ASCII Table, Control Codes, and Character Encodings

How Standard 7-Bit ASCII Maps Characters to Numbers (0–127)

The American Standard Code for Information Interchange (ASCII) assigns each of 128 standard characters a unique 7-bit integer from 0 to 127 (0x00 to 0x7F in hexadecimal). Because ASCII forms the foundational subset of UTF-8 and modern text encodings, developers, network engineers, and students regularly check ASCII decimal, hexadecimal, octal, binary, and HTML entity representations when debugging protocols, escape sequences, CSV/line-ending delimiters (CR/LF), and string parsers. A browser-based ASCII Table Viewer lets you filter all 128 codes and inspect any string's byte codes 100% locally in your browser—with zero server uploads.

How to Look Up ASCII Codes or Inspect Text in 3 Easy Steps

  1. Filter by Category or Search Query: Click a category tab (All, Control, Printable, Digits, or Letters) or type a character, decimal code (like 65), hex code (like 0x41), or name (like LF or Space) into Filter Table.
  2. Inspect Any Text String or Click a Row: Type into Quick Text-to-ASCII Code Inspector to see decimal and hexadecimal values for every character, or click any table row to highlight and copy its details.
  3. Copy or Export: Click Copy Selected / Visible Codes to copy to your clipboard, or click Download .txt to save a plain-text reference locally.

Key ASCII Case & Digit Offsets

ASCII arranges digits and uppercase/lowercase Latin letters in contiguous blocks with clean bit patterns:

Digits '0'–'9': Dec 48–57 (0x30–0x39)  |  Uppercase 'A'–'Z': Dec 65–90 (0x41–0x5A)
Lowercase 'a'–'z': Dec 97–122 (0x61–0x7A)  |  Case Offset: 'a' − 'A' = 32 (0x20, single bit)

Helpful Tips When Working With ASCII Codes

Worked Example: Typing Hello! into the text inspector displays decimal ASCII codes 72 101 108 108 111 33 and hexadecimal codes 0x48 0x65 0x6C 0x6C 0x6F 0x21.

Essential ASCII Control & Printable Milestones Reference Table (16 Rows)

Use this quick-reference summary of landmark ASCII codes and ranges.

Code / Range Hex / Binary Symbol / Name Common Usage
Dec 0 0x00 • 00000000 NUL (Null) C-string terminator / null byte
Dec 7 0x07 • 00000111 BEL (Bell) Terminal alert / \a
Dec 8 0x08 • 00001000 BS (Backspace) Backspace control / \b
Dec 9 0x09 • 00001001 TAB (Horizontal Tab) Tab delimiter / \t
Dec 10 0x0A • 00001010 LF (Line Feed) Newline / \n (Unix/macOS)
Dec 13 0x0D • 00001101 CR (Carriage Return) Return / \r (part of CRLF)
Dec 27 0x1B • 00011011 ESC (Escape) ANSI terminal escape sequences
Dec 32 0x20 • 00100000 SPACE First printable ASCII character
Dec 48–57 0x30–0x39 0 through 9 ASCII decimal digits
Dec 65–90 0x41–0x5A A through Z Uppercase English alphabet
Dec 97–122 0x61–0x7A a through z Lowercase English alphabet
Dec 127 0x7F • 01111111 DEL (Delete) Final 7-bit ASCII control code
Row Click & Copy Click any row in the interactive table to inspect & copy its Dec/Hex/Oct/Bin values
Client-Side Engine Browser JavaScript ASCII Generator & Inspector — Zero Server Latency
Server Uploads None — All searches and text inspections run locally in your browser
Privacy Status 100% Local Processing — Your inspected strings never leave your device

Formatting JSON, generating passwords, converting Roman numerals, or counting characters? Explore our companion client-side tools:

Frequently Asked Questions

Standard 7-bit ASCII defines 128 characters numbered 0 through 127—comprising 33 non-printable control characters (0–31 and 127) and 95 printable characters (32–126).
Type or paste your string into the Quick Text-to-ASCII Code Inspector input above the table to see each character's decimal and hexadecimal codes immediately.
Never. Everything runs 100% client-side inside your browser.
Yes! It is completely free with no sign-up required.