💻 Binary & Hex

real-time base converter · 8-bit visualiser · ASCII table

click to copy
Decimal (Base 10)
digits: 0–9
click to copy
Binary (Base 2)
digits: 0–1 · prefix 0b
click to copy
Hexadecimal (Base 16)
digits: 0–9, A–F · prefix 0x
click to copy
Octal (Base 8)
digits: 0–7 · prefix 0o
8-bit visualiser (0–255) — click a bit to toggle
What is this?

Binary (base-2) and hexadecimal (base-16) are the number systems computers use internally. All data — text, images, and code — is ultimately stored as 1s and 0s.

Why does it matter?

Understanding binary and hex helps you read computer memory, write low-level code, decode color values in design (#FF5733), and understand how processors work at the hardware level.

Key terms
Bit — a single binary digit: 0 or 1; the smallest unit of data Byte — 8 bits; can represent 256 values (0 to 255) Base-2 (binary) — uses only digits 0 and 1; how computers store all data Base-16 (hex) — uses digits 0–9 and letters A–F; compact shorthand for binary ASCII — a standard mapping from numbers to characters (65 = 'A', 97 = 'a') Nibble — 4 bits; exactly one hexadecimal digit
🎯 Try this challenge

Convert the decimal number 65 into binary and hexadecimal using the converter. What ASCII character does 65 represent? Now try 97 — how is the result different?

Continue Learning
Logic Gates