HEX to Binary
Convert hexadecimal strings to binary format.
Convert hexadecimal to binary. Each hex digit becomes exactly four bits, so 3F becomes 0011 1111. Paste hex with or without spaces, 0x prefixes or colons, and choose whether to group the bits in bytes (8), nibbles (4) or leave them ungrouped. It works for any length, from a single byte to a long hash or memory dump, and nothing is rounded because the conversion is digit by digit.
Need the reverse? Binary to HEX
Common use cases
- Check bit flags and masks in a register or protocol header
- Convert a colour code or hash to binary for a lesson
- Read a hex dump as bits while debugging
- Check answers to number-system homework
How to use
- Paste the hex value.
- Choose how to group the bits.
- Copy the binary result.
- Use the link to convert binary back to hex.
FAQ
Why does each hex digit make four bits?
Hex is base 16 and 16 is 2 to the 4th power, so each hex digit (0 to F) matches one 4-bit pattern, from 0000 to 1111.
Does it keep leading zeros?
Yes. 0F becomes 00001111, so byte boundaries stay correct.
Can it convert hex to decimal?
Use the base-N number converter for hex, decimal, octal and any base from 2 to 36.
Related tools
- Binary to HEXConvert binary strings to hexadecimal format.
- Text to BinaryConvert text characters to binary representation.
- HEX to Base64Convert hexadecimal strings to Base64 encoding.
- Base64 to HEXConvert Base64 strings to hexadecimal format.
- Query String BuilderBuild URL query strings from key-value pairs.
- JWT Signer DemoCreate signed JSON Web Tokens for testing: write the claims, pick HS256, HS384 or HS512, add an expiry, and…
- Base-N Number ConverterIn Calculators