Hex Editor

19 Best Free and Open Source Linux Console Hex Editors

A hex editor is a special type of editor that can open any type of file and display its contents, byte by byte. The “hex” in “hex editor” is short for hexadecimal, which is a base-16 number system. This type of editor lets you view and edit binary files. A binary file is a file that contains data in machine-readable form (as opposed to a text file which can be read by a human).

Since a hex editor is used to edit binary files, they are sometimes known as a binary editor or a binary file editor. If you edit a file with a hex editor, you are said to hex edit the file, and the process of using a hex editor is called hex editing.

Hex editors are often used for debugging and reverse engineering binary communication protocols. They can also review files with an unknown file format, reviewing program memory dumps, and hex comparison. Hex editors can help you remove watermarks or other data that is hidden within a file. Hex editors are a favorite tool of game modding communities.

If you use a text editor to open a binary file, you will see large amounts of incomprehensible information, seemingly random accented characters, and long lines overflowing with text. Editing or saving a binary file in a text editor will corrupt the file.

We feature our recommended console hex editors. They are all free and open source software.

Ratings chart

Let’s explore the 19 programs at hand. For each title we have compiled its own portal page, a full description with an in-depth analysis of its features, together with links to relevant resources.

Console-Based Hex Editors
hexylColored command-line hex viewer
hyxMinimalistic hex editor
hexeditView and edit hexadecimal files
hexerMulti-buffer editor for binary files
dz6Terminal hex editor with Vim-inspired key bindings
hxHex editor using plain C and POSIX libs
pokeExtensible editor for inspecting and modifying structured binary data
HextazyColorful hexadecimal editor
HexPatchInteractive TUI for viewing, editing and patching binary files
hexhogConfigurable hex viewer and editor
DHEXncurses-based hex editor with diff mode
fileobjncurses based hex editor
vblTerminal-based hexadecimal viewer and editor for binary files
HexMeWritten in C++ that uses the Curses library
hexcurse-ngWritten in C
ddhxSimple multi-platform modal text UI hex editor
bviBased on the vi text editor
XVIHex editor using ncurses
HexitMinimalistic hex editor

This article has been updated to reflect the changes outlined in our recent announcement.

Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
2 Comments
Oldest
Newest Most Voted
linuxCowboy
linuxCowboy
1 month ago

vbl is primarily a hex viewer and editor (the kind you would want to have on your rescue stick). Should we categorize it here instead of under “diff-tools“?