TechKnowSurge
CompTIA Tech+ 1.1 CompTIA Tech+ 1.2
InteractiveComputeFree

ASCII Character Encoder

Type a character and watch its decimal, hex and 8-bit binary code appear together — then spell your name one byte at a time and see the string of 1s and 0s a computer stores.

⚑ Complete this interactive to capture a CTF flag worth 1 point.

About this interactive

What you're seeing: a character you type, with its decimal code, hex code and eight bits shown together, place values printed above the bits and each nibble sitting under the hex digit it produces — and below it, a builder that turns a word into a row of bytes. Why it matters: text is stored as numbers, and ASCII is the agreement about which number means which character — the same agreement behind why a file of letters is a file of bytes and why the character 7 is code 55. How to use it: type a letter, then its other case, and watch only the 32 bit move; then spell your name, adding one character at a time, and read the finished string of 1s and 0s — eight bits for every character, space included.

How to use this tool

ASCII gives every character a number. This tool has two panels.

Panel 01 — character to codes. Type a single character in the box, or press one of the sample chips, and 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 — split 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.

Panel 02 — your name in binary. Look up each letter of your name in Panel 01, then press Add (or hit Enter in the character box). Each character joins the string below as one byte. Undo last removes the last character; Clear starts over. When you are done, the row of 1s and 0s is exactly how a computer stores your name.

Nothing here is graded. Two things worth noticing: a capital first letter and a lowercase one differ only in the 32 bit, and a space between first and last name is a real character with its own byte, 00100000.

What you'll learn

Aligned to

CompTIA Tech+
1.1 Compare and contrast notational systems.
1.2 Compare and contrast fundamental data types and their characteristics.

Key terms

American Standard Code for Information Interchange
ASCII
A 7-bit character encoding standard that assigns numeric values 0–127 to letters, digits, punctuation, and control characters, giving computers a common format for representing and exchanging text; often expressed in hexadecimal for compactness.
Character Encoding
A standard that maps characters such as letters, numbers, and symbols to binary values so computers can process and store text.
Binary
The base-2 number system that uses only the digits 0 and 1; the native language of digital computers, which store and process data as electrical on/off states.
Hexadecimal
Hex
A base-16 number system using digits 0–9 and letters A–F; each hex digit maps to exactly 4 bits, making it a compact shorthand for representing binary data.
Bit
Short for binary digit, the smallest unit of data in computing, holding a single value of 0 or 1; all digital information is ultimately composed of bits.
Byte
A group of 8 bits; the standard unit for representing a single character or small value in computing, and the building block for larger storage measurements such as kilobytes and gigabytes.
Nibble
A group of exactly 4 bits, equivalent to one hexadecimal digit; two nibbles make up one byte.
Unicode
A character encoding standard supporting nearly 155,000 characters across 168 scripts, including emojis and international languages, designed to represent text from all writing systems.

Topics

Ascii Character Encoding Binary Hexadecimal Number Systems Data Representation Text

About TechKnowSurge

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 →