π Client-side β Your data never leaves your browser
β
100% Free β No signup, no limits
β‘ Instant β No server processing
Binary to Hexadecimal & Hex to Binary Β· Space-Separated Input Β· Programmer Tool Β· 100% Client-Side
Binary β Hex
Hex β Binary
| Binary | Hex | Binary | Hex |
|---|---|---|---|
| 0000 | 0 | 1000 | 8 |
| 0001 | 1 | 1001 | 9 |
| 0010 | 2 | 1010 | A |
| 0011 | 3 | 1011 | B |
| 0100 | 4 | 1100 | C |
| 0101 | 5 | 1101 | D |
| 0110 | 6 | 1110 | E |
| 0111 | 7 | 1111 | F |
β Frequently Asked Questions
How do you convert between binary and hex?
Binary to hex: every 4 bits of binary maps to 1 hex digit. E.g., 1010βA, 1111βF. Hex to binary: each hex digit expands to 4 binary bits. E.g., Aβ1010, Fβ1111. The conversion table is displayed above.
Is this converter free to use?
Completely free, no signup required. All conversion happens locally in your browser β no data is ever uploaded to any server.
Do I need to space-separate my binary input?
No, but it's recommended. The tool accepts both spaced and unspaced input. For example, 10101111 and 1010 1111 both convert correctly. Spacing makes long binary numbers easier to read and reduces input errors.
Are lowercase and uppercase hex letters supported?
Yes. Both A-F and a-f are accepted. The output always uses uppercase (e.g., AF3C), which is the most common format in programming contexts.
What if my binary input isn't a multiple of 4 bits?
The tool automatically pads the binary number with leading zeros to make it a multiple of 4 bits. For example, 101 (3 bits) becomes 0101 and converts to hex 5.