ASCII Table

Full 0-127 reference with search and lookup

DecHexOctCharDescription

How to Use

ASCII is the most fundamental character encoding in computing: 128 code points (0-127) covering control characters, digits, upper/lowercase letters and common symbols. When debugging protocols, handling escapes or hunting down mojibake, you often need to look up a character's code or a code's character.

This page lists decimal, hexadecimal, octal and meaning for all 128 code points, with keyword search for quick lookup. You can also enter a single character to find its code, or a code to find its character. The data is built in, so it works offline.

FAQ

How do ASCII, Unicode and UTF-8 relate?

ASCII has only 128 characters and is a subset of Unicode — the first 128 Unicode code points match ASCII exactly. UTF-8 is one encoding of Unicode, in which ASCII characters remain single bytes, keeping plain English text fully compatible.

Which control characters are commonly used?

0 is NUL, 9 is Tab, 10 is LF (line feed), 13 is CR (carriage return), 27 is ESC, 32 is space, 127 is DEL. Windows text files use CRLF (13+10) for line breaks while Linux/Mac use LF (10) — a classic source of cross-platform issues.

What's the pattern for digits and letters?

Digits 0-9 are 48-57; uppercase A-Z are 65-90; lowercase a-z are 97-122. Upper and lowercase differ by exactly 32, so lowercasing is +32 (or a bitwise OR with 0x20).