hex, read three ways
Type a hex value.
See what it actually means.
One field, three readings — color, number, and raw bytes — updated as you type. No uploads, no accounts, nothing leaves your browser.
Try a 6-digit color (e.g. ) or any hex string.
Decimal, binary, or text → hex
Convert the other direction. Pick a format and enter a value.
Quick reference
The hex digits and the values they map to, at a glance.
Common questions
What's the difference between a hex color and a hex number?
They're the same base-16 encoding used for different purposes. A hex color like #4FD1CD splits into three bytes — red, green, blue. A hex number like 0x1F is just a base-16 way of writing a decimal value (31). Hexlab reads your input both ways at once.
Why does a hex string sometimes decode to readable text?
Every pair of hex digits is one byte, and every byte maps to a character in ASCII/UTF-8. 48 65 6C 6C 6F decodes to "Hello" because those byte values happen to fall in the printable character range.
Does Hexlab store or send my input anywhere?
No. Every conversion runs locally in your browser with plain JavaScript. Nothing you type is transmitted or logged.