Skip to main content

ASCII Table

Complete ASCII character reference with decimal, hexadecimal, binary, and HTML entity codes

Char Name Decimal Hex Binary HTML
Share:
â„šī¸

About this Tool

ASCII Table is a free, privacy-first tool built for developers. Complete ASCII character reference with decimal, hexadecimal, binary, and HTML entity codes

✓100% Client-Side: All processing happens in your browser. No data is ever sent to our servers.

✓Fast & Efficient: Instant results with no server roundtrips or delays.

✓Free Forever: No sign-up, no limits, no hidden fees. Use as much as you need.

â„šī¸

Disclaimer

This tool is provided for informational and educational purposes only. All processing happens entirely in your browser - no data is sent to our servers. While we strive for accuracy, please verify critical data before use in production environments. FormatKit is not responsible for any data loss, corruption, or issues resulting from tool usage.

How to Use the ASCII Table

This ASCII table shows all 128 characters in the ASCII character set (codes 0-127). Use the search box to find specific characters by name, decimal code, hexadecimal code, or binary representation. Click any code value to copy it to your clipboard for easy use in your code.

Filter by category to view only control characters (0-31, 127), whitespace characters (space, tab, line feed, carriage return), or printable characters (33-126). All processing happens in your browser - no data is sent to servers.

Understanding ASCII

ASCII (American Standard Code for Information Interchange) is a character encoding standard that represents text in computers and electronic devices. Each character is assigned a unique 7-bit code (0-127), allowing 128 possible characters.

  • Control characters (0-31, 127): Non-printable characters used for text control (NULL, TAB, LINE FEED, etc.)
  • Printable characters (32-126): Letters, numbers, punctuation, and symbols visible in text
  • Extended ASCII (128-255): Not shown here; varies by encoding (ISO-8859-1, Windows-1252, etc.)

Common Use Cases

  • Programming reference: Look up character codes for string manipulation and parsing
  • Binary/Hex conversion: Convert between character representations in different bases
  • Data transmission: Understand control characters used in communication protocols
  • HTML entities: Find HTML entity codes for special characters in web development
  • Debugging: Identify unexpected characters in data by their codes
  • Learning: Understand how computers represent text internally

ASCII Character Categories

Control Characters (0-31, 127)

Control characters are non-printable characters originally designed to control hardware devices like printers and terminals. While many are legacy, some remain essential in modern computing:

  • NULL (0): Null character, often used as string terminator
  • TAB (9): Horizontal tab, for indentation and spacing
  • LF (10): Line feed, newline character on Unix/Linux systems
  • CR (13): Carriage return, used with LF on Windows systems
  • ESC (27): Escape character, used in terminal control sequences
  • DEL (127): Delete character

Printable Characters (32-126)

Printable characters include all visible characters that can be displayed on screen:

  • Space (32): The space character
  • Digits (48-57): Numbers 0-9
  • Uppercase letters (65-90): A-Z
  • Lowercase letters (97-122): a-z
  • Symbols and punctuation: !, @, #, $, %, etc.

FAQ

Q: What's the difference between ASCII and Unicode?

ASCII uses 7 bits to represent 128 characters (mostly English letters, numbers, and basic symbols). Unicode extends this to support over 140,000 characters from all writing systems worldwide. The first 128 Unicode characters (U+0000 to U+007F) are identical to ASCII for backward compatibility.

Q: Can I copy these codes to use in my program?

Yes! Click any decimal, hexadecimal, or binary code value in the table to copy it to your clipboard. You can then paste it directly into your code or documentation.

Q: What are control characters?

Control characters (ASCII 0-31 and 127) are non-printable characters originally used to control devices like printers and terminals. Common examples include TAB (9), LINE FEED (10), CARRIAGE RETURN (13), and ESC (27). While many are legacy, some like TAB and newline characters are still essential in modern computing.

Q: Why do some characters show HTML entities?

HTML entities provide safe ways to display special characters in HTML documents. For example, < for < and & for & prevent the browser from interpreting these as HTML markup. While not all ASCII characters have named entities, the most important ones are shown for web development reference.

Q: What's the difference between decimal, hex, and binary codes?

All three represent the same character in different number systems. Decimal is base-10 (0-127), hexadecimal is base-16 (0x00-0x7F), and binary is base-2 (00000000-01111111). Programmers often use hex because it's more compact than binary but easier to convert than decimal.

Related Tools

Enhance your character encoding workflow with these related tools: