Free 100% In-Browser Tool

Hex to Binary Converter: Convert Hex to Binary Online

Convert hexadecimal numbers, bytes, and memory addresses into binary bitstreams with 4-bit nibble formatting.

Quick Answer:Each hexadecimal character maps directly to 4 binary bits (e.g. 0 = 0000, A = 1010, F = 1111). Simply replace each hex digit with its 4-bit binary equivalent.
Initializing tool...

Privacy First: 100% Client-Side Processing

Processed in your browser. Files are never uploaded.

How to Use the Hex to Binary Converter: Hexadecimal to Binary Bits

  1. 1Paste your hexadecimal memory dump or opcode string into the input pane (e.g. 0x90, 0xCC, DEADEEF).
  2. 2Toggle 'Separate 4-bit nibbles with space' to inspect distinct byte boundaries.
  3. 3Inspect the decoded binary bitstream sequence in the output box.
  4. 4Click 'Copy Binary' to paste the raw bits into your disassembler or emulator.

Formula & How It Works

Base-16 Decompilation Mapping

Binary = PadStart4(parseInt(Hex_Digit, 16).toString(2))

Each hexadecimal symbol corresponds to a 4-bit nibble weighted by powers of 2 (8-4-2-1). Source: IEEE 754 / Computer Architecture Standards.

Worked Examples

Disassembling Instruction Opcode '0xEB'

Input: EB

Explanation: E -> 1110, B -> 1011 (x86 relative short jump opcode).

Result: 1110 1011

Breakpoint Instruction Trap '0xCC'

Input: CC

Explanation: C -> 1100, C -> 1100 (x86 INT3 software interrupt trap).

Result: 1100 1100

Magic Memory Canary '0xDEAD'

Input: DEAD

Explanation: D -> 1101, E -> 1110, A -> 1010, D -> 1101.

Result: 1101 1110 1010 1101

Frequently Asked Questions

How do security researchers convert hex opcodes to binary?▼

Each hexadecimal byte consists of two 4-bit nibbles. Researchers substitute each character with its four binary digits to examine flag bits.

What is hex 0x90 in binary?▼

Hex 0x90 (the x86 NOP sled instruction) translates to binary 1001 0000.

Can I paste hex dumps containing '0x' or colon separators?▼

Yes, the parser automatically filters prefixes ('0x'), memory colons, and whitespace before decoding.

Why do low-level engineers write 4 binary bits per hex character?▼

Because 2⁴ equals 16; hexadecimal is an exact base-2 power shorthand that maps four binary lines into one character.

Is there a ceiling on hex payload length?▼

No strict ceiling exists; large flash firmware dumps and binary blobs are processed instantly in your browser.

Does this decoder upload any memory dumps to external servers?▼

No, the decoder processes all strings locally within client memory; confidential reverse-engineering data never leaves your computer.

Quick Reference & Conversion Table

Hexadecimal SymbolDecimal ValueBinary Nibble PatternBitwise Weight (8+4+2+1)
0000000
1100011
2200102
3300112 + 1
4401004
5501014 + 1
6601104 + 2
7701114 + 2 + 1
8810008
9910018 + 1
A1010108 + 2
B1110118 + 2 + 1
C1211008 + 4
D1311018 + 4 + 1
E1411108 + 4 + 2
F1511118 + 4 + 2 + 1

⚠️ Common Pitfalls to Avoid

  • •Typing non-hexadecimal alphanumeric symbols (such as G through Z).
  • •Dropping leading zeros inside intermediate nibbles (e.g. hex '0x07' requires '0000 0111', not '111').
  • •Confusing machine endianness (little-endian byte reversal) with bitwise nibble mapping.

💡 Practical Real-World Uses

  • •Inspecting stack trace crash dumps and processor instruction pointers.
  • •Analyzing microcontroller flash firmware sectors and bootloader payloads.
  • •Decoding hardware status register masks and peripheral interrupt flags.
Last reviewed & updated: 2026-11-07
Free & Open Access
Related Utilities

Explore complementary calculators and converters with instant client-side execution

More in Text & Dev

Explore Other Tool Categories

Browse our full collection of 50 free web utilities

View All 8 Categories