A hex editor that works for you.
Structure overlays, ddhx's find syntax, splits, compare, hashes, and a minimap of the whole file. Native and GPU-drawn.
v0.2.0MITWindows, macOS, Linux
tour
Command-oriented.
Frames from vddhx's own screenshot build.

omnibar
One prefix per job.
Ctrl+E, then type. No prefix switches tabs and reopens recent files.
This page has one too.
- >commandsCtrl+Shift+P
- :go to an offsetCtrl+G
- /findCtrl+F
- =inspect or write a valueAlt+I
- @bookmarksCtrl+B marks
- #structure fields
- ?shortcuts
structure
It understands structures.
Fields colored by role, named in a tooltip and in the breadcrumbs: PNG / IHDR / width. Every byte is covered, broken files included.


find syntax
Pattern Expressions.
Used for searching, inserting, and replacing data.
| pattern | little-endian | big-endian | why |
|---|---|---|---|
utf8:hi | 6869 | same | text, as typed |
utf16:hi | 68006900 | 00680069 | follows byte order |
utf16bom:hi | fffe68006900 | feff00680069 | the mark, then the text |
utf8:"a\nb" | 610a62 | same | double quotes take escapes |
utf8:'a\nb' | 615c6e62 | same | single quotes do not |
ebcdic037:HELLO | c8c5d3d3d6 | same | a single-byte set |
x:de ad be ef | deadbeef | same | prefix carries over |
x16:1122 | 2211 | 1122 | hex value, follows byte order |
u32:1234 | d2040000 | 000004d2 | unsigned, four bytes |
i16:-2 | feff | fffe | two's complement |
i8:min | 80 | same | edges have names |
f32:pi | db0f4940 | 40490fdb | named constants |
x:89 ? ? 47 | 89????47 | same | any one byte |
u16:1..9 | 1..9 | same | a range of values |
workspace
Documents, views, panes.
- 1
Document
Bytes, edits, bookmarks. One per file.
- 2
View
Caret, selection, scroll. Many per document.
- 3
Pane
Tabs over a hex panel. Drag to split.

Compare
Two views scroll together, differences tinted. } and { jump between them.
Big files
Only visible rows are read. The minimap fills in the background.

toolbox
And the rest.
File
- Disks and partitions, opens as read-only first
Edit
- Undo digitCtrl+Z
- Copy hexCtrl+C
- Copy textCtrl+Shift+C
Search
- Find and replaceCtrl+R
- Bookmark every match
- Skip a run of identical bytesCtrl+LeftCtrl+Right
Bookmarks
- Named bookmarks, ddhx's bookmark fileCtrl+B
View
- Inspect the caret as every common typeAlt+I
- Write a value:
=u32 0x11223344= - Little or big endian
- Any row width up to 256, or auto
- ASCII, CP437, EBCDIC, Mac OS Roman
- Hex, decimal or octal offsets
Tools
- CRC, MD5, RIPEMD-160, SHA-1, SHA-2
Commands
- Insert or replace with a file>
Screen readers work through AccessKit.
settings
Make it yours.
Settings is a tab. Everything lands in .vddhxrc, in ddhx's syntax.
Themes carry every color. Dark, light, auto, or your own.
# ~/.config/vddhx/.vddhxrc
theme auto
theme-dark midnight
columns auto
address hex
charset ascii
bind ctrl+k find-next
bind h left
unbind ctrl+b
color zero gray
color bookmark black:#d0a020
color selection :#304060



lineage
ddhx with windows.
ddhx is the terminal hex editor. vddhx shares its core: syntax, commands, colors, bookmark files.
One native binary, no runtime.
- language
- D, builds with DMD, GDC or LDC
- windows
- SDL3
- interface
- dentrite
- drawing
- OpenGL 3.3, software fallback
- text
- FreeType and HarfBuzz
- access
- AccessKit screen readers
- core
- ddhx's documents, patterns and charsets
- license
- MIT
download
Get vddhx.
The .deb and .rpm use your distribution's SDL3, FreeType and HarfBuzz. Other builds bundle them.
Or build it
DMD 2.108, GDC 14 or LDC 1.38 and up, DUB, SDL3, FreeType, HarfBuzz:
git clone https://github.com/dd86k/vddhx
cd vddhx
dub build
Static, nothing to install:
dmd -run tools/build-libs.d
dub build -c static