HEX→BIN Binary Utility

Hex Dump to Binary Converter

Convert hexadecimal dump data into exact 8-bit binary bytes. Paste simple hexadecimal values or multiline hex dumps containing offsets, addresses, 0x prefixes, spaces and ASCII columns, then extract the actual byte data and convert it into a clean binary stream.

✓ Hex Dump Parser ✓ Hex to Binary ✓ Offset Detection ✓ ASCII Column Support ✓ 0x Prefixes ✓ Byte Validation
HEX
Hex Dump → Binary
● Ready
Paste hexadecimal bytes, multiline dumps, xxd-style output or values using 0x prefixes. Each extracted data byte must be between 00 and FF.
Conversion Options
Auto Detect handles most common hex dumps. Use Hex Bytes Only for strict byte-by-byte input.
Hex dump parsing: The converter extracts hexadecimal byte values and ignores recognized offset/address fields and ASCII preview columns. Every extracted byte becomes exactly eight binary bits.
Binary Conversion Result Converted
Binary Output
Hex Bytes
Total Bits
Input Lines
Offsets Removed
First Byte
Last Byte
Unique Bytes
Status
Extracted Hexadecimal Bytes
Byte-by-Byte Conversion
Conversion Details

Hex Dump to Binary Converter

The Hex Dump to Binary Converter extracts hexadecimal byte values from a hex dump and converts every byte into its exact eight-bit binary representation. It can process straightforward hexadecimal byte lists as well as common multiline dump layouts containing addresses, offsets and ASCII preview columns.

A hexadecimal byte contains two hex digits and represents a value from 00 through FF. Because one byte contains eight bits, every valid hex byte always converts into exactly eight binary digits.

This tool is useful for binary analysis, debugging memory dumps, inspecting packet data, reverse engineering, examining files, learning hexadecimal and binary conversion or converting output produced by utilities such as hex viewers and command-line dump tools.

How to Convert a Hex Dump to Binary

Paste your hexadecimal data into the input field. For ordinary byte data you can enter values separated by spaces, commas or line breaks. For a formatted dump, use Auto Detect or Offset / Hex Dump mode.

Press Convert Hex Dump to Binary. The converter extracts the valid data bytes, removes recognized offsets and converts every byte to an eight-bit binary value.

Hex: 48 65 6C 6C 6F Binary: 01001000 01100101 01101100 01101100 01101111

Hexadecimal Byte to Binary Conversion

Each hexadecimal digit represents four binary bits. A complete two-digit hexadecimal byte therefore represents eight bits.

Hex Decimal Binary
00000000000
01100000001
0F1500001111
101600010000
416501000001
7F12701111111
8012810000000
FF25511111111

Convert Simple Hex Bytes to Binary

The simplest input consists of hexadecimal bytes separated by spaces or other common delimiters.

Input: DE AD BE EF Binary: 11011110 10101101 10111110 11101111 Bytes: 4 Bits: 32

Leading zeros are preserved in the binary output, so hexadecimal 01 becomes 00000001 rather than simply 1.

Convert a Multiline Hex Dump to Binary

Hex dumps often organize bytes into multiple lines. Each line may start with an offset showing where those bytes occur in a file or memory region.

Hex dump: 00000000 48 65 6c 6c 6f 20 57 6f 00000008 72 6c 64 Extracted bytes: 48 65 6C 6C 6F 20 57 6F 72 6C 64 Binary: 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100

Hex Dump Offsets Explained

An offset is not normally part of the underlying byte data. It indicates the byte position at which a line begins. A dump may display offsets in four, eight or more hexadecimal digits.

00000010 4A 50 45 47 20 44 41 54 Offset: 00000010 Data bytes: 4A 50 45 47 20 44 41 54

In dump mode, recognized address or offset fields at the beginning of lines are removed before conversion.

Convert xxd-Style Hex Dumps

A common hex dump format places an offset at the left, hexadecimal data in the center and an ASCII preview at the right.

Example: 00000000: 4865 6c6c 6f20 576f 726c 64 Hello World Data: 48 65 6C 6C 6F 20 57 6F 72 6C 64

The converter can split grouped hexadecimal words such as 4865 or 6c6c into individual bytes when they occur in a recognized hex-data region.

Hex Values with 0x Prefixes

Programming languages and debugging output often prefix hexadecimal values with 0x. The prefix indicates that the following digits should be interpreted as hexadecimal.

Input: 0x48 0x65 0x6C 0x6C 0x6F Extracted: 48 65 6C 6C 6F Binary: 01001000 01100101 01101100 01101100 01101111

Continuous Hexadecimal Data

Hexadecimal data may also appear without spaces. When the data is a clean even-length hexadecimal sequence, every pair of digits can be interpreted as one byte.

Input: DEADBEEF Bytes: DE AD BE EF Binary: 11011110 10101101 10111110 11101111

Continuous hexadecimal data must contain an even number of digits because a full byte requires exactly two hex digits.

Why Every Hex Byte Becomes 8 Binary Bits

Hexadecimal is base 16, so one hexadecimal digit represents one of sixteen possible values. Four bits can also represent sixteen possible combinations, which creates a direct mapping between one hexadecimal digit and four binary digits.

Hex: A5 A = 1010 5 = 0101 A5: 10100101

