OpenReplay Logo
12k
12k

Hex to binary converter

Convert hexadecimal to binary — each hex digit becomes a 4-bit nibble, with optional grouping and 0x support. Instant and private, in your browser.

Processed locally

About this tool

Because one hex digit maps to exactly four bits, hex-to-binary conversion is direct: F becomes 1111, A becomes 1010, and the digits concatenate. This makes hex a compact, lossless shorthand for binary.

Paste a hex value — with or without 0x, in any case — and the binary appears immediately, with leading zeros preserved per nibble so byte boundaries stay clear. Turn on 4-bit grouping to read the output as nibbles, and copy it with one click.

Conversion runs locally — values you paste never leave your browser.

Frequently asked questions

Why are leading zeros kept?

Each hex digit is exactly four bits, so 0F becomes 00001111 rather than 1111. Preserving the leading zeros keeps byte boundaries aligned, which matters when you're reading bytes.

Does it accept the 0x prefix?

Yes — the 0x prefix is optional, case is ignored, and spaces between bytes are tolerated.

How do I convert binary back to hex?

Group the bits into nibbles and read each as a hex digit, or use the hex to decimal and decimal to hex converters as a round-trip.