Interactive ASCII Table & Inspector

The American Standard Code for Information Interchange (ASCII) is a foundational character encoding standard established in 1963. It assigns numerical integers from 0 to 127 to 128 specified characters, including 33 non-printing control codes and 95 printable characters (letters, digits, punctuation, and whitespace).

ASCII Binary Encoding (7-Bit Standard)

\text{Code Point} \in [0, 127] \quad | \quad \text{Upper to Lowercase: } \text{ASCII}(\text{lowercase}) = \text{ASCII}(\text{uppercase}) + 32

Standard ASCII uses 7 bits per character, usually stored inside an 8-bit byte. Setting bit 5 toggles letters between uppercase and lowercase.

How to Use This Tool

  1. Search or Filter Characters: Search by character glyph, control name (NUL, LF, CR), or numerical code in decimal, hex, or binary.
  2. Inspect Multi-Radix Details: Click any character row to inspect its simultaneous representation in Decimal, Hex (0x), Binary (0b), and Octal (0o).
  3. Copy Character or Codes: Instantly copy the character glyph, hex code, or binary byte to your clipboard for use in programming.

Worked Example

Scenario: Inspect capital letter 'A' and its lowercase counterpart 'a'.

Calculation: Letter 'A' is Decimal 65 (Hex 0x41, Binary 01000001). Adding 32 yields 97 (Hex 0x61, Binary 01100001) for 'a'.

Result: A = 65 (0x41) | a = 97 (0x61) — Bit 5 controls letter case

Common Mistakes & Pitfalls to Avoid

  • Confusing CR (Carriage Return, 13) with LF (Line Feed, 10). Windows systems historically use CRLF for newlines, whereas modern Unix and macOS systems use LF.
  • Assuming ASCII supports emojis or international accented characters. Standard ASCII only contains 128 English characters. Accented letters, emojis, and global scripts require multi-byte UTF-8 Unicode encoding.

Frequently Asked Questions

What are ASCII control characters?
ASCII 0 to 31 plus 127 are non-printing control codes designed to govern teletypes and communication hardware, such as NUL (Null), BEL (Bell), BS (Backspace), and ESC (Escape).
How does ASCII relate to modern UTF-8?
UTF-8 is strictly backward-compatible with 7-bit ASCII. The first 128 characters of UTF-8 use identical single-byte numerical codepoints as standard ASCII.