The quick answer
Hex-to-binary expands each hexadecimal digit into exactly 4 bits: F becomes 1111, 0xF0 becomes 1111 0000, and the round-trip reads 65 decimal = 0x41 = 0100 0001 = capital A. One hex digit is one nibble; two make a byte. The conversion runs in your browser and works with Wi-Fi off.
What hex-to-binary conversion means
Hex-to-binary is the direct translation between the two notations programmers use for raw bytes: paste F0 and the tool answers 1111 0000, paste 48656C6C6F and it answers the 40-bit pattern behind the five bytes of Hello. It runs as plain JavaScript on your device: no upload, no fee, no account.
The two notations exist because they make different things visible. Hex is compact: one byte is two digits, so a 16-byte header is 32 characters. Binary shows the actual bits: every flag, mask and field boundary is a 1 or 0 you can count. Converting between them is a lookup, not a computation, which is why it is exact and instant.
Converting hex to binary, step by step
Paste your hex
Digits with or without separators, F0, 0xF0, F0 0F, all convert the same: spaces and 0x prefixes are stripped before the mapping runs. The output re-renders on every keystroke.
Load the example
The Load example button fills the input with deadbeef, which expands to 1101 1110 1010 1101 1011 1110 1110 1111. A known input with a known output validates the mapping before you trust real data.
Read the bit pattern
Each hex digit expands to exactly 4 bits, so the output is always 4 × the digit count, with one space between groups. Odd digit counts are fine here: every digit maps independently, unlike byte-paired decoders.
Copy, download or reuse
Copy puts the full bit pattern on your clipboard, Download saves it as encoded.txt, and Use as input feeds the output back for a reverse check.
Verify with the round-trip
The next section works 0x41 → 0100 0001 → decimal 65 → capital A in full; apply the same pattern to any result you want to trust.
Close the tab when done
No history, no server copy, no residue: the conversion happened in your tab's memory and ends when the tab does.
The nibble table: 4 bits per hex digit
One hexadecimal digit covers exactly the values 0 to 15, and 4 bits cover exactly the same range; that is the whole relationship. The round-trip worth memorizing: 65 decimal is 0x41, which expands digit by digit to 0100 0001, and 01000001 is the ASCII code for capital A. Two hex digits, 8 bits, one byte: F0 becomes 1111 0000, and 48656C6C6F becomes the five bytes behind Hello.
| Hex digit | Binary |
|---|---|
| 0 | 0000 |
| 1 | 0001 |
| 2 | 0010 |
| 3 | 0011 |
| 4 | 0100 |
| 5 | 0101 |
| 6 | 0110 |
| 7 | 0111 |
| 8 | 1000 |
| 9 | 1001 |
| A | 1010 |
| B | 1011 |
| C | 1100 |
| D | 1101 |
| E | 1110 |
| F | 1111 |
Who converts hex to binary daily
Binary is the language of bitfields, settings registers, protocol flags and permission masks, and hex is how those bitfields are quoted in documentation. Embedded developers and protocol engineers do this translation constantly: a datasheet says a control register is 0xB5 and the comment says bits 7, 5, 2 and 0 must be set; expanding 0xB5 to 1011 0101 shows those bits at a glance, and the reverse direction turns a desired bit pattern into the value to write. Doing it locally keeps the register map of an unreleased board off any server.
The common thread: binary answers which bits, hex answers what value, and the translation between them is small enough to deserve a tool that does only that, instantly, with nothing retained.
What the converter commits to, plainly
The table summarizes what the Hex to Binary does and how it behaves on this page.
| Aspect | This tool |
|---|---|
| Processing | 100% client-side JavaScript in your browser tab |
| Signup required | None: no account, no email |
| Data uploaded | Never; the input stays in the textarea on your device |
| Offline use | Works after first load; this tool has no live data |
| Cost | Free, with ads placed away from the controls |
Where hex-to-binary goes wrong
The digit-by-digit mapping is exact: there is no rounding and nothing to estimate. When output looks wrong, the cause is input formatting or a leading-zero expectation. These are the documented boundaries.
- A stray non-hex character prints 0NaN where its 4-bit group should be, so the bad digit is visible in the output instead of hidden. Delete it and the group returns to 4 bits.
- Leading zeros change meaning visually: 0x0F expands to 0000 1111 while 0xF expands to 1111. The value is identical, but the bit positions differ on paper, and byte context almost always wants two digits per byte.
- The single space between groups is a reading aid, not part of the number: 1111 0000 and 11110000 are the same value, and the tool groups for readability.
Your hex never leaves the browser
Bit-level data is rarely anonymous: register maps for unreleased hardware, protocol constants, payload fragments. Local processing is not a feature here; it is the architecture, and the conversion works with Wi-Fi off.
Hex-to-binary tools compared
This tool is replaceable, and pretending otherwise helps nobody. The table shows what the Hex to Binary trades and what it refuses to trade away.
| Alternative | Why people pick Hex to Binary instead |
|---|---|
| Calculator apps with base modes | Work, but mode-switching and digit limits make batch checks slower than paste-and-read |
| Spreadsheet formulas | Fine for one cell; bit-splitting formulas never amortise over a quick lookup |
| Programming REPLs | print(bin(0xF0)) works, after you open a terminal and remember the syntax |
Tips and troubleshooting for bit patterns
Five minutes of technique beats an hour of counting 1s and 0s by hand. When output behaves unexpectedly, the causes are almost always one of these:
- Cannot find bit 5: count from zero on the right. 0100 0001 has bit 6 (value 64) and bit 0 (value 1) set, which is 0x41 = 65.
- Binary longer than expected: the engine prints one 4-bit group per hex digit, so the math is digit count × 4 bits, and anything else in the output is a separator.
- Pattern looks reversed: bit order on paper is most-significant first by convention; some protocols transmit least-significant bit first, which is a wire detail, not a conversion error.
If the Hex to Binary throws something unexpected at you, do not shrug and retype: send the details via the contact page and a fix will typically ship before the week is out.
Frequently asked questions
These are the questions people actually search about the hex to binary, answered directly. If yours is missing, the contact page takes feature and question requests.
How do I convert hex to binary by hand?
Expand each digit with the 16-entry nibble table: 0 is 0000, 5 is 0101, A is 1010, F is 1111. So 0xB5 becomes 1011 0101. Memorizing just 0, 5, A and F covers most datasheet values, and the pattern for the rest follows.
Why does one hex digit equal exactly 4 bits?
Because 16 (the base of hex) is 2 to the 4th power. A single hex digit represents 16 values, and 4 bits also represent exactly 16 values (0000 to 1111); the two systems match at the nibble, which is why the conversion is a fixed lookup rather than arithmetic.
Does the Hex to Binary work on mobile?
Yes. The layout is responsive, with large touch targets and no horizontal scrolling, and the output re-renders on every keystroke. No download, no app store, no compatibility list to check.
Do you store what I enter into the Hex to Binary?
No. All hex-to-binary processing happens on your machine: inputs are not transmitted, not logged, not retained. The network tab shows no traffic while you work, and the page keeps converting with Wi-Fi off.
Can I use the Hex to Binary offline?
Yes. The converter is client-side JavaScript, so once the page has loaded it keeps working offline; the nibble mapping is built in, and nothing about it needs a server.
Is the Hex to Binary free to use?
Free to use, unlimited: no account to create and no email to hand over. The tool runs entirely in your browser, so each extra use costs this site nothing and costs you nothing either.
Tools that pair well with bit-level work
These tools share the Hex to Binary's workflow most often; the links exist because people genuinely chain them.
- Hex to ASCII. Decode hex byte pairs back into text: 48 65 6c 6c 6f becomes Hello on the sibling page.
- Binary to Text. The reverse reading of bit patterns: paste 01001000 01101001 and see the characters behind the bits.
- Decimal to Hex. Land a value in the base your documentation quotes: 255 becomes FF.
- Number Base Converter. Any pair among binary, octal, decimal and hex in one screen when the job crosses bases.
- Hex to String. The encoder direction: turn text into hex bytes for the next hop.
Sources and further reading
The nibble mapping and ASCII claims on this page trace to the base-16 definition in RFC 4648 §8, the ASCII table, and standard references on positional notation. The links below are the primary sources.
Sources and further reading
- Wikipedia: Hexadecimal, the nibble relationship to binary(en.wikipedia.org)
- Wikipedia: Binary number, positional bits and place values(en.wikipedia.org)
- Wikipedia: Nibble, the 4-bit unit(en.wikipedia.org)
- Wikipedia: ASCII, the 128-character table (0x41 = A)(en.wikipedia.org)
- RFC 4648 §8: Base 16 encoding, the formal digit alphabet (IETF)(datatracker.ietf.org)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.