A hex editor shows a file as the raw bytes it's made of, so you can see what's really inside it and change individual values. It's the tool to reach for when you need to identify a file with a missing extension, inspect a firmware image or save file, or patch a few bytes that no normal app will let you touch.
These picks are based on each project's official website, documentation or store listing, all checked on 4 December 2026. All of them are free.
Quick picks
Best overall: ImHex
Best if you use VS Code: Microsoft's Hex Editor extension
Best with nothing to install: HexEd.it
Best built-in option: PowerShell's Format-Hex
1. ImHex: best overall
ImHex is a free, open-source hex editor under the GPL-2.0 licence, and it's the most capable tool here. Alongside a standard hex view, its GitHub README lists a data inspector, searches for strings, byte sequences, regular expressions, binary patterns and numeric values, bookmarks, hashing with many algorithms, comparison of two files, an integrated disassembler, entropy graphs and YARA rule support.
It also has its own C-like pattern language for describing file formats, so ImHex can parse and highlight a file's structure, and it can open raw disks, process memory and remote files over SSH and SFTP as well as ordinary files.
For Windows, the latest stable release listed on GitHub as of 4 December 2026 is v1.38.1, dated 21 December 2025, with x86-64 and ARM64 MSI installers and portable ZIPs. The normal builds need a GPU with OpenGL 3.0 support, but there's also a software-rendered NoGPU build. If the full interface is too much, its simplified mode turns it "into a pure hex viewer editor without any extra analysis tools", according to the documentation.
Our guide on how to use ImHex on Windows 11 walks through installing it, searching and editing safely.
2. VS Code Hex Editor: best if you use VS Code
If Visual Studio Code is already your editor, Microsoft's free Hex Editor extension adds a hex view without another app. Its Marketplace listing says it allows "viewing and editing files in a hex editor", with a data inspector, editing with undo, redo, copy and paste, and find and replace. Its GitHub README also lists Copy As for formats such as C arrays and Base64, byte colouring and documented keyboard and screen reader support.
The main thing to know is that, by default, typing inserts new bytes rather than overwriting them. Press Insert, or click the edit mode in the status bar, to switch to overwriting. It doesn't have ImHex's file parsing, diffing or disk access. We compare the two in detail in ImHex vs VS Code Hex Editor.
3. HexEd.it: best with nothing to install
HexEd.it runs in your web browser. Its site describes it as "a free hex editor for Windows, MacOS, Linux and all other modern operating systems" that uses HTML5 and JavaScript, and says you can read, manipulate, write, import and export byte and bit data. The site lists version 2026.11.07.
That makes it handy on a PC where you can't or don't want to install software. As with any web app, check the site's own privacy information before opening sensitive files.
Windows already includes a basic hex viewer. Microsoft's documentation says the Format-Hex cmdlet "displays a file or other input as hexadecimal values", and suggests using it to work out the type of a corrupted file or one without an extension. For example, Format-Hex -Path .\File.t7f -Count 48 shows the first 48 bytes of a file.
It's view-only, so you can't edit bytes with it, and Microsoft notes that the Count parameter was introduced in PowerShell 6.2, so that example won't work in older versions such as Windows PowerShell 5.1. Our guide to PowerShell 7 vs Windows PowerShell explains the difference.
How to choose
Reverse engineering, firmware, file formats or disk work: ImHex.
Quick byte edits while coding: VS Code Hex Editor.
A one-off job on a PC where you can't install anything: HexEd.it.
Just checking what a file is: Format-Hex in PowerShell. To check whether a download is intact, see our guide on how to check a file hash in Windows 11.
Whichever you use, edit a copy of the file rather than the original.