LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

imhex

feature-rich hex editor designed for reverse engineers and programmers

TLDR

Open a file in ImHex
$ imhex [path/to/file]
copy
Create a new empty file
$ imhex --new
copy
Open file and select a byte range using hex offsets
$ imhex --open [path/to/file] --select [0x100] [0x200]
copy
Display file information (type, entropy, etc.)
$ imhex --file-info [path/to/file]
copy
Calculate SHA-256 hash of a file
$ imhex --hash sha256 [path/to/file]
copy
Generate hex dump of a file
$ imhex --hexdump [path/to/file]
copy
Display version information
$ imhex --version
copy

SYNOPSIS

imhex [options] [file]

DESCRIPTION

ImHex is a feature-rich hex editor designed for reverse engineers and programmers. It provides advanced analysis tools including a custom pattern language for parsing binary formats, data inspection, hash calculation, and visualization features.The editor supports multiple data views, bookmark management, and extensibility through plugins. It can handle large files efficiently and includes built-in parsers for common file formats.

PARAMETERS

--new

Create a new empty file
--open FILE
Open specified file
--select START END
Select byte range (hexadecimal offsets)
--file-info FILE
Display file information
--hash ALGORITHM FILE
Calculate file hash (md5, sha1, sha224, sha256, sha384, sha512)
--hexdump FILE
Generate hexadecimal dump
--version
Display version information

CAVEATS

GUI application, though some features available via command line. Requires significant memory for very large files. Pattern language has a learning curve.

HISTORY

ImHex was created by WerWolv and first released in 2020. It was designed as a modern replacement for older hex editors, incorporating features specifically useful for reverse engineering and binary analysis.

SEE ALSO

xxd(1), hexdump(1), hexedit(1), od(1), radare2(1)

Copied to clipboard
Kai