If you’ve ever opened a color picker and seen a code like #FF5733, or looked at a memory address in a debugger, you’ve run into hexadecimal — base-16, one of the number systems computers and designers rely on every day. Here’s what it actually means and how to convert between hex and everything else.
What Makes Hexadecimal “Base-16”
Our everyday numbers are base-10 (digits 0-9). Hexadecimal uses sixteen symbols instead: 0-9, then A, B, C, D, E, and F to represent 10 through 15. Each hex digit maps neatly onto exactly four binary digits (bits), which is why programmers like it — a byte (8 bits) always fits into exactly two hex characters, no matter how large or small the value.
Hex vs. Binary vs. Decimal
The same value can be written three different ways: 77 in decimal is 1001101 in binary and 4D in hexadecimal. Hex mainly exists as a shorter, more human-readable stand-in for binary — nobody wants to read a 32-character binary string when eight hex characters say the same thing.
Our own Hex Converter and Text to Hex Converter handle these conversions instantly, and if you’re working with plain binary instead, the Binary Translator (also called a binary converter) turns text straight into 1s and 0s.
Where You’ll Actually See Hex in Real Life
Web and design colors are the most common example — #FFFFFF is white, #000000 is black, and every shade in between is a six-digit hex code. Developers see hex constantly too: memory addresses and error codes are almost always shown in hex rather than binary or decimal, MAC addresses and hardware IDs are usually written as pairs of hex digits separated by colons, and hex editors let you inspect a file’s raw bytes when something needs debugging below the text layer.
Converting by Hand (If You’re Curious)
To convert decimal to hex manually, divide repeatedly by 16 and read the remainders backward. It’s a useful trick to understand once, but for anything beyond a quick check, a converter saves the arithmetic and removes the room for error.