Skip to content
OddsockLocal
Local
Source text

The preview shows up here.

ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Leave the field empty to read all 128 codes, or type a decimal, a hex cell, a name or a character.
  2. Read Decimal, Hex, Octal, Binary and Character.
  3. Control codes are named. SPACE is 32. DEL is 127.
  4. For a whole sentence of byte values, use the decimal byte converter. It is not limited to 127.

What is ASCII table?

The ASCII table is the 128 characters from 0 through 127, each with decimal, hex, octal, binary and a name. Row 65 is 0x41, octal 101, binary 01000001, character A. The control codes use the short names: 0 is NUL, 10 is LF, 13 is CR, 27 is ESC. 32 is SPACE and 127 is DEL. Printable characters show the character itself.

Read more

Leave the box empty and you get the header plus all 128 rows. Type 65, or A, or 0x41, and the table keeps the header and the rows whose cells match. The match is the whole cell, so 6 does not return 65. This is the reference for the codes. The text-to-decimal page is where a sentence becomes a list of byte values, and those values can go past 127 once the text is UTF-8.

Nothing is computed from your machine’s locale. The table is the same 128 rows every time.

Use cases

  • You need the binary of A, 01000001, without converting 65 by hand.
  • A log shows byte 0x0A and you want the name LF rather than a blank.
  • Octal 101 should be confirmed as A before you confuse it with decimal 101, which is e.
  • A filter for DEL or SPACE should find 127 or 32 when the character itself is invisible.

Decimal 65, the letter A

65

Decimal 65, hex 0x41, octal 101, binary 01000001, character A.

Why use Oddsock

Octal 101 and decimal 101 are different characters. The row keeps the base in the column heading so they are not swapped.

Related tools

Using this tool

0x41, octal 101, binary 01000001, the letter A.