ASCII table — Guide

The standard ASCII table from 0 to 127 with decimal, hexadecimal, octal and binary values, searchable by character or code.

What it is and when to use it

The standard ASCII table from 0 to 127 with decimal, hexadecimal, octal and binary values side by side, searchable by character or by code. The quickest way to resolve "what is the hex for newline" or "which character is 0x7F" without opening a full Unicode reference.

A reference for the standard ASCII table (0–127), listing the character alongside its decimal, hexadecimal, octal and binary forms, with a short description.

How to use it

  1. Type a character (e.g. A) or a code value (e.g. 65, 0x41) in the search box
  2. The list filters live
  3. Compare against the bases listed for each row

A worked example

Fill in a sample query

A

Copy this into the tool, or open ASCII table

Things that trip people up

  • Search matches the character, the description, and the decimal and hexadecimal values

Questions people ask

Why does the table stop at 127?
Classic ASCII defines 128 codes (0–127). Values 128–255 belong to extended encodings like Latin-1, which vary by convention — for those, use the Unicode tool instead.
Which codes are the invisible control characters?
0–31 plus 127 (DEL). They predate screens — BEL, CR, LF and TAB are the ones you still meet daily in logs and file formats.
What is the difference between 0x30 and the digit 0?
The character "0" has code 48 (0x30); the byte value 0 is the NUL terminator. Confusing the two is a classic C-string bug, which is exactly why this table shows both views at once.

Next steps

Open the ASCII table tool

Spotted something wrong on this page? Tell us via Contact Us