Hex to Binary

Convert hexadecimal to a binary stream instantly — every hex digit expands to 4 binary bits, clearly grouped. Free, client-side hex to binary tool.

🔒 100% Client-Side Processing

Your data is processed entirely in your browser and never transmitted to any server.

Example

Input

4869

Output

0100 1000 0110 1001

Each hex digit expands to exactly 4 bits — the same underlying bits as "Hi" in binary above.

0 / 100M Limit

Common Use Cases

Inspecting bitmasks

Expand a hex constant like 0x1F into individual bits to see exactly which flags it sets.

Networking homework

Convert hex values into binary when working through subnetting and protocol-header exercises.

Frequently Asked Questions

How is each hex digit converted?
Each digit expands to its exact 4-bit binary form — F becomes 1111, 5 becomes 0101 — output space-separated per digit, so FA yields 1111 1010. Case does not matter.
Why convert hex to binary?
Reading bit flags and masks in registers or protocol headers, teaching number-base conversion, and debugging bitwise operations where you need to see exactly which bits a hex constant sets. Need the reverse direction? Use Binary to Hex.
What is the full hex-to-binary table (0-F)?
Each hex digit maps to exactly four bits, so you can do it by hand: subtract the largest power of two that fits — 8, 4, 2, then 1 — and mark a 1 in each column you used. A is 10, so 8 plus 2 gives 1010. Keep the leading zeros, because dropping them breaks byte alignment. The full nibble table is listed on Binary to Hex.
Can I paste hex with a "0x" prefix, like 0x4869?
Yes — the "0x" (or "0X") prefix is automatically stripped, and any other non-hex characters are ignored, so you can paste code straight from a program without cleaning it up first.
Is my data private when I use this tool?
Yes. This tool runs entirely in your browser using client-side JavaScript — nothing you type is transmitted to, logged by, or stored on any server. You can safely process confidential text, tokens, or code.