Binary to Hex Converter
Type any binary number and instantly see its hexadecimal, decimal, and octal equivalents.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Binary to Hex Converter?
Binary is the base-2 number system, using only the digits 0 and 1. Hexadecimal (hex) is the base-16 number system, using digits 0–9 and A–F.
The two bases are intimately related: every group of exactly 4 binary bits (called a "nibble") maps to exactly one hex digit. This makes binary-to-hex conversion especially clean:
- 0000 → 0 - 0001 → 1 - 1010 → A - 1111 → F
For example, 11001010 binary splits into 1100 (= C) and 1010 (= A) = CA hex.
Hexadecimal is the format most commonly used to display binary data in a human-readable way — memory addresses, CSS colour codes (#RRGGBB), cryptographic hashes, and network packet dumps all use hex.
How to Use Binary to Hex Converter
Type or paste a binary number into the input field (digits 0 and 1 only)
The hexadecimal, decimal, and octal equivalents appear instantly
Click any "Copy" button to copy a specific result
Click "Load Sample" to see an example conversion
Common Use Cases
- Converting binary memory or register values to hex for display in a hex editor.
- Translating binary output from an embedded system into compact hex notation.
- Verifying binary-to-hex conversion in computer architecture or networking coursework.
- Breaking down a binary colour component (e.g. 11111111 → FF) for use in CSS hex colours.
- Understanding how binary bitfields map to hex in hardware documentation.
- Debugging binary network packets by converting fields to their hex representation.
Example Input and Output
The binary number 11001010 is converted to hex CA, decimal 202, and octal 312.
11001010CA (hex) = 202 (decimal) = 312 (octal)Privacy
All number conversions run in your browser using JavaScript BigInt. No data is sent to any server.
Nibble grouping trick
To convert quickly by hand: pad your binary number to a multiple of 4, group into nibbles from the right, and look up each nibble in the table: 0000=0, 0001=1, 0010=2, 0011=3, 0100=4, 0101=5, 0110=6, 0111=7, 1000=8, 1001=9, 1010=A, 1011=B, 1100=C, 1101=D, 1110=E, 1111=F.

