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.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.