ASCII Code Table
How to Use
Introduction
ASCII is where every character-encoding story starts: 0 to 31 are control codes, 32 is the space, 33 to 126 are printable, and 127 is DEL. Serial protocols, hex packet debugging and string comparisons all require jumping between decimal, hexadecimal and the glyph itself. This tool lists all 128 code points in a searchable table, matching decimal values, 0x hexadecimal forms, octal values, the characters themselves and control abbreviations such as LF, CR or ESC. Four filters narrow the view to printable, control or common symbols, and the summary below the table records the A-Z, a-z and 0-9 ranges so offsets can be computed in your head. This release adds: The table gains an eight-bit binary column plus a decimal ascending/descending sort, and a text-to-code converter that emits decimal, 0x hexadecimal and binary forms while accepting 65, 0x41 and 01000001 in the same input. 1.2.0 升级:Full 0–127 ASCII table with binary column, sorting, text/code conversion and a bit lab with parity.
What it does
- Lists all 128 code points from 0 to 127 with six fields per row: decimal, hexadecimal, octal, glyph and control abbreviation; One search box matches decimal, 0x hex, octal, the character and abbreviations like LF or ESC, so 65 and A find the same row.
- Four filters cover everything, printable only, control only and common symbols, the last including newline, carriage return, space, quotes, brackets and the digit-letter boundaries; Quick chips jump straight to A, a, 0, space, LF, ESC and DEL by filling their decimal value into the search box.
- Control codes carry localised names in Chinese and standard abbreviations such as NUL, SOH or STX in the English interface, never mixed; Copy turns the filtered rows into tab-separated five-column text that stays aligned in Excel or a terminal.
- Every row now shows decimal, hexadecimal, octal, binary and the character, and search covers the binary column; Converting text emits all three representations at once and counts any character above 127 while keeping its original code point.
- Converting codes back accepts commas, spaces, semicolons and pipes, skips values outside 0-127 and reports how many were skipped; Bit lab lets you toggle each bit and read character, dec/hex/bin and parity.
- Any table row loads into the bit lab; the converter outputs all three bases at once.
How to use
- Search by decimal value such as 65, hex such as 0x41, a character such as A, or an abbreviation such as LF.
- Switch the filter to printable when you only need visible characters, or to control when writing a protocol parser.
- Use the chips to jump to A, a, 0, space, LF, ESC or DEL without typing.
- Read the octal column carefully: serial tools and older utilities often use three-digit octal, so LF is 012 rather than 12.
- Copy exports the currently filtered rows, and Reset clears the search and restores the full list.
Notes
- ScopeThe table covers 7-bit ASCII from 0 to 127 only; extended ASCII and Latin-1 from 128 to 255 are not included.
- DisplayControl codes render as a middle dot because 0 to 31 and 127 are invisible; trust the decimal and hex columns for the actual byte.
- InputSearch is a contains match, so typing 6 also hits 6, 16, 26 and 65; enter the full decimal value to isolate one row.
- LimitsUnicode code points, UTF-8 and GBK lookups are out of scope; use an encoding converter for multi-byte work.
- OutputCopy produces plain five-column text without header styling; choose tab separation when importing into a spreadsheet.
- Control names appear in Chinese on the Chinese interfaces and as standard abbreviations in English, all pointing at the same code point.
- The common-symbol filter is a curated set of twenty characters used in programming rather than every printable code, so switch to printable to see the full 32 to 126 range.
- Decimal 32 is the space character itself, which looks like a blank cell rather than missing data; trust the name column showing SP.
- For printable bytes remember uppercase A is 65 and lowercase a is 97, a difference of 32 that drives case conversion.
- DEL at 127 is invisible in most terminals yet is its own code point, not the act of deleting a character.
- Binary input must come in groups of eight bits, and out-of-range values are skipped rather than coerced, so check the reported skip count.
- Bit operations stay within 0–255 and clamp at the bounds; parity counts the ones in the binary form.