Binary to Hexadecimal
Convert binary to hexadecimal instantly — group the binary digits into fours from the right and write each group as a single hex digit. Type in either box to convert both ways. The quick shorthand programmers use to compress long binary strings into readable hexadecimal.
Binary to Hexadecimal conversion table
| Binary | Hexadecimal |
|---|---|
| 1 | 1 |
| 10 | 2 |
| 100 | 4 |
| 1000 | 8 |
| 1010 | A |
| 10000 | 10 |
| 100000 | 20 |
| 1000000 | 40 |
| 1100100 | 64 |
| 10000000 | 80 |
| 11111111 | FF |
| 100000000 | 100 |
How to convert binary to hexadecimal
To convert binary to hexadecimal, group the binary digits into fours from the right and write each group as a single hex digit. For example, 1010 in binary is A in hexadecimal. The converter above validates each digit for its base and updates as you type, and the swap button flips the direction so you can go from hexadecimal back to binary just as quickly.
Frequently asked questions
How do you convert binary to hexadecimal?
To convert binary to hexadecimal, group the binary digits into fours from the right and write each group as a single hex digit. For example, 1010 in binary is A in hexadecimal. The converter above does it instantly — type a binary value on the left and the hexadecimal result appears on the right, and you can type in either box to convert in the opposite direction. It only accepts valid digits for each base, so a stray character simply clears the result rather than giving a wrong answer.
What is 1010 in hexadecimal?
1010 in binary equals A in hexadecimal. The conversion table on this page lists common values — 1 is 1, and it continues up to 100000000 = 100 — so you can read off everyday values at a glance. Any value in between converts exactly too, because the tool carries the full number rather than the rounded figures printed here.
What is the difference between binary, decimal and hexadecimal?
They are just different bases — different numbers of digits before you carry over. Decimal (base 10) is the everyday system with digits 0–9. Binary (base 2) uses only 0 and 1, which is how computers store everything at the hardware level. Hexadecimal (base 16) uses 0–9 then A–F, and is a compact way to write long binary values because each hex digit maps to exactly four bits. The same quantity can be written in any base; only its notation changes.
Is this binary to hexadecimal converter free and accurate?
Yes — it is completely free with no sign-up, and it converts exactly using the standard positional method, validating that every digit is legal for its base. The quick shorthand programmers use to compress long binary strings into readable hexadecimal. Everything runs locally in your browser, so nothing you enter is uploaded or stored. For octal, custom bases and step-by-step breakdowns, the full number base converter handles any base from 2 to 36.
More conversions
Hexadecimal → BinaryOctal → DecimalDecimal → OctalOctal → BinaryBinary → OctalHexadecimal → OctalOctal → HexadecimalBinary → DecimalDecimal → BinaryHexadecimal → DecimalDecimal → Hexadecimal Number base converter →