Sometimes you need to see what's really inside a file: to work out what type a file with a missing or wrong extension actually is, to check a game save or firmware image, or to change a few bytes in a config file that no normal app will open. That's the job of a hex editor, and ImHex is one of the most capable free options on Windows 11.
This guide is based on ImHex's GitHub repository, install guide, releases page and official documentation, all checked on 4 December 2026.
What ImHex is
ImHex describes itself as "A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM". It's free and open source under the GPL-2.0 licence, and it runs on Windows, macOS and Linux.
As well as a normal hex view, the project lists a data inspector, string, regex and numeric searches, bookmarks, hashing, file comparison (diffing), a disassembler, entropy graphs and its own pattern language for decoding file formats. It's dark mode by default, with a light mode available.
You don't have to use all of that. ImHex has a simplified mode that, according to its documentation, turns it "into a pure hex viewer editor without any extra analysis tools". That's a good place to start if you just want to look at or change a few bytes.
Before you start: system requirements
According to the ImHex README, the Windows version needs Windows 7 or later, with Windows 10 or 11 recommended. It officially supports x86, AMD64 and ARM64 processors, needs roughly 50MiB of RAM and about 100MiB of storage, and wants a GPU with OpenGL 3.0 support.
The developers say ImHex usually runs fine on integrated graphics, but warn that certain Intel HD graphics drivers on Windows are known to cause graphical artefacts. If you can't use GPU acceleration, for example in a virtual machine, there's a software-rendered NoGPU build, though the README says it can be a lot slower.
Step 1: Download and install ImHex
Open the ImHex releases page on GitHub. As of 4 December 2026 the latest stable release listed there is v1.38.1, dated 21 December 2025. The release notes say the Windows installers are now signed.
Pick the right file for your PC. Most Windows 11 desktops and laptops need the Windows-x86_64.msi installer. There's a Windows-arm64.msi for Windows on Arm laptops, portable ZIP versions for x86-64 and ARM64, and a portable NoGPU ZIP for x86-64.
Run the MSI installer, or extract the portable ZIP to any folder, as the official install guide describes.
The releases page also lists nightly builds. Stick with the release marked Latest unless you specifically need a fix that's only in a nightly.
Step 2: Open a file
When ImHex starts, it shows a Welcome Screen. Choose Open File there, use File → Open File..., or simply drag a file onto the ImHex window.
If you're new to hex editors, consider turning on the Simplified toggle at the bottom of the Welcome Screen first. The Welcome Screen also has links to ImHex's interactive tutorials.
Work on a copy. Before editing anything, copy the file and open the copy. The documentation warns that, as of v1.34.0, ImHex loads files smaller than 128MiB into memory and only writes changes when you save, but applies operations directly to larger files. Changes can still be undone until you close ImHex, but the developers advise making backups before modifying those larger files.
Step 3: Read the hex view
The Hex Editor view shows the file as rows of hexadecimal byte values, with an ASCII column on the right showing any readable text. The address of each row is on the left, and you can switch addresses between hexadecimal, decimal and octal in the footer at the bottom of the view.
A quick way to identify a mystery file is to look at its first few bytes. Many formats start with a recognisable signature. Microsoft's own PowerShell documentation gives the example of a PDF whose first bytes read %PDF in the text column, even though the file had an unusual extension.
Step 4: Use the Data Inspector
Click any byte and the Data Inspector decodes the bytes from that position as different data types at once, such as integers of different sizes, floating-point numbers, characters and timestamps. You can switch between little- and big-endian at the bottom of the inspector.
ImHex's documentation is careful to point out that the inspector can't always tell when a decoding is meaningless: just because a row shows a value doesn't mean the bytes really are that type. Some rows can be edited by double-clicking them, which writes the new value back to the data.
Step 5: Search the file
Open the Find view to search the whole file or just a selected region. The documentation lists several search strategies:
Strings: extracts ASCII and UTF-16 text, with a minimum length you can set.
Sequences: finds every occurrence of a specific string.
Regex: filters extracted strings with a regular expression.
Binary Pattern: finds byte sequences, with optional wildcards.
Numeric Value: finds numbers within a range, as a chosen type and endianness.
Click Search, and the results table lists each match with its offset and size. Clicking a row takes you to it in the hex view.
Step 6: Edit bytes and save safely
Double-click a byte to edit it, then type the new value. The cursor moves on to the next byte automatically.
Every change you make to buffered data appears in the Patches view, which shows the address, the original value and the new value. Right-click a change and choose Remove patch to undo it.
When you're happy, use File → Save, File → Save as... or Ctrl+S to write the changes back.
Avoid inserting or removing bytes unless you know you need to. The documentation warns that size-changing operations can change the layout of the data and will most likely make it unreadable by other programs. Overwriting existing bytes is usually what you want.
ImHex can also export your changes as IPS or IPS32 patch files through File → Export..., rather than saving them into the original file.
Step 7: Bookmarks, hashes and comparing two files
Bookmarks: select a range of bytes and use Edit → Create bookmark to give it a name, colour and comment. This is useful when you're working out what different parts of a file do.
Hashes: in the Hashes view, add a hash function such as MD5, SHA-256 or CRC32 with the + button, then select some bytes and ImHex shows their hash in the Result column. To hash a whole file quickly without installing anything, see our guide on how to check a file hash in Windows 11.
Diffing: open two files, then pick them as Provider A and Provider B in the Diffing view. ImHex highlights bytes that differ in yellow, and lists every difference in a table.
Advanced: raw disks and process memory
Through File → Open Other..., ImHex can also open data sources other than files. Its README lists raw disks and partitions, the memory of a running process, GDB servers and remote files over SSH and SFTP. These are powerful tools for developers and data-recovery work, but writing to a raw disk can destroy data, so stick to viewing unless you're certain. If you're trying to get lost files back, dedicated free data recovery software is usually a safer place to start.