Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Hexadecimal to Binary

Convert hexadecimal to binary. Expand hex values to see the underlying bit patterns - each hex digit becomes 4 binary bits.

What is the Hexadecimal to Binary Converter?

This tool expands hexadecimal values to show their underlying binary bit patterns.

Why Convert Hex to Binary?

Expanding hex to binary helps you:

  • Analyze bit flags — see which bits are set
  • Debug hardware — understand register values
  • Learn computing — visualize data representation
  • Work with masks — bitwise AND, OR, XOR operations

Direct Conversion

Each hex digit converts to exactly 4 binary digits:

Example: 2F → 2=0010, F=1111 → 00101111

How to Use

  1. Enter hex number — digits 0-9 and letters A-F
  2. View binary result — each hex digit becomes 4 bits
  3. Analyze the bits — see the exact pattern

Common Patterns

  • 0x0F = 00001111 (low nibble mask)
  • 0xF0 = 11110000 (high nibble mask)
  • 0xAA = 10101010 (alternating bits)
  • 0x55 = 01010101 (alternating bits)

Formatting

Binary output is grouped in sets of 4 for easy reading and hex digit correspondence.

0123456789ABCDEFabcdef
0x
01
0b

Hex to Binary

0 = 0000
5 = 0101
A = 1010
F = 1111
FF = 11111111
AA = 10101010

Hexadecimal (Base-16)

Compact binary representation. Each digit contains exactly 4 bits of information.

Binary (Base-2)

The expanded form showing actual bit patterns. Essential for bit manipulation.

Enter hex digits (0-9 and A-F)
FF in hex = 11111111 in binary
Each hex digit expands to 4 bits
Useful for analyzing bit flags
Want to learn more? Read documentation →
1/5
Start typing to search...
Searching...
No results found
Try searching with different keywords