Tool to view and convert binary files or text into hexadecimal format (hexdump) with offset and ASCII column management.
Hex Dump - dCode
Tag(s) : Informatics
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A hex dump (or hexadecimal dump) is a textual representation of the binary data in a file, memory segment, or data stream.
Each byte (8 bits) is displayed in hexadecimal (base 16) form, allowing a binary value to be represented by two hexadecimal digits ranging from 00 to FF.
This representation is often accompanied by an ASCII column showing the corresponding printable characters, to facilitate the identification of readable text strings within the binary data.
The use of base 16 is particularly well-suited because it offers a direct correspondence with binary: a hexadecimal digit represents exactly 4 bits.
The hex dump is thus a fundamental tool in low-level computing, security, and reverse engineering. Using a hex dump allows you to:
— Analyze binary files (executables, images, databases) without relying on software capable of interpreting their format.
— Debug data corruption problems, for example, in the case of damaged files or network transmission errors.
— Understand the internal structure of files by identifying specific headers, metadata, or sections.
— Highlight hidden or undocumented information in the context of steganography or digital forensics.
— Compare binary files byte by byte to detect precise differences.
To interpret a hex dump:
— Locate the offset: the starting address, usually expressed in hexadecimal, indicates the position of the byte in the file or memory.
— Read the bytes: each pair of hexadecimal characters represents one byte.
— Examine the ASCII column: bytes corresponding to printable characters from the standard ASCII table (values 32 to 126) are displayed in plain text. Non-printable bytes are generally replaced by a period . to maintain visual alignment.
Example: 00000000 64 43 6f 64 65 |dCode| is a hexadecimal dump of the string dCode.
When interpreting multi-byte values, taking endianness (little-endian or big-endian) into account is essential to avoid reading errors.
Converting a hex dump to a file involves reconstructing the original binary data from its hexadecimal representation.
The general principle is to remove all non-binary information (offsets, extra spaces, ASCII columns) to retain only the hexadecimal values representing the bytes.
dCode retains ownership of the "Hex Dump" source code. Any algorithm for the "Hex Dump" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Hex Dump" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Hex Dump" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Hex Dump" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Hex Dump on dCode.fr [online website], retrieved on 2026-01-29,