Hex to Binary Converter

Paste any hex string and instantly see each nibble expanded into 4-bit binary groups.

Quick examples

Copied!

Summary

Paste any hex string and instantly see each nibble expanded into 4-bit binary groups.

How it works

  1. Paste or type a hexadecimal string into the input field.
  2. The tool strips any spaces, "0x" prefixes, and "#" prefixes automatically.
  3. Each hex digit is expanded into its 4-bit binary equivalent.
  4. Choose a grouping option — raw, nibble (4 bits), byte (8 bits), or word (16 bits).
  5. Copy the result with one click or swap the input and output to reverse-convert.

Use cases

  • Inspect the bit pattern of RGB color hex codes.
  • Visualize memory addresses or register values in binary form.
  • Debug network packet bytes and protocol fields.
  • Verify data encoding in embedded or low-level programming.
  • Study bitwise operations by viewing the raw binary layout.
  • Convert hex constants from datasheets into binary for masking calculations.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu