Hex

Hex to Binary Converter

Details

How to use Hex to Binary Converter

What the tool does, how to run it, and what to expect from the result.

How to convert hex to binary

Paste the hex value and the binary bits appear immediately. Upper and lower case both work, and a leading 0x is ignored, so you can paste straight from source code.

Each hex digit becomes four bits, so the conversion is exact in both directions. The output is the number, not a fixed-width field, so add leading zeros yourself if you need a full byte.

  • Type or paste the hex digits, for example f0 or 0xF0.
  • Read the binary output, for example 11110000.
  • Split multi-byte values, such as a colour code, into byte pairs before pasting.
  • Pad the output to eight bits per byte if the alignment matters.
  • Press Copy result to take the bit string away.
Tips

Getting a better result out of Hex to Binary Converter

Specific settings and thresholds, not general advice.

  • Each hex digit expands to exactly four bits: f is 1111, 7 is 0111, 1 is 0001, 0 is 0000. Nothing else needs to be memorised.
  • The output drops the leading zeros of the whole number, so 0f gives 1111, not 00001111. Pad to eight bits yourself when the value is a byte.
  • Input is case-insensitive and a 0x prefix is stripped, so 0xFF, ff and FF all convert to 11111111.
  • ff is 11111111, which is 255, the largest value one byte can hold. Two hex digits always fit in exactly eight bits.
  • Paste a hex dump split on spaces, such as de ad be ef, and each byte converts on its own line of output rather than being joined into one long number.
Limits

What Hex to Binary Converter does not do

The honest boundary, so you do not lose time finding it yourself.

  • No fixed-width output and no zero padding.
  • No 0b prefix and no grouping of the bits into nibbles or bytes.
  • Integers only, and no two's complement.
  • Only hex digits 0-9 and a-f are accepted, so an out-of-range letter such as g errors by name.
At a glance

Who Hex to Binary Converter is for

A quick way to understand who this helps, what it solves, and where it connects next.

Best fit

Developers, students, and engineers who need a quick, reliable hex to binary converter.

Ideal for

Fast Hex to Binary conversion without a backend, install, or sign-up.

FAQ

Common questions

Short answers for the questions people usually have before trying a utility like this.

Does my data get uploaded anywhere?

No. Everything runs locally in your browser and nothing is sent to a server.

Is this free to use?

Yes. It is completely free, with no account, no signup, and no usage limits.

Does it work on a phone?

Yes. The page runs in any modern mobile browser, on iPhone and Android alike, with no app to install.

How many bits does one hex digit expand to?

Always four, which is why hex and binary map cleanly onto each other. Each digit is a nibble: 0 is 0000 up to f which is 1111. A two-digit hex byte is therefore exactly eight bits, with no ambiguity.

Why does 0f give 1111 instead of 00001111?

Because the tool converts a number, and a number carries no leading zeros. If you are laying out a byte, pad the output on the left to eight characters. Each hex digit still expands to four bits, and the padding is presentation only.

Does the case of the hex digits matter?

No. ff, FF and Ff all parse to the same value, and a 0x or 0X prefix is stripped before parsing. Hex has been case-insensitive since it was invented, and the tool follows that.

How do I convert a hex colour like 1E90FF into binary?

Split it into its three byte pairs first: 1E, 90 and FF. Convert them separately so each gives you eight bits (00011110, 10010000, 11111111). Pasting 1E90FF as one token converts it as a single 24-bit number instead, which loses the byte alignment.

Can I convert several hex bytes at once?

Yes. Separate them with spaces, commas, or new lines and each converts independently, keeping the order. That makes pasting the hex column of a dump straightforward, as long as you leave out the offsets.

Recommendations

You Might Also Like

Nearby tools from the catalog that fit the same job or workflow.

Cleanor app

Do it all on your device

Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.

  • iPhone
  • Android
  • Macsoon
  • Windowssoon