Skip to content

ASCII table

Every ASCII character from 0 to 127, plus the extended range 128–255, with decimal, hexadecimal, octal and binary codes, HTML entities and names. Click any row to copy the character.

  • Free, no limits
  • No sign-up
Everything happens in your browser; nothing is uploaded to a server.
  • ✓ Free
  • ✓ No sign-up
  • ✓ Nothing uploaded

Next step

What to do next

How to use it

  1. Pick ASCII 0–127 or Extended ASCII 128–255 (Windows-1252).
  2. Search by character, code (65, 0x41) or name (e.g. tilde).
  3. Click a row to copy the character and see its Unicode and HTML codes.
  4. Use the HTML code button to copy the numeric entity.
Try it now

What ASCII is

ASCII (American Standard Code for Information Interchange) assigns numbers 0–127 to letters, digits, punctuation and control codes. It was standardized in the 1960s and still forms the first 128 characters of Unicode and UTF-8, so the code for "A" is 65 in ASCII, in UTF-8 and in Unicode (U+0041).

RangeContents
0–31Control characters (non-printing)
32Space
33–47Punctuation and symbols
48–57Digits 0–9
58–64More symbols
65–90Uppercase A–Z
91–96Symbols
97–122Lowercase a–z
123–126Symbols
127DEL

Useful patterns in the table

  • Uppercase and lowercase letters differ by exactly 32 (one bit): A = 65, a = 97. Flipping bit 5 toggles the case.
  • Digits 0–9 are 48–57, so a digit's value is its code minus 48.
  • Control characters are the letter codes minus 64, which is why Ctrl + M sends carriage return (13) and Ctrl + I sends tab (9).
CharDecHexBinary
Space322000100000
0483000110000
A654101000001
a976101100001
~1267E01111110

Control characters you will meet

Most of the 32 control codes are relics of teleprinters, but a few are everywhere:

  • LF (10, \n): line feed, the newline on Linux and macOS.
  • CR (13, \r): carriage return; Windows ends lines with CR LF.
  • HT (9, \t): horizontal tab.
  • ESC (27): escape, the start of terminal color and cursor codes.
  • NUL (0): the string terminator in C.
  • BEL (7): rings the terminal bell.
  • DEL (127): delete.

The table lists the abbreviation and full name for each, and you can search by name, for example "carriage" or "escape".

Extended ASCII (128–255)

"Extended ASCII" is not one standard: many 8-bit code pages used the upper half differently. On US and Western European Windows systems the most common is Windows-1252, a superset of ISO-8859-1 (Latin-1) that adds curly quotes, the euro sign (€ at 128), the em dash and the trademark sign in the 128–159 range. Five positions (129, 141, 143, 144, 157) are unassigned.

The tool builds this range with your browser's built-in encoding tables, so the characters are exact. On Windows, many of these characters can be typed with Alt + 0 + code on the numeric keypad, for example Alt + 0169 for ©.

Codes for programmers

Click any row to see its decimal, hex, octal and binary values, its Unicode code point and its HTML numeric entity (for example © for ©). The character is copied to your clipboard automatically. The search accepts plain numbers (65), hex (0x41, \x41 or %41) and names.

For whole strings rather than single characters, convert text with the binary translator or escape it with Unicode escape. Converting between number bases? Try decimal to hex.

Frequently asked questions

What is the ASCII code for A?

Uppercase A is 65 (hex 41). Lowercase a is 97 (hex 61).

How many characters are in ASCII?

128, numbered 0 to 127. Codes 0–31 and 127 are control characters; 32–126 are printable.

What is extended ASCII?

A loose name for 8-bit code pages that add characters 128–255. Windows-1252 is the most common on US and Western systems.

Is ASCII the same as UTF-8?

The first 128 characters are identical. UTF-8 encodes all other Unicode characters with two to four bytes.

How do I type an ASCII character with Alt codes?

On Windows, hold Alt and type 0 plus the decimal code on the numeric keypad, for example Alt + 0169 for ©.

Last updated: November 12, 2026

Recommended

Similar tools

If ASCII table helped, you may need these too.

See all in category →

People also use