biodiff is an interactive binary file comparison utility that uses sequence alignment algorithms derived from bioinformatics. Unlike hexadecimal comparison tools that simply compare bytes at corresponding offsets, biodiff can identify matching regions that have been displaced by inserted or deleted data.
The software presents two files in a split hexadecimal display, introducing gaps where necessary to align corresponding sequences. Alignment can be performed incrementally around the current cursor position, across complete files or using a selected sequence as a search pattern. This makes the utility particularly useful when examining changes to firmware images, executable files and other binary data.
This is free and open source software.
Key Features
- Aligned and unaligned binary comparison modes.
- Sequence alignment using WFA2 or rust-bio algorithms.
- Blockwise alignment for interactive examination of larger files.
- Global alignment for comparing complete files.
- Semiglobal alignment using selected byte sequences.
- Optional banded alignment offering a trade-off between speed and accuracy.
- Binary, octal, decimal, hexadecimal, ASCII, braille and Roman numeral representations.
- Horizontal and vertical split layouts.
- Right-to-left display mode and optional ASCII and bar columns.
- Configurable bytes per row with automatic width detection based on repeating data.
- Search using text, regular expressions and hexagex patterns.
- Print comparison results directly to the terminal without opening the interactive viewer.
- Persistent configuration with a customisable settings directory.
Website: github.com/8051enthusiast/biodiff
Support:
Developer: 8051Enthusiast
License: MIT License

biodiff is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Terminal-Based Diff Tools | |
|---|---|
| difftastic | Structural diff tool that compares files based on their syntax |
| hunk | Terminal diff viewer with syntax highlighting and side-by-side views |
| diff-so-fancy | Attractive diffs with diff-highlight and more |
| delta | Viewer for git and diff output |
| icdiff | An improved colored diff |
| diffoscope | In-depth comparison of files, archives, and directories |
| colordiff | Wrapper for diff with pretty syntax highlighting |
| diffsitter | Semantic diff tool |
| objdiff | Local diffing tool for decompilation project |
| ydiff | Tool to view colored, incremental diff in a version controlled workspace |
| diffr | Word-by-word diff highlighting utility |
| dyff | diff tool for YAML files |
| Wdiff | Wordwise implementation of diff |
| dwdiff | diff program that operates at the word level |
| diffyml | Compares YAML documents by their structure |
| oyo | Step-through diff viewer |
| diff2html-cli | Generate HTML diffs |
| biodiff | Terminal-based binary diff viewer |
| dirdiff | Compute the differences between two directories |
| csvdiff | Fast diff tool for comparing CSV files |
| VBinDiff | Visual binary diff |
| riff | Wrapper around diff |
| csv-diff | Diffing CSV and JSON files |
| xmldiff | Compare XML documents |
| Patdiff | File diff using the Patience Diff algorithm |
| dead-ringer | Binary diff utility |
| sesdiff | Generates a shortest edit script |
| semdiff | Semantic diff tool written in Rust |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.