Boneyard Tools

Hex to Binary Converter

Paste a hexadecimal value to get its binary form instantly. The 0x prefix and spaces are optional, and you can pad the result to clean 4-bit groups. Everything runs in your browser.

How to convert hex to binary

  1. Paste or type your hexadecimal value. A 0x prefix is optional.
  2. Turn on padding if you want the output aligned to 4-bit groups.
  3. Copy the binary output and use it wherever you need it.

Examples

Single byte

0xFF
11111111

Padded nibble

A
1010

Frequently asked questions

How does hex map to binary?

Each hexadecimal digit equals exactly 4 binary digits, called a nibble. For example, F is 1111, A is 1010 and 0 is 0000, so you can convert one digit at a time.

Why are leading zeros sometimes missing?

Binary drops leading zeros, so a value like 5 shows as 101, not 0101. Turn on padding to align the output to whole 4-bit groups so every nibble stays the same width.

Do I need the 0x prefix?

No. The 0x prefix is optional and case-insensitive. You can paste FF, 0xFF or 0XFF and get the same result. Spaces between digits are ignored too.

Can it handle very large hex values?

Yes. The converter uses BigInt, so there is no size limit and even 64-bit or larger values convert exactly without rounding.

Is my data uploaded anywhere?

No. The conversion runs entirely in your browser, so your input never leaves your device.

Related tools