Hex Editor

ddhx – hex editor

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 options

ddhx is written in D. Learn D with our recommended free books and free tutorials.


Related Software

Console-Based Hex Editors
hexylColored command-line hex viewer
hyxMinimalistic hex editor
hexeditView and edit hexadecimal files
hexerMulti-buffer editor for binary files
dz6Terminal hex editor with Vim-inspired key bindings
hxHex editor using plain C and POSIX libs
pokeExtensible editor for inspecting and modifying structured binary data
HextazyColorful hexadecimal editor
HexPatchInteractive TUI for viewing, editing and patching binary files
hexhogConfigurable hex viewer and editor
DHEXncurses-based hex editor with diff mode
fileobjncurses based hex editor
vblTerminal-based hexadecimal viewer and editor for binary files
HexMeWritten in C++ that uses the Curses library
hexcurse-ngWritten in C
ddhxSimple multi-platform modal text UI hex editor
bviBased on the vi text editor
XVIHex editor using ncurses
HexitMinimalistic hex editor

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted