Type a character and watch its decimal, hex and 8-bit binary code appear together — then reverse it and predict a character from its code before revealing it.
ASCII gives every character a number. This tool runs that mapping in both directions, one panel each.
Panel 01 — character to codes. Type a single character in the box, or press one of the sample chips. The same number appears three ways at once: DEC (decimal), HEX (base-16), and BIN (eight bits). Under the bits are their place values — 128 64 32 16 8 4 2 1 — and the eight bits are split down the middle into two groups of four. Each group of four is exactly one hex digit, shown underneath it: A is 65, 0x41, 0100 0001. Only printable ASCII (32–126) can be typed; anything else is refused, because ASCII genuinely has no code for it.
Panel 02 — code to character. A decimal code appears on its own. Type what you think it stands for before you press Reveal. That order is the whole exercise: reading the answer teaches almost nothing, but committing to one first tells you exactly which parts of the table you actually know. Press Next code for another.
Some codes in Panel 02 are below 32 — TAB, LF, CR, ESC, NUL — or are 127, DEL. Those are control characters: real codes that instruct the device instead of printing a mark. There is no key to press for them, and noticing that is the point.
Nothing here is graded and the running tally is yours alone. Two things worth hunting for: the 32 bit is the only difference between an uppercase and a lowercase letter, and the digit characters run 0x30–0x39, so the character 7 is code 55, not 7.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →