Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Need a good hex editor for Linux

I need a good HEX editor for Linux, and by good I indicate:

Fast
Search/replace features
Can display data not only in hex, but also binary, octal, etc.
Can work with huge (> 1 gb) files without becoming slow and unresponsive (this requirement is important)
Optionally, has some compare/diff features

What can you recommend?
by

3 Answers

espadacoder11
I am a VIMer. I can do some rare Hex edits with:

:%!xxd to switch into hex mode

:%!xxd -r to exit from hex mode

But I strongly recommend ht

apt-cache show ht

Package: ht
Version: 2.0.18-1
Installed-Size: 1780
Maintainer: Alexander Reichle-Schmehl <tolimar@debian.org>
sandhya6gczb
Bless is a high quality, full featured hex editor.

It is written in mono/Gtk# and its primary platform is GNU/Linux. However it should be able to run without problems on every platform that mono and Gtk# run.

Bless currently provides the following features:

Efficient editing of large data files and block devices.
Multilevel undo - redo operations.
Customizable data views.
Fast data rendering on screen.
Multiple tabs.
Fast find and replace operations.
A data conversion table.
Advanced copy/paste capabilities.
Highlighting of selection pattern matches in the file.
Plugin-based architecture.
Export of data to text and HTML (others with plugins).
Bitwise operations on data.
A comprehensive user manual.

wxHexEditor is another Free Hex Editor, built because there is no good hex editor for the Linux system, especially for big files.

It uses 64-bit file descriptors (supports files or devices up to 2^64 bytes, which means some exabytes but tested only 1 PetaByte file (yet). ).
It does NOT copy the whole file to your RAM. That make it FAST and can open files (which sizes are Multi Giga < Tera < Peta < Exabytes)
Could open your devices on Linux, Windows, or MacOSX.
Memory Usage: Currently ~10 MegaBytes while opened multiple > ~8GB files.
Could operate thru XOR encryption.
Written with C++/wxWidgets GUI libs and can be used with other OSes such as Mac OS, Windows as a native application.
You can copy/edit your Disks, HDD Sectors with it.( Useful for rescue files/partitions by hand. )
You can delete/insert bytes to a file, more than once, without creating a temp file.

DHEX is more than just another hex editor: It includes a diff mode, which can be used to easily and conveniently compare two binary files. Since it is based on ncurses and is themeable, it can run on any number of systems and scenarios. With its utilization of search logs, it is possible to track changes in different iterations of files easily.
kshitijrana14
Personally, I use Emacs with hexl-mod.
Emacs is able to work with really huge files. You can use search/replace value easily. Finally, you can use 'ediff' to do some diffs.

Login / Signup to Answer the Question.