I want to view and edit hex data of specific files in linux. What would be a good program (open source preferred) which is able to do that and is compatible with most linux distros?


You can use GHex or Bless. I would recommend Bless. You can edit both raw data and hexadecimal data.

If you use Ubuntu you can install it with sudo apt-get install bless.

Here is screenshot: enter image description here

| improve this answer | |
  • Hmm I cant seem to be able to install it says it needs packages from unauthenticated sources. – user2505 Apr 20 '14 at 12:37
  • What Linux distro / version are you running? – Cornelius Apr 20 '14 at 12:41
  • Ubuntu 12.04 LTS – user2505 Apr 20 '14 at 12:42
  • Install the getdeb package, do a 'sudo apt-get update' and try again. Hopefully that should do it. I have installed it with no problems in Ubuntu 14.04 LTS. – Cornelius Apr 20 '14 at 12:45

From Need a good hex editor for Linux:

wxHexEditor is a hex editor specially for big files.

  • It uses 64 bit file descriptors (supports files or devices up to 2^64 bytes , means some exabytes but tested only 1 PetaByte file (yet). ).
  • It does NOT copy 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 native application.
  • You can copy/edit your Disks, HDD Sectors with it.( Usefull for rescue files/partitions by hand. )
  • You can delete/insert bytes to file, more than once, without creating temp file.

enter image description here

You can sort on Linux to find some more here: http://en.wikipedia.org/wiki/Comparison_of_hex_editors

| improve this answer | |

You may try hexeditor.jar, a binary file editor. Since it's written in Java, it should be compatible with most operating systems.


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy