ZapKit

ASCII table

Look up any ASCII character's code in every base, or find which character a code stands for, with names for the invisible control characters.

What is the ASCII table?

ASCII, the American Standard Code for Information Interchange, assigns numbers 0 to 127 to English letters, digits, punctuation and control signals. Published in 1963, it's the foundation of nearly every text encoding in use today, including UTF-8, whose first 128 characters are identical.

This table lists every code with its character, decimal, hexadecimal, octal and 7-bit binary values, HTML entity, a descriptive name and its kind. Search across all columns, filter to one kind of character, and copy any character with a click.

How to use the ASCII table

  1. 1.Search

    A character, a number in any base, or a name like tab.

  2. 2.Filter

    Control characters, letters, digits, symbols or space.

  3. 3.Copy

    Copy any character with one click.

Example: capital A

Looking up A:

Decimal / hex
65 / 41
Octal / binary
101 / 1000001
Small a
97, exactly 32 higher

Flipping one bit switches a letter's case, which is why case conversion is so cheap for computers.

Patterns in the table

Codes 0 to 31 and 127 are control characters from the teletype era; a few still matter: 9 is tab, 10 line feed, 13 carriage return and 27 escape. Printable characters run from 32 (space) to 126 (~).

The layout is clever: capital and small letters differ by exactly 32, one bit, so A is 65 and a is 97. Digits 0 to 9 are 48 to 57, so subtracting 48 gives the digit's value. Every ASCII character is one byte in UTF-8, unchanged.

Frequently asked questions

What about characters like é or €?

They aren't ASCII. Use the Unicode character inspector for those.

Is LF or CRLF a new line?

Unix and macOS use LF (10); Windows uses CR then LF (13, 10).

What is extended ASCII?

Several incompatible 8-bit sets using codes 128 to 255; UTF-8 replaced them.

Can I search by hex?

Yes. Type 41 to find A, for example.

More Developer tools