Hachoir
Python library and tools that parse binary files field by field, including hachoir-metadata for extracting file metadata.
Python CLI · Library · Open source · Data analysis and case notes · hachoir.readthedocs.io
- Takes
- File
- Pricing
- Free, open source
- Footprint
- Passive · no contact with target
- Account
- Not needed
- API
- No public API
- Last verified
- Nov 27, 2026
Python library and tools that parse binary files field by field, including hachoir-metadata for extracting file metadata. It takes file. Read the cons before you build a workflow on it.
What it does
Hachoir is an open-source Python library that splits a binary file into a tree of fields, down to single bits, so you can browse and edit it. It ships with command-line programs built on its parsers, including hachoir-metadata to pull metadata from files, hachoir-strip to remove it, hachoir-grep to search binaries and hachoir-urwid and hachoir-wx to inspect files in text or graphical mode.
Investigators use hachoir-metadata to read metadata from many media, archive and executable formats that other tools miss, and the viewers to look inside unusual or damaged files during forensic work.
Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.
- +Free and open source
- +Parses many formats, including executables and archives
- +Runs offline
- +Still maintained
- −Command-line and library focus
- −Output is technical
- −Format coverage varies by parser
When to use it
- 01Use it when you need metadata from a file format that common metadata viewers do not read.
- 02Use it when you want to inspect the internal structure of a binary file.
Next steps from this result
Suggested from the inputs Hachoir takes- Found a resultConfirm it with a second, independent source before you record itPassive
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
pip install hachoir hachoir-metadata file.mp4
Technical details
Listing verified by an editor on Nov 27, 2026- API
- No public API
- Account
- Not needed
- Footprint
- Passive · no contact with target
- Pricing
- Free, open source
- Platforms
- Python CLI · Library
- Repository
- vstinner/hachoir 671 stars
- Language
- Python
- Licence
- GPL-2.0
- Last commit
- Nov 2026
- Listed
- Nov 27
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used Hachoir? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to Hachoir
Listed tools that take the same inputs, closest match first.
- AI Voice DetectorFreemium · Passive · APIWhat it does
Web detector that scores whether speech in an audio clip is AI-generated, segment by segment, with a free tier and an API.
FileNo ratings yetVerified yesterday - ALEAPPOpen source · PassiveWhat it does
Open-source parser that turns an Android extraction into HTML, TSV, timeline and KML reports of messages, app data and logs.
FileNo ratings yetVerified yesterday - APKLeaksOpen source · PassiveWhat it does
Python CLI that decompiles an Android APK with jadx and scans it for URLs, endpoints and hardcoded secrets.
FileNo ratings yetVerified yesterday