| Binary | Dec | Hex |
|---|
1000 → 8
01001000 → 48
Convert binary to hexadecimal instantly — with nibble-by-nibble visual breakdown, live conversion, multiple output formats, batch mode, and full 4-bit reference table.
| Binary | Dec | Hex |
|---|
Hex is a compact shorthand for binary. A byte (8 bits) always converts to exactly 2 hex digits, making memory addresses, color codes, and machine opcodes far easier to read and write than long binary strings.
A nibble is 4 bits. Since 2⁴ = 16, each nibble maps to exactly one of the 16 hex digits (0–9, A–F). To convert, pad binary to a multiple of 4 from the left, split into nibbles, and look up each nibble's hex digit independently.
HTML/CSS colors are 6-digit hex values — two digits each for Red, Green, and Blue channels (0–255 → 00–FF). Binary 11111111 00000000 00000000 = #FF0000 (pure red). This tool's Color Preview tab shows the resulting color swatch.
Hex is used everywhere in computing: memory dumps, IPv6 addresses, MAC addresses, SHA/MD5 hash digests, Unicode code points (U+0041), x86 opcodes, and color literals in CSS, HTML, Android XML, and Swift.