This direct mapping makes hexadecimal particularly convenient for displaying binary byte data compactly.

Hex Dump to Continuous Binary

Sometimes binary data is needed without spaces between bytes. Select Continuous Bitstream to concatenate all converted eight-bit groups.

Hex: DE AD BE EF Grouped binary: 11011110 10101101 10111110 11101111 Continuous binary: 11011110101011011011111011101111

One Binary Byte per Line

For byte-level inspection, one-byte-per-line output can make long data sets easier to compare.

Hex: 41 42 43 Binary: 01000001 01000010 01000011

This format can be useful when comparing individual bytes with protocol fields, register values or memory addresses.

Hex Dump vs Raw Hexadecimal

Raw hexadecimal normally contains only the hexadecimal representation of the bytes. A hex dump may contain additional presentation information such as line offsets, separators and printable ASCII characters.

Format Example Contains Metadata?
Raw hex 48656C6C6F No
Spaced bytes 48 65 6C 6C 6F No
Hex dump 00000000: 48 65 6C 6C 6F Usually yes
xxd-style 00000000: 4865 6c6c 6f Yes

Hex Dump to Binary Example: DE AD BE EF

Hex dump: DE AD BE EF Byte 1: DE → 11011110 Byte 2: AD → 10101101 Byte 3: BE → 10111110 Byte 4: EF → 11101111 Final: 11011110 10101101 10111110 11101111

Hex Dump to Binary Example: ASCII Text

A hex dump may contain bytes that represent ASCII text, although this converter operates purely on the byte values and does not require those bytes to represent text.

Hex: 48 65 6C 6C 6F Binary: 01001000 01100101 01101100 01101100 01101111 ASCII interpretation: Hello

Common Uses for Hex Dump to Binary Conversion

Hex dump conversion is useful in networking, cybersecurity, embedded systems, reverse engineering, file-format analysis, digital forensics, memory inspection and low-level software debugging.

A developer may convert hexadecimal packet data into binary to examine individual flags and bit fields. An embedded-system engineer may inspect register values, while a reverse engineer may compare binary structures inside a file or memory dump.

Typical use cases

Common examples include packet payload analysis, protocol debugging, firmware inspection, binary-file research, register decoding, bit-mask analysis, cryptographic data inspection and studying byte-level file structures.

Common Hex Dump Parsing Mistakes

One mistake is converting an address or offset as though it were actual data. In a formatted dump, a value such as 00000020 at the beginning of a line usually describes the location of the bytes rather than a byte contained in the file.

Another mistake is reading the ASCII preview column as additional hexadecimal data. Printable text shown beside a dump is normally only a human-readable representation of bytes that have already appeared in the hexadecimal region.

It is also important to preserve leading zeros. Hexadecimal 01 must become binary 00000001 because each source byte represents a full eight-bit value.

Hex Dump to Binary Converter Limitations and Notes

Hex dump formats are not completely standardized. Auto Detect supports common layouts, but unusually formatted diagnostic output may contain ambiguous hexadecimal-looking metadata.

If a dump contains extra hexadecimal identifiers that are not actual bytes, use Hex Bytes Only mode after removing that metadata, or paste only the data portion of the dump.

This converter treats extracted values purely as bytes. It does not assume that those bytes represent ASCII, UTF-8, machine instructions, integers or any particular file format.

Hex Dump to Binary Converter FAQs

What is a hex dump?
A hex dump is a textual representation of binary data using hexadecimal byte values. It may also display offsets, addresses and an ASCII preview.
How do I convert hex to binary?
Convert each hexadecimal digit into four binary bits. A two-digit hex byte therefore converts into exactly eight binary bits.
What is FF in binary?
Hexadecimal FF equals decimal 255 and binary 11111111.
What is 00 in binary?
Hexadecimal 00 converts to binary 00000000.
What is DE AD BE EF in binary?
DE AD BE EF converts to 11011110 10101101 10111110 11101111.
Can I paste a multiline hex dump?
Yes. Auto Detect and Hex Dump modes support multiline input and common offset-based layouts.
Can the converter ignore offsets?
Yes. In recognized dump layouts, hexadecimal offsets at the start of lines are excluded from the extracted byte data.
Can I paste xxd output?
Yes. Common xxd-style output containing an offset, grouped hexadecimal values and an ASCII preview is supported.
Does the tool support 0x prefixes?
Yes. Values such as 0x41, 0xFF and 0x00 are recognized as hexadecimal bytes.
Can I convert continuous hexadecimal such as DEADBEEF?
Yes. An even-length continuous hexadecimal string can be split into two-digit bytes and converted to binary.
Why must continuous hex have an even number of digits?
Each byte requires two hexadecimal digits, so byte-oriented hexadecimal data must contain complete two-digit pairs.
Why are leading zeros important in binary output?
A hexadecimal byte always represents eight bits. For example, hex 01 is 00000001 rather than just 1.
Can I get binary without spaces?
Yes. Select Continuous Bitstream to concatenate all eight-bit binary values into one sequence.
Does the converter interpret the bytes as text?
No. The conversion is byte based. The bytes are converted to binary regardless of whether they represent text, image data, machine code or another binary format.
How many binary bits does one hex byte produce?
Exactly eight bits. Two hexadecimal digits represent one byte, and one byte contains eight bits.
Scroll to Top