ASCII Table Reference

Look up the decimal, hexadecimal, octal and binary code of every character from 0 to 255 online, with range tabs for printable, control and extended ASCII plus keyword search.

FreeOnline Tool
Loading…

How to Use

  1. Use the three tabs at the top to pick a range: printable characters (32-126), control characters (0-31) or extended ASCII (128-255).
  2. The table below lists each character in that range with its decimal (DEC), hexadecimal (HEX), octal (OCT) and binary (BIN) code plus a description.
  3. Type a number, hex value, character or description into the search box to filter the table live and jump straight to what you need.

Features

  • Three ASCII ranges one click apart: printable characters (32-126), control characters (0-31) and extended ASCII (128-255)
  • Every character shows all four representations - decimal, hexadecimal, octal and binary - so no manual conversion is needed
  • Control characters are labeled with their standard abbreviations such as NUL, TAB, LF, CR and ESC
  • The search box filters live by decimal value, hexadecimal value, the character itself or its description

Use Cases

Everyday development lookups
Check the numeric code of a character while writing string handling, protocol parsing or encoding conversion code.
Network protocol debugging
Decode hex packet dumps by confirming what invisible control characters such as TAB, CR and LF actually are.
Investigating odd data
Trace a strange character found in a config file or log back to its real meaning through its code value.
Teaching and training
Show a complete ASCII table on screen when explaining how character encoding works.

FAQ

Which number bases does the table show?
Every row shows the decimal (DEC), hexadecimal (HEX), octal (OCT) and binary (BIN) representation at the same time, so you never have to convert by hand.
What are control characters?
ASCII codes 0-31 plus 127 are control characters such as TAB, LF (line feed) and ESC. The description column labels each one with its standard abbreviation.
What is in the extended ASCII range?
Codes 128-255 are extended ASCII. The actual glyph varies by platform and encoding, so this range is shown purely as a numeric reference.
What can I type in the search box?
A decimal number, a hexadecimal value, the character itself or part of a control character description - the table filters live as you type.