ASCII Table — Character Codes Chart

Complete ASCII reference table with decimal, hexadecimal, octal, and binary codes for all 128 standard ASCII characters. Search, filter, click any row for details, and convert between ASCII and text.

ASCII ↔ Text Converter

ASCII codes will appear here
Text will appear here

Full ASCII Character Table

Control (0-31)
Printable (32-126)
DEL (127)
Extended (128-255)
Dec Hex Oct Binary Char HTML Description
Showing 128 characters
Decimal
Hexadecimal
Octal
Binary
HTML Entity
CSS / JS Escape
C Escape
URL Encode

Frequently Asked Questions

What is ASCII and how many characters does it have?
ASCII (American Standard Code for Information Interchange) is a character encoding standard that uses numeric codes to represent text characters. Standard ASCII defines 128 characters (0-127), including 33 control characters (0-31 and 127), and 95 printable characters (32-126) covering uppercase and lowercase letters, digits 0-9, punctuation, and the space character.
What is the difference between ASCII and Extended ASCII?
Standard ASCII uses 7 bits to represent 128 characters (0-127). Extended ASCII uses 8 bits to represent 256 characters (0-255). The extra 128 characters (128-255) include accented letters, currency symbols, box-drawing characters, and other special symbols. Extended ASCII varies by code page (e.g., ISO 8859-1, Windows-1252).
How do I convert between ASCII codes and characters?
To convert a character to its ASCII code, you can look it up in an ASCII table or use programming functions like ord() in Python, charCodeAt() in JavaScript, or (int) casting in C. To convert an ASCII code back to a character, use chr() in Python, String.fromCharCode() in JavaScript, or (char) casting in C. You can also use the converter tool above to do it instantly.

Embed this tool

<iframe src="https://devtoolbox.dedyn.io/tools/ascii-table" width="100%" height="800" frameborder="0" title="ASCII Table - DevToolbox"></iframe>
Keyboard Shortcuts
Ctrl+Enter Run / Convert
Ctrl+Shift+C Copy output
Ctrl+L Clear
Esc Close detail popup