ASCII Table – Codes in Decimal, Hex, Binary

Look up any ASCII character: its code in decimal, hex, octal and binary, its HTML entity, and the meaning of control characters.

FreeNo sign-upPrivate — runs in your browser

DecHexOctBinaryCharHTMLDescription

How to use the ASCII Table

  1. Browse or searchScroll the table or search by typing a single character, a decimal number like 65, a hex number like 0x41, or a word like “tab” or “escape”.
  2. Pick the rangeStandard ASCII covers codes 0–127. Extended shows 128–255 as Latin-1 (the first block of Unicode), used by many old systems.
  3. Convert textType text in the converter to see its codes in decimal and hex. Click any row in the table to copy its decimal code.

Example

A is decimal 65, hex 41, binary 01000001; lowercase a is 97 (hex 61), exactly 32 higher.

Hi! becomes 72 105 33 in decimal and 48 69 21 in hex. A new line (LF) is 10 and a tab is 9.

Frequently asked questions

What is ASCII?

The American Standard Code for Information Interchange: a 7-bit code from 1963 that gives numbers 0–127 to English letters, digits, punctuation and control signals. It is the base of UTF-8, so these codes are the same in almost every system today.

What are control characters?

Codes 0–31 and 127 are not printable. They were made to control printers and terminals: 10 is a line feed (new line), 13 a carriage return, 9 a tab and 27 the escape key.

Is extended ASCII the same everywhere?

No. Codes 128–255 depend on the code page. This table shows ISO-8859-1 (Latin-1), which matches the first 256 Unicode characters. Windows-1252 differs in 128–159.

Popular posts from this blog

Character Counter

Speech to Text Online

Keyboard Tester