Linux provides a lot of command line tools for easy and practical use. Hex editor packages are some of them. In this tutorial we will look hex editor which can be used to edit files especially binary files in hexadecimal format.

Xxd

Xxd is very popular hex editor between Linux application developers and system administrators. It provides basic hex editor features. More detailed can be get from following tutorial.

How To Use Linux Xxd Command Tutorial For Hex and Binary Operations With Example?

Dhex

Dhex is very good and feature-full editor which provides console based hex edit screen. It provides menus like Goto , Search , HexCal etc.

We can install dhex like below.

$ sudo apt install dhex -y

Vim

Vim is actually a text editor but have ability to edit hex files. We can install vim with the following command. We can install vim like below.

$ apt install vim

After opening file we shold change the editor mode into hex with the following vim command.

:%!xxd

Emacs

Emacs is alternative text editor to Vim and it provides hex edit features like vim. We can install emacs with the following command.

$ apt install emacs

Hexedit

Hexed is a bit more than a hex editor. It provides getting diff of files and can be used to compare binary files. It is user interface is based on ncurses. We can install it like below.

$ apt install hexedit

Bless

Bless is the most advanced hex editor which provides a lot features. We can install bless with the following command.

$ apt install bless

It provides graphical user interface like Windows hex editors. It cat edit large data files and block devices. It supports multilevel undo-redo operations. Data can be rendered fast in screen. Enhanced data conversion table.

Hexcurse

Hexcurse can be installed with the following command.

$ apt install hexcurse