Skip to main content
RaikTools — Free Online Tools
Binary Converter

Hex to Binary Converter

Convert any hexadecimal value to binary instantly — paste a single digit like FF or a long string like 3A9C1F and get the binary result in milliseconds. Supports bidirectional conversion, live validation, nibble grouping, and byte counts. 100% free, no sign-up, runs entirely in your browser.

HEX Length: 0 characters

Binary Length: 0 bits

Conversion Details

Input Format

-

Decimal Value

0

Nibbles

0

Bytes

0
Validation Status

Valid HEX

Valid Binary

How to Convert Hex to Binary

Converting hexadecimal to binary takes 3 steps:

  1. Enter your hex value in the HEX Input field — e.g. 3A, FF, or 0x1A.
  2. Click “HEX to Binary” — the binary equivalent appears instantly in the output field.
  3. Copy the result with one click. Use “Swap” to reverse (binary → hex).

Quick examples: 3A0011 1010  |  FF1111 1111  |  1A0001 1010

Hex to Binary Conversion Table (0–F)

Each hex digit maps to exactly 4 binary bits (one nibble). Use this table as a quick reference:

Hexadecimal to 4-bit binary and decimal conversion table
HexBinary (4-bit)Decimal
000000
100011
200102
300113
401004
501015
601106
701117
810008
910019
A101010
B101111
C110012
D110113
E111014
F111115

How Hex to Binary Conversion Works

What Is Hexadecimal (Base 16)?

Hexadecimal (base 16) is a number system using 16 symbols: digits 0–9 and letters A–F. It is widely used in computing to represent binary data more compactly — one hex digit equals exactly 4 binary bits (one nibble). Developers use hex for memory addresses, HTML color codes (#FFFFFF), byte-level data, and machine instructions.

What Is Binary (Base 2)?

Binary (base 2) is the fundamental language of computers, using only 0 and 1. Every piece of data — text, images, programs — is ultimately stored as binary. Eight binary digits form one byte, which can represent values from 0 (00000000) to 255 (11111111).

The Conversion Formula

To convert hex to binary manually: replace each hex digit with its 4-bit binary equivalent from the table above and concatenate the groups.

Example 1: Convert 3A (hex) to binary
  3  →  0011
  A  →  1010
  Result: 0011 1010

Example 2: Convert FF (hex) to binary
  F  →  1111
  F  →  1111
  Result: 1111 1111  (= 255 decimal)

Example 3: Convert 1A (hex) to binary
  1  →  0001
  A  →  1010
  Result: 0001 1010  (= 26 decimal)

Common Hex Values in Binary — Quick Reference

Common hex values in 8-bit binary and decimal reference table
HexBinaryDecimalCommon Use
0x000000 00000Null / off / reset
0x0F0000 111115Low nibble mask
0x100001 00001616 / power of 2
0x1A0001 101026Escape character (SUB)
0x3A0011 101058Colon (:) in ASCII
0x7F0111 1111127Max 7-bit value (DEL)
0x801000 0000128Min signed negative (int8)
0xFF1111 1111255Max byte value / all bits set

When Do Developers Use Hex to Binary Conversion?

  • Bit manipulation: Checking or setting individual bits in a register value expressed in hex
  • Debugging: Reading memory dumps, error codes, and machine instructions in binary form
  • Networking: Analysing MAC addresses, IPv6 addresses, and subnet masks
  • Electronics: Configuring microcontroller registers, GPIO pins, and FPGA logic
  • Computer science education: Learning number systems and the relationship between base 16 and base 2

Related Binary Converters

If you need to convert in a different direction or format, try these related tools:

100% Client-Side Privacy

All hex-to-binary conversions happen locally inside your browser. No data is sent to any server. Your hex values, converted binary strings, and all intermediate results stay entirely on your device.

Frequently Asked Questions

Common questions and answers about the Hex to Binary Converter.

How does hex to binary conversion work?

Each hexadecimal digit maps directly to a 4-bit (one nibble) binary group. For example, hex digit 'A' equals decimal 10, which is 1010 in binary. To convert a hex string, replace each digit with its 4-bit binary equivalent and concatenate the results. For example: 3A in hex becomes 0011 1010 in binary.

What is FF in binary?

FF in hexadecimal is 11111111 in binary. Each 'F' equals 1111 in binary, so FF = 1111 1111, which is 255 in decimal.

What is 1A in binary?

1A in hexadecimal is 00011010 in binary. The digit '1' = 0001 and 'A' = 1010, giving 0001 1010 when concatenated.

What is the difference between hex and binary?

Binary (base 2) uses only 0 and 1. Hexadecimal (base 16) uses 0–9 and A–F. One hex digit always equals exactly 4 binary digits, making hex a compact shorthand for binary data. For example, 8 binary digits (one byte) can be written as just 2 hex digits.

Can I use this as a hex to binary calculator?

Yes. Enter any hex value and the tool instantly calculates and displays the binary result, along with the decimal equivalent, nibble count, and byte count. It also supports bidirectional conversion (binary back to hex).

Can I convert long hex strings?

Yes. Paste any length of hex values, and the tool will convert them instantly.

Do I need to install anything?

No, it works directly in your browser without any plugins or software downloads.

Is it free to use?

Absolutely! It's completely free and always will be.

Is my data safe?

Yes, all mathematical conversions are done locally inside your browser. Nothing is uploaded or stored on any server.