hexedit is a utility that lets you view and edit files in hexadecimal or in ASCII.
hexedit shows a file both in ASCII and in hexadecimal. The file can be a device as the file is read a piece at a time. You can modify the file and search through it.
At the bottom of the display you have the modeline (copied from Emacs). As in eEmacs, you have the indications –, ** and %% meaning unmodified, modified and read-only. Then you have the name of the file you’re currently editing. Next to it is the current position of the cursor in the file followed by the total file size.
You can edit in ASCII or in hexadecimal. You can switch between the two with Tab. When the file is read-only, you can’t edit it. When trying to edit a read-only file, a message (“File is read-only”) tells you it is non-writable.
You can search for a string in ASCII or in hexadecimal. You can switch between the two with Tab. If the string is found, the cursor is moved to the beginning of the matching location.
This program is free and open source software.
Website: rigaux.org/hexedit.html
Support:
Developer: Pascal Rigaux
License: GNU General Public License version 2 or (at your option) any later version

hexedit is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Console-Based Hex Editors | |
|---|---|
| hexyl | Colored command-line hex viewer |
| DHEX | ncurses-based hex editor with diff mode |
| hexedit | View and edit hexadecimal files |
| hyx | Minimalistic hex editor |
| hexer | Multi-buffer editor for binary files |
| hx | Hex editor using plain C and POSIX libs |
| Hextazy | Colorful hexadecimal editor |
| hexhog | Configurable hex viewer and editor |
| fileobj | ncurses based hex editor |
| HexMe | Written in C++ that uses the Curses library |
| hexcurse-ng | Written in C |
| ddhx | Simple multi-platform modal text UI hex editor |
| bvi | Based on the vi text editor |
| XVI | Hex editor using ncurses |
| Hexit | Minimalistic hex editor |
Read our verdict in the software roundup.
| Alternatives to hexdump | |
|---|---|
| hexyl | Colored command-line hex viewer |
| DHEX | ncurses-based hex editor with diff mode |
| hexedit | View and edit hexadecimal files |
| hyx | Minimalistic but powerful hex editor |
| hexer | Multi-buffer editor for binary files |
| xxd | Make a hexdump or do the reverse |
| hx | Hex editor using plain C and POSIX libs |
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

