ddhx is a keyboard-driven modal terminal hex editor designed to handle both ordinary binary files and very large data sets. Its interface combines direct byte editing with selection and range-oriented commands.
The editor supports several character representations alongside hexadecimal data, making it useful for binaries containing text encoded for older or specialised systems. Search functionality uses a pattern syntax rather than being limited to simple byte strings.
ddhx also distinguishes between different types of input media so operations that would not make sense for a disk, device or stream can be restricted appropriately.
This is free and open source software.
Key Features
- Supports insert, overwrite and delete operations.
- Provides unlimited undo and redo, including with newly created buffers.
- Handles files with sizes extending into the exbibyte range.
- Offers visual selections and commands that operate on ranges.
- Supports ASCII, CP437, EBCDIC 037, Mac Roman, Latin-1 and Windows-1252 character representations.
- Can list the available character sets from the command line.
- Searches binary data using a flexible pattern syntax.
- Supports integer ranges inside search patterns.
- Provides bookmarks for quickly returning to useful offsets.
- Optimises bookmark handling for large sets of marked positions.
- Can skip identical data or repeating patterns selected by the user.
- Detects files, disks, devices, streams and procfs-style inputs and adapts available operations accordingly.
- Prevents size-changing operations where the underlying medium cannot support them.
- Allows display and behaviour to be customised through a configuration file.
- Supports several terminal platforms including Linux, BSD, macOS and Windows.
- Provides command-line controls for display and character-set behaviour.
- Uses modal commands for efficient keyboard-oriented navigation and editing.
Website: github.com/dd86k/ddhx
Support:
Developer: dd86k
License: MIT License

ddhx is written in D. Learn D with our recommended free books and free tutorials.
Related Software
| Console-Based Hex Editors | |
|---|---|
| hexyl | Colored command-line hex viewer |
| hyx | Minimalistic hex editor |
| hexedit | View and edit hexadecimal files |
| hexer | Multi-buffer editor for binary files |
| dz6 | Terminal hex editor with Vim-inspired key bindings |
| hx | Hex editor using plain C and POSIX libs |
| poke | Extensible editor for inspecting and modifying structured binary data |
| Hextazy | Colorful hexadecimal editor |
| HexPatch | Interactive TUI for viewing, editing and patching binary files |
| hexhog | Configurable hex viewer and editor |
| DHEX | ncurses-based hex editor with diff mode |
| fileobj | ncurses based hex editor |
| vbl | Terminal-based hexadecimal viewer and editor for binary files |
| 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.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.