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 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 01101111Hexadecimal Byte to Binary Conversion
Each hexadecimal digit represents four binary bits. A complete two-digit hexadecimal byte therefore represents eight bits.
| Hex | Decimal | Binary |
|---|---|---|
| 00 | 0 | 00000000 |
| 01 | 1 | 00000001 |
| 0F | 15 | 00001111 |
| 10 | 16 | 00010000 |
| 41 | 65 | 01000001 |
| 7F | 127 | 01111111 |
| 80 | 128 | 10000000 |
| FF | 255 | 11111111 |
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:
32Leading 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 01100100Hex 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 54In 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 64The 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 01101111Continuous 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 11101111Continuous 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:
10100101This 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:
11011110101011011011111011101111One 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
01000011This 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 11101111Hex 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:
HelloCommon 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.