glunty

ASCII Table Reference (0-127)

Every ASCII code point from 0 to 127 with decimal, hex, octal, binary, glyph, and name. Filter, then copy locally.

ASCII table for code points 0 to 127
Decimal Hex Octal Binary Char Name

What this tool does

This ASCII table lists every code point in standard ASCII, from 0 to 127, in a single scrollable reference. Each row gives the value in four bases at once: decimal, hexadecimal (two uppercase digits with the 0x prefix), octal, and a full 8-bit binary string. It also shows the printable character and a short name. The 33 control characters (codes 0 to 31 plus 127) have no glyph, so the table shows their standard abbreviation and meaning instead, such as NUL null, LF line feed, and ESC escape. Everything is generated in your browser when the page loads.

How to use it

Scroll the table, or start typing in the Filter box to narrow it down. The filter matches the decimal value, the hex value (with or without 0x), the character itself, and the name or abbreviation. For example, typing 65, 0x41, or A all lead to the row for the capital letter A, whose binary is 01000001 and octal is 0101. Use Copy visible rows to copy whatever is currently shown as tab-separated text you can paste into a spreadsheet or a code comment. Everything runs in your browser: open DevTools and watch the Network tab, and you will see this page make zero requests while you use the tool.

Common use cases

  • Looking up the hex or decimal code for a character while writing parsers, escape sequences, or regex ranges.
  • Remembering which control code is which, for example that LF is 10 and CR is 13.
  • Checking the binary or octal form of a byte when debugging low-level formats or bitmasks.
  • Teaching or learning how text maps to numbers in a computer.
  • Confirming that a value falls inside the printable range (32 to 126) before treating it as text.

Common pitfalls

  • Bytes 128 to 255 are not standard ASCII. Standard ASCII is 7-bit and stops at 127. The high range depends entirely on the encoding: Latin-1 and Windows-1252 put accented letters and symbols there, while UTF-8 uses those bytes as multi-byte continuation sequences. Do not assume a byte above 127 means the same thing everywhere.
  • Line endings differ by platform. LF (10) is the Unix and macOS newline, CR (13) was the classic Mac OS newline, and Windows uses CR then LF (CRLF). Mixing them causes diff noise and script errors.
  • Control characters are invisible, not absent. A stray TAB, CR, or NUL in a file can break parsing even though you cannot see it. Use the abbreviations in this table to identify which control code a tool is reporting.
  • Hex, octal, and binary are the same number. 0x41, 0101, and 01000001 all equal decimal 65. Reach for the base converter linked below if you need to convert values outside the 0 to 127 range.

Frequently asked questions

What is ASCII?
ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding that maps the numbers 0 to 127 to control codes and printable characters. Codes 0 to 31 and 127 are control characters such as NUL, TAB, LF, and CR. Codes 32 to 126 are printable: the space, the digits, uppercase and lowercase letters, and common punctuation. Because it is 7-bit, standard ASCII defines only 128 code points.
What is the difference between the decimal, hex, octal, and binary columns?
They are four ways to write the same code point. Decimal is base 10, the value most people read first. Hexadecimal is base 16 and is common in programming and Unicode notation, so the letter A is 0x41. Octal is base 8 and appears in older systems and some escape sequences, so A is 0101. Binary is base 2, shown here as a full 8 bits, so A is 01000001. All four columns describe code point 65.
Why do control characters show a name instead of a symbol?
Codes 0 to 31 and 127 have no visible glyph. They were designed to control devices such as printers and terminals, so rendering them as text would produce nothing or would break the layout. This table shows the standard abbreviation and meaning instead, for example 9 is HT (horizontal tab), 10 is LF (line feed), 13 is CR (carriage return), and 27 is ESC (escape).
What is the difference between LF, CR, and CRLF line endings?
LF (code 10, line feed) is the newline on Linux and macOS. CR (code 13, carriage return) was the newline on classic Mac OS. Windows uses CR followed by LF, written CRLF, for each line break. Mixed endings are a common source of diff noise and shell script errors, so many editors let you pick one style and normalize a file.
Are the bytes above 127 part of ASCII?
No. Standard ASCII stops at 127. Bytes from 128 to 255 are not defined by ASCII and depend entirely on the encoding. Latin-1 and Windows-1252 assign accented letters and symbols to that range, while UTF-8 uses those high bytes as multi-byte continuation sequences for characters beyond ASCII. The same byte can therefore mean different things in different encodings.
How do I look up a specific character or code?
Type in the filter box above the table. It matches the decimal value, the hex value (with or without the 0x prefix), the character itself, and the name or abbreviation. For example, typing 65 or 0x41 or A narrows the table to the row for the letter A, and typing LF or tab finds the matching control code.

Embed this tool

Free for any use; attribution appreciated. Paste this on your site:

The embed runs the same tool that lives at this URL. No tracking; no ads inside the embed. Resize height as needed for your layout.

Cite this tool

For academic, journalistic, or technical references. Pick a format:

Citations use 2026 as the publication year. Access date is left as a fillable placeholder where the citation style expects one.

Embedded tool from glunty.com