VBINDIFF(1)
β¨ vbindiff β the hex-viewer bestie you didn't know you needed β¨
okay so first of all, hi π this is the manual page for vbindiff (section 1 of the manual, she's that girl), and it was written by Christopher J. Madsen, who lowkey ate with this whole tool. let's get into it, no cap.
πΈ NAME πΈ
vbindiff β hexadecimal file display and comparison π¦
π SYNOPSIS π
vbindiff file1 [ file2 ]
like. that's it. that's the whole vibe.
β¨ DESCRIPTION β¨
Visual Binary Diff (VBinDiff) shows you files in hexadecimal and ASCII (or EBCDIC, she contains multitudes). It can also show you two files at the same time and highlight the differences between them, which is honestly so iconic of it. And unlike diff, it works well with big files β up to 4 GB. fr fr. π
π₯ Viewing files π₯
Movement Keys β the girlies that get you around
Upβ Move one line (16 bytes) towards the beginning of the fileDownβ Move one line (16 bytes) towards the end of the fileLeftβ Move one byte towards the beginning of the fileRightβ Move one byte towards the end of the filePageUpβ Move one page towards the beginning of the filePageDnβ Move one page towards the end of the fileHomeβ Move to the beginning of the fileEndβ Move to the end of the (shorter) fileFβ Search for a string or byte sequence πGβ Move to a specified file position
When you're displaying two files, both files move together, like the duo they are. But if bytes have been added or removed in one of the files, you can adjust the comparison by moving just one of the files. To move only the top file, press "T". To move only the bottom file, press "B". To go back to moving both files, press the same key again. (The window at the bottom of the screen will indicate when you are moving only one file β she tells you everything, we love a transparent queen π)
Other Keys β the rest of the crew
Enterβ Move to the next difference between the filesSpaceβ (same asEnter)Cβ Toggle between ASCII and EBCDIC displayEβ Edit currently displayed section of file βοΈEscβ Exit VBinDiffQβ Exit VBinDiff
The "Enter" key will advance to the next difference between the files (after those already displayed on the screen). If there are no more differences, it moves to the end. so it never leaves you hanging π
π Line editor π
The line editor is what you use to enter search strings and file positions. It uses the basic Emacs-style editing keys, because of course it does. iykyk.
Keys
Ctrl-B,Leftβ Move the cursor one character leftCtrl-F,Rightβ Move the cursor one character rightCtrl-A,Homeβ Move to the beginning of the lineCtrl-E,Endβ Move to the end of the lineCtrl-P,Upβ Move up in input historyCtrl-N,Downβ Move down in input historyCtrl-H,Backspaceβ Delete the character to the leftCtrl-D,Deleteβ Delete the character under the cursorCtrl-Kβ Delete from cursor to end of lineInsertβ Toggle between insert & overstrike modeEnterβ Finished entering textEscβ Abort the operation
π¦ Editing files π¦
You can press "E" to edit the current file. When you're displaying two files, this edits the one in the top window β unless you're in "move bottom" mode, in which case bestie, it does not.
When editing, you can move the cursor around with the arrow keys. Use TAB to switch between entering hexadecimal or ASCII (or EBCDIC) characters. Press the Esc key when you are done. You'll be given the choice to save or discard your changes then, so no pressure but also all the pressure π
If you're displaying two files, you can use the Enter key to copy a byte from the other file into the one you're editing. cute little copy-paste moment π
β οΈ You cannot scroll through the file while editing, although you can save your changes and then move to a different part of the file. Also, you cannot insert or delete bytes, only change them. that's the rule, periodt.
π OPTIONS π
-L,--licenseβ Display license information forvbindiff-V,--versionβ Display the version number--helpβ Display help information
π BUGS π
Does not work properly with files over 4 gigabytes. It should be able to view the first 4 gigabytes ok, but the display only has room for 8 hex digits of file position, and the Goto box is also limited to 8 digits. so like, she's trying her best but the math is not mathing past that point π
π LICENSE π
VBinDiff is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
VBinDiff is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with VBinDiff (see the file COPYING); if not, see <https://www.gnu.org/licenses/>.
π«Ά AUTHOR π«Ά
Christopher J. Madsen <vbindiff .at. cjmweb.net>
<https://www.cjmweb.net/vbindiff/> β <https://github.com/madsen/vbindiff>
okay that's the whole page bestie, you're officially educated π
and just so you know, this was VBinDiff 3.0_beta5, dated 2017-09-10, living in section VBINDIFF(1) of the manual β go forth and hex-diff, mwah πβ¨
π¦ where this page comes from
- alpine 3.24: vbindiff-doc 3.0_beta5-r3 Β· GPL-2.0-or-later
- arch rolling: vbindiff 3.0_beta5-3 Β· GPL
- debian bookworm: vbindiff 3.0-beta5-2
- debian trixie: vbindiff 3.0-beta5-2
- nixos 26.05: vbindiff 3.0_beta5
- nixpkgs unstable: vbindiff 3.0_beta5
- ubuntu jammy: vbindiff 3.0-beta5-1build2
- ubuntu noble: vbindiff 3.0-beta5-2
- ubuntu questing: vbindiff 3.0-beta5-2
- ubuntu resolute: vbindiff 3.0-beta5-2build1
- ubuntu stonking: vbindiff 3.0-beta5-2.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms