Download HxD Hex Editor
A fast, reliable hex editor for inspecting and editing binary files, raw disks, and process memory on Windows.
What Is HxD Hex Editor?
A free, portable hex editor built for working with raw binary data on Windows – from small config files to multi-terabyte disk images.
Raw Binary Editing, Without the Bloat
HxD Hex Editor is a freeware binary editor for Windows developed by Mael Horz. It handles files of practically any size – the application can open and edit data up to 8 exabytes, which covers everything from tiny firmware blobs to full disk images. The program opens files almost instantly regardless of their size, which sets it apart from many competing hex editors that choke on larger data.
Beyond basic file editing, HxD Hex Editor works directly with raw disk sectors and live process memory. You can attach to a running process and inspect or modify its RAM in real time, or open a physical drive to examine partition tables and boot sectors byte by byte. These capabilities make it a practical choice for reverse engineers, security researchers, firmware developers, and forensics analysts who need to see exactly what’s on a disk or in memory.
Built Around a Developer Workflow
The interface follows the standard three-column hex editor layout: offset addresses on the left, hex byte values in the center, and decoded ASCII text on the right. Modified bytes show up in red, so changes are easy to track. HxD supports unlimited undo and redo, bookmarks for marking important offsets, and a flexible search system that handles hex patterns, text strings, Unicode, integers, and floating-point values.
For checksums and data integrity work, HxD generates MD5, SHA-1, SHA-256, SHA-512, and CRC digests on the fly. It can export selected data as C, C#, Java, VB.NET, or Pascal source code arrays – handy when you need to embed binary data directly in a project. The tool also includes a byte statistics panel with distribution graphs, file comparison (visual diff), and a built-in file shredder for secure deletion.
Why People Use It
Raw Disk and Memory Access
Edit hard drives, USB devices, and CD/DVDs at the sector level. Inspect and patch running process memory without leaving the editor.
Flexible Search and Replace
Find hex patterns, text strings, integers, and floats across files of any size. Replace operations support multiple data types at once.
Checksums and Data Export
Generate MD5, SHA-256, SHA-512, and CRC hashes. Export binary data as C, Java, or Pascal source code for embedding in your projects.
Portable and Lightweight
The entire download is 3.19 MB. A portable edition runs from a USB drive with no installation or admin rights required.
Ready to get started? Download HxD Hex Editor free for Windows.
Features
HxD packs the tools you need for binary analysis, disk forensics, and data recovery into one lightweight editor.
Files Up to 8 Exabytes
Opens and edits files of any size instantly. HxD streams data from disk so you can inspect multi-gigabyte ISOs or database dumps without waiting for them to load into memory.
Raw Disk Editing
Read and write sectors on hard drives, USB sticks, SD cards, and floppy disks at the byte level.
RAM Editor
Inspect and modify the memory of any running process. Sections are tagged with data-folds for easier navigation.
Flexible Search & Replace
Search by hex string, text, Unicode, integers, or floating-point values across the entire file.
Export to Multiple Formats
Copy hex data as C, C#, Java, VB.NET, Pascal source arrays, or export to Intel HEX, Motorola S-records, HTML, and RTF. Drop binary data straight into your codebase.
Checksums & Hashes
Generate MD5, SHA-1, SHA-256, SHA-512, and CRC checksums. Verify file integrity or compare hashes on the fly.
File Comparison
Compare two files side by side. Differences are highlighted so you can spot changes between binary versions fast.
Unlimited Undo
Every edit is tracked with full undo history. Modified bytes are highlighted in red so you always know what changed.
Byte Statistics
View byte distribution graphs and entropy analysis. Spot patterns, find compressed sections, or detect anomalies.
File Shredder
Securely delete files by overwriting their data before removal. Split and concatenate files directly.
Portable Edition
Run HxD from a USB drive with zero installation. The portable setup writes only to its own folder and needs no admin rights – carry your hex editor anywhere.
System Requirements
HxD has minimal hardware demands. It runs on nearly any Windows PC made in the last 20 years.
| Component | Minimum | Recommended |
|---|---|---|
| Operating System | Windows XP SP3 (32-bit) | Windows 10 or 11 (64-bit) |
| Processor | Pentium III or equivalent, 500 MHz | Any dual-core CPU, 1 GHz or faster |
| RAM | 256 MB | 2 GB or more for large file editing |
| Disk Space | 10 MB free (installer is 3.19 MB) | 50 MB free to account for temp files |
| Display | 800 x 600 resolution | 1280 x 720 or higher |
| Permissions | Standard user (portable edition) | Admin rights for raw disk / memory editing |
HxD also ships as a portable ZIP — no installation or admin rights needed. Just unzip and run.
Download HxD Hex Editor
Get the installer or portable edition of HxD for your Windows PC. Both packages are identical in features and completely free.
HxD Hex Editor
Version 2.5.0.0 · Released February 2021
What Changed in v2.5
- ARM64 support for Windows on ARM devices
- Data inspector with signed/unsigned integer views
- Improved search with regular expression support
- Column width and byte grouping options
- Better handling of files over 4 GB
Safe Download
All downloads link directly to the developer’s official server at mh-nexus.de. No bundled software, no wrappers, no third-party installers.
HxD is developed and maintained by Mael Horz. It has been free for private and commercial use since its first release. Need help after installing? Check the Getting Started guide below.
Getting Started with HxD Hex Editor
From download to your first hex edit in about five minutes. This guide walks you through setup, configuration, and the core workflow.
Downloading HxD Hex Editor
Head to our download section above to grab HxD Hex Editor. The full package is only 3.19 MB, so even on a slow connection it finishes in seconds.
HxD comes in two flavors: an installer (.exe) and a portable (.zip) version. Both contain the same editor with the same features. The installer drops HxD into your Program Files folder and adds a Start Menu shortcut. The portable zip works from any folder, including a USB drive, with no admin rights needed.
If you just want to try HxD without modifying your system, go with the portable zip. Unzip it anywhere and run HxD.exe directly. For a permanent setup that integrates into your Windows right-click menu, the installer is the better choice.
HxD offers separate 32-bit and 64-bit builds. Most modern Windows machines (Windows 10 or 11) should pick the 64-bit version. If you are running something older like Windows XP or you are unsure, the 32-bit build works on both architectures.
certutil -hashfile HxDSetup.exe SHA512 in Command Prompt.
Installation Walkthrough
Using the installer:
- Run
HxDSetup.exe. If Windows SmartScreen pops up with “Windows protected your PC,” click More info and then Run anyway. HxD is signed freeware from Mael Horz, and this warning appears because it is not distributed through the Microsoft Store. - Select your language (English is the default) and click OK.
- Read through the license agreement. HxD is free for both personal and commercial use. Click I Agree.
- Choose the installation folder. The default
C:Program FilesHxDworks fine for most people. Click Next. - On the component selection screen, you will see checkboxes for creating a desktop shortcut and adding HxD to the context menu (right-click menu in Windows Explorer). Keep the context menu option checked if you want to right-click any file and open it directly in HxD.
- Click Install. The process takes a few seconds given the small file size.
- Click Finish. HxD is ready to launch.
Using the portable version:
- Extract the downloaded
.zipfile to any folder (e.g.,C:ToolsHxDor your USB drive). - Open the extracted folder and double-click
HxD.exe(orHxD64.exefor the 64-bit build). - No installation, no admin rights, no registry entries. Settings are saved in the same folder as the executable.
HxDSetup.exe /VERYSILENT /SUPPRESSMSGBOXES. This installs HxD with default settings and no user prompts.
HxD does not require any registration, activation key, or online account. The first time you launch it, you land straight on an empty editor window ready to open a file. No splash screen, no trial nag.
Initial Setup and Configuration
HxD works well out of the box, but a few tweaks make it more comfortable for daily use.
Open Extras > Options from the menu bar. This opens the settings dialog where you can adjust how HxD looks and behaves.
Display settings worth changing:
- Bytes per row – Use the dropdown in the toolbar (not in Options) to switch between 16, 32, or other values. 16 bytes per row is the standard for most hex editing work. If you have a wide monitor, 32 can be useful.
- Character encoding – In View > Character set, pick your encoding. ANSI is the default and works for most files. Switch to DOS for legacy files, EBCDIC for mainframe data, or Macintosh for classic Mac files.
- Colors – Under Extras > Options > Colors, you can change the hex view foreground, background, and the highlight color for modified bytes. By default, changed bytes appear in red on white. If you prefer a dark background, set the background to a dark gray like
#1E1E1Eand text to white.
File associations:
If you installed HxD with the context menu option, any file can be opened by right-clicking it in Windows Explorer and choosing “Open with HxD.” To make HxD the default for specific file types (like .bin, .hex, or .rom), go to Windows Settings > Apps > Default apps, search for the file extension, and select HxD.
Your First Hex Edit
Let us walk through a practical example: opening a file, finding specific bytes, and editing them.
Opening a file: Press Ctrl+O or go to File > Open. Pick any file you want to inspect. HxD opens files of any size almost instantly, even multi-gigabyte disk images.
The main window splits into three columns. On the left, the Offset column shows the address of each row in hexadecimal. The center column displays the hex byte values in groups. The right column shows the decoded ASCII text, with non-printable characters replaced by dots. Click in either the hex or ASCII column to position your cursor.
Finding data: Press Ctrl+F to open the search dialog. You can search by text string, hex values, integers, or floating-point numbers. For example, to find the string “MZ” (the signature at the start of every Windows executable), type MZ in the Text field and click Search All. Press F3 to jump to the next match.
Editing bytes: Click on any byte in the hex column and start typing to overwrite it. Changed bytes appear in red so you can track what you have modified. HxD defaults to Overwrite mode (shown in the status bar at the bottom). Press Insert to toggle to Insert mode if you need to add bytes rather than replace them.
Replacing data: Press Ctrl+R to open Find and Replace. This works for hex values and text strings. You can replace all instances at once or step through them one by one.
When you are done, press Ctrl+S to save. Remember that HxD has unlimited undo (Ctrl+Z) and redo (Ctrl+Y), so you can reverse any change before saving.
Essential keyboard shortcuts:
| Action | Shortcut |
|---|---|
| Open file | Ctrl+O |
| Save | Ctrl+S |
| Find | Ctrl+F |
| Find and Replace | Ctrl+R |
| Go to offset | Ctrl+G |
| Undo / Redo | Ctrl+Z / Ctrl+Y |
| Select block | Ctrl+E |
| Compare files | Ctrl+K |
| Open disk | Ctrl+Shift+D |
| Open RAM (process memory) | Ctrl+Shift+M |
| Copy as hex string | Ctrl+C |
| Paste (overwrite) | Ctrl+B |
| Set bookmark | Ctrl+Shift+0-9 |
| Jump to bookmark | Ctrl+0-9 |
Tips, Tricks, and Best Practices
Use disk and memory editing carefully. HxD can open raw physical disks (Extras > Open disk) and process memory (Extras > Open RAM). Disk editing requires administrator privileges and bypasses the file system entirely. This is powerful for data recovery or forensics, but writing to the wrong sector can destroy your partition table. Only use it if you know what you are doing.
Generate checksums fast. Go to Analysis > Checksums to compute MD5, SHA-1, SHA-256, SHA-512, or CRC values for the current file. This is handy for verifying downloads or comparing file integrity without switching to a separate tool.
Export data in multiple formats. Select a block of bytes, then go to Edit > Copy Special > Copy as to export hex data as C source code, C# byte arrays, Java arrays, Pascal, Visual Basic .NET, Intel HEX records, or Motorola S-records. Developers use this constantly when embedding binary data into firmware or application code.
Compare two files side by side. Press Ctrl+K to open the file comparison dialog. HxD highlights every byte that differs between the two files and lets you step through differences with F6. It also reports the total number of differing bytes and any size mismatch.
Bookmark important offsets. When working with large files, use Ctrl+Shift+1 through Ctrl+Shift+9 to set bookmarks, then Ctrl+1 through Ctrl+9 to jump back. Bookmarks persist for your session and make navigating complex file structures much faster.
Where to find help: The official forum at forum.mh-nexus.de is where the developer Mael Horz responds to bug reports and feature requests. For general hex editing questions, the r/ReverseEngineering and r/techsupport subreddits are good places to ask. HxD updates are released on the official site, so check mh-nexus.de/en/hxd/ periodically for new versions.
Ready to start? Download HxD Hex Editor and open your first binary file.
Frequently Asked Questions
Answers to the most common questions about downloading, installing, and using HxD Hex Editor on Windows.
Is HxD Hex Editor safe to download and install?
Yes, HxD Hex Editor is completely safe to download and install. The software has been developed by Mael Horz since 2002 and is distributed as freeware through the official website at mh-nexus.de. The installer file is just 3.19 MB and has been scanned by major antivirus engines on VirusTotal with zero detections.
HxD does not bundle any adware, toolbars, or unwanted third-party software during installation. The installer is straightforward and does not attempt to change your browser settings or install background services. Because HxD is a hex editor that reads and writes raw binary data, Windows SmartScreen may occasionally show a warning on first launch — this is normal for unsigned freeware utilities and does not indicate malicious behavior.
- Always download from the official source at mh-nexus.de/en/hxd/ or from our download section
- Avoid third-party download sites that may bundle the installer with adware
- The portable ZIP version requires no installation at all — just extract and run
Pro tip: If Windows SmartScreen blocks the installer, click “More info” then “Run anyway.” This happens because HxD is distributed as unsigned freeware, not because of any security risk.
For more details about what HxD does, see our overview section.
Is HxD Hex Editor free from malware and spyware?
HxD Hex Editor is 100% free from malware, spyware, and any form of unwanted software. The official installer from mh-nexus.de has maintained a clean record across all major antivirus platforms, including Windows Defender, Malwarebytes, Kaspersky, and Norton. The 3.19 MB download contains only the hex editor application and its supporting files.
Unlike many free tools that monetize through bundled software, HxD has no hidden monetization. There are no analytics trackers, no data collection, and no network connections made during normal operation. The software works entirely offline after installation. Mael Horz has maintained this clean distribution approach for over two decades, which is part of why HxD remains one of the most recommended hex editors in developer and security research communities on Reddit and Stack Overflow.
- No bundled adware or browser extensions
- No background processes or system services installed
- No internet connection required for operation
- Clean VirusTotal scan results from all major engines
Pro tip: If you want extra peace of mind, download the portable ZIP edition. It requires zero installation — just unzip to any folder and run HxD.exe directly.
Download HxD safely from our download page.
Where is the official safe download for HxD Hex Editor?
The official download for HxD Hex Editor is hosted on the developer’s website at mh-nexus.de/en/hxd/. This is the only source maintained directly by Mael Horz, the sole developer of HxD. Both the standard installer (Setup) and the portable edition (ZIP) are available there in 32-bit and 64-bit versions.
Some users on Reddit have reported occasional connection timeouts when downloading directly from mh-nexus.de, likely due to the site running on a personal server. If the official site is temporarily slow, our download section provides verified links to the latest version 2.5.0.0. Third-party mirror sites like Softpedia and MajorGeeks also host verified copies, but you should always avoid downloading from sites that wrap the installer in a custom downloader or require account creation.
- Visit our download section or go to mh-nexus.de/en/hxd/
- Choose between the Setup (installer) or Portable (ZIP) edition
- Select 32-bit or 64-bit based on your Windows version
- The download is 3.19 MB and completes in seconds on most connections
Pro tip: A common mistake is downloading HxD from random “free download” sites that wrap the installer with adware. Stick to the official source or trusted mirrors to keep your system clean.
Check our system requirements to confirm compatibility before downloading.
Does HxD Hex Editor work on Windows 11?
Yes, HxD Hex Editor works on Windows 11 without any issues. Version 2.5.0.0 is fully compatible with Windows 11 (both 23H2 and 24H2), and the 64-bit edition runs natively on modern Windows installations. HxD has been tested on Windows versions from XP through Windows 11, covering both 32-bit and 64-bit architectures.
One known cosmetic issue on Windows 10 and 11 involves high-DPI displays. If your display scaling is set above 100% (for example, 125% or 150%), HxD’s interface may appear slightly blurry because it does not yet support per-monitor DPI awareness. The hex data and text remain fully readable and functional, but the toolbar icons and menu text may look soft compared to DPI-aware applications. This is a known discussion on the mh-nexus.de forums and affects all scaling settings above 100%.
- Windows 11 64-bit: use the 64-bit (x64) edition for best performance
- Windows 11 ARM (Surface Pro): use the 32-bit edition under x86 emulation
- For DPI blurriness: right-click HxD.exe, go to Properties > Compatibility > Change high DPI settings > enable “Override high DPI scaling behavior” and set to “System”
Pro tip: On Windows 11 ARM devices like the Surface Pro X, the 32-bit edition runs fine under Windows’ built-in x86 emulation layer. Performance remains excellent because HxD is extremely lightweight at only 3.19 MB.
See full OS support details in our system requirements section.
Does HxD Hex Editor work on macOS or Linux?
No, HxD Hex Editor is a Windows-only application. There are no official macOS or Linux builds, and the developer Mael Horz has not announced plans to port HxD to other platforms. The software is built using Delphi and relies on Windows-specific APIs for its disk editing and RAM editing features.
If you need a hex editor on macOS, the closest alternatives are Hex Fiend (free, open source, macOS native) and 010 Editor (paid, cross-platform with binary templates). For Linux users, popular options include xxd (command-line, comes with Vim), Bless (GTK-based GUI editor), and ghex (GNOME hex editor). ImHex is another modern cross-platform option that runs on Windows, macOS, and Linux with features like pattern language support and data analysis tools.
- macOS: Hex Fiend (free) or 010 Editor ($49.95 license)
- Linux: xxd (CLI), Bless, ghex, or ImHex
- Cross-platform: 010 Editor or ImHex cover Windows + macOS + Linux
Some users have reported running HxD under Wine on Linux, but disk editing and RAM editing features will not work in that configuration. File editing works, but you lose the system-level capabilities that make HxD unique.
Pro tip: If you switch between Windows and macOS, consider using ImHex — it is free, open source, and supports pattern files for structured binary analysis across all three major operating systems.
For Windows users, download HxD from our download section.
What are the minimum system requirements for HxD Hex Editor?
HxD Hex Editor has very minimal system requirements. It runs on any Windows PC from Windows XP through Windows 11, needs less than 10 MB of disk space, and works with as little as 256 MB of RAM. The application itself is only 3.19 MB, making it one of the lightest hex editors available.
Because HxD uses memory-mapped file I/O, it can open files of virtually any size — up to 8 exabytes (8 EB) in theory — without loading the entire file into memory. This means you can open a 50 GB disk image on a machine with just 4 GB of RAM without any performance problems. The actual memory used by HxD stays low regardless of file size, typically under 30 MB even with multiple large files open in tabs.
- OS: Windows XP, Vista, 7, 8, 8.1, 10, or 11 (32-bit or 64-bit)
- CPU: Any x86 or x64 processor (Pentium III or later)
- RAM: 256 MB minimum, 1 GB recommended
- Disk: 10 MB free space
- Display: 800×600 minimum resolution
Pro tip: For the absolute smallest footprint, use the portable edition. It needs no installation and does not write to the Windows registry, which makes it ideal for running from a USB drive on any Windows PC.
Full hardware details are listed in our system requirements table.
Is HxD Hex Editor completely free to download and use?
Yes, HxD Hex Editor is completely free for both personal and commercial use. There is no paid version, no subscription, no trial period, and no feature restrictions. Every feature — file editing, disk editing, RAM editing, checksums, file comparison, data export — is available at no cost.
HxD is classified as freeware (not open source). The developer Mael Horz distributes it freely but retains the copyright and source code. This licensing model has been consistent since HxD was first released in 2003. Unlike many “freemium” hex editors that gate advanced features behind a paywall (010 Editor charges $49.95 for a license, for example), HxD provides all capabilities in a single free package with no limitations.
- Free for personal use on your home computer
- Free for commercial use in business and enterprise environments
- Free for educational use in schools and universities
- No registration, no email signup, no account required
- No feature limitations or nag screens
Pro tip: Because HxD is free for commercial use, IT departments can deploy it across an entire organization without license tracking. The portable edition is especially convenient for this — place it on a shared network drive and every team member can run it directly.
Learn more about what HxD offers in our features overview.
Is there a paid or premium version of HxD Hex Editor?
No, there is no paid or premium version of HxD Hex Editor. The software has always been a single-edition freeware product. Every feature available in HxD — from basic hex editing to raw disk editing and process memory modification — is included in the free download.
If you need features that HxD does not offer (binary templates, scripting, or cross-platform support), those capabilities exist in paid alternatives like 010 Editor ($49.95 single license) or free open-source tools like ImHex. HxD focuses on doing core hex editing tasks extremely well rather than expanding into scripting or plugin ecosystems. For most users — developers inspecting file headers, security researchers analyzing binaries, or gamers modifying save files — HxD covers everything needed.
- HxD 2.5.0.0 is the latest and only edition — no “Lite” vs “Pro” split
- All features (disk editing, RAM editing, checksums, file compare) are included
- 010 Editor ($49.95) adds binary templates and scripting if you need those
- ImHex (free, open source) adds pattern language and data processing if you want structured analysis
Pro tip: If you find yourself wishing HxD had binary templates for parsing structured file formats, try ImHex alongside HxD. Many professionals keep both installed — HxD for quick edits and disk operations, ImHex for format analysis.
Download HxD at no cost from our download section.
How do I download and install HxD Hex Editor step by step?
Installing HxD Hex Editor takes under two minutes. Download the installer from our download section, run the setup file, and follow the prompts. The entire process requires no special configuration.
The installer is a standard Windows setup wizard built with Inno Setup. It does not bundle any third-party software, toolbars, or browser extensions. The default installation path is C:Program FilesHxD for the 64-bit edition or C:Program Files (x86)HxD for the 32-bit version.
- Download the HxD Setup file (3.19 MB) from our download section
- Double-click the downloaded
HxDSetup.exefile - If Windows SmartScreen appears, click “More info” then “Run anyway”
- Accept the license agreement and click “Next”
- Choose the installation directory (default is fine for most users)
- Select whether to create a desktop shortcut and Start Menu entry
- Click “Install” and wait a few seconds for the files to copy
- Click “Finish” to complete the installation and optionally launch HxD
Pro tip: If you prefer not to install anything, download the portable ZIP edition instead. Extract it to any folder (or a USB drive) and run HxD.exe directly — no administrator rights needed.
See our Getting Started guide for first-use configuration tips.
HxD Hex Editor portable vs installer — which should I choose?
Choose the portable edition if you want zero installation and the ability to run HxD from a USB drive. Choose the installer if you want desktop shortcuts, Start Menu integration, and file association for .hex files.
Both editions are identical in functionality — same features, same version (2.5.0.0), same 3.19 MB download size. The difference is purely in how the software is deployed on your system. The installer registers HxD with Windows (adds uninstall entry, optional file associations, Start Menu shortcut), while the portable ZIP runs from whatever folder you extract it to and leaves no trace in the Windows registry.
- Installer: Best for your primary workstation where you want quick access via Start Menu and right-click “Open with HxD” on files
- Portable: Best for USB drives, shared network drives, locked-down corporate PCs where you lack admin rights, or situations where you want zero footprint
- Both support 32-bit and 64-bit Windows
- Settings location: installer stores config in
%APPDATA%HxD, portable stores config alongsideHxD.exe
Pro tip: Many IT professionals carry the portable edition on a USB drive alongside other diagnostic tools. It boots instantly and requires no dependencies, making it a reliable first-response tool for examining binary files or disk sectors on any Windows machine.
Download either edition from our download section.
How to fix HxD Hex Editor looking blurry on high-DPI displays?
HxD appears blurry on displays with scaling above 100% because the application does not support per-monitor DPI awareness. This is the single most reported cosmetic issue on the mh-nexus.de forums and affects Windows 10 and 11 systems where display scaling is set to 125%, 150%, or higher.
The root cause is that HxD was built with older Delphi UI frameworks that rely on Windows to upscale the application window. Windows applies a bitmap stretch to the entire window, which produces the soft/blurry appearance. The hex data, text, and all features work correctly — only the visual sharpness is affected.
- Right-click
HxD.exe(or the HxD shortcut) and select “Properties” - Go to the “Compatibility” tab
- Click “Change high DPI settings”
- Check “Override high DPI scaling behavior”
- Set “Scaling performed by:” to System
- Click OK, then OK again, and relaunch HxD
This makes Windows render HxD at native resolution and handle scaling at the system level, which produces sharper text and icons. The trade-off is that HxD’s window may appear smaller on very high-resolution screens (4K at 200% scaling, for instance), but the content will be crisp.
Pro tip: If you use HxD frequently, create a shortcut with these compatibility settings baked in. That way you never have to adjust them again after a Windows update resets the executable properties.
More troubleshooting tips are available in our Getting Started guide.
Why can’t I save changes when editing a disk or USB drive in HxD?
You cannot save disk edits in HxD because the volume is mounted and locked by Windows. Starting with Windows Vista, the operating system protects mounted volumes from direct writes. To save changes to a physical disk, USB drive, or SD card, you must unmount the volume first or open the physical disk (not the logical volume).
HxD can open two types of disk targets: logical volumes (like C: or D:) and physical disks (like \.PhysicalDrive1). Logical volumes are protected by Windows when mounted, which is why save operations fail with an access error. Physical disks can be written to, but you must unmount any partitions on that disk first to avoid data corruption.
- Open Disk Management (press
Win+X, select “Disk Management”) - Right-click the volume on the target disk and select “Change Drive Letter and Paths”
- Remove the drive letter to unmount the volume
- In HxD, go to Extras > Open Disk and select the physical disk (not the volume letter)
- Make your edits and save with Ctrl+S
- After saving, reassign the drive letter in Disk Management
Pro tip: Always run HxD as Administrator when doing disk-level edits. Right-click HxD and select “Run as administrator” before opening any disk target. Without admin privileges, Windows blocks all raw disk access regardless of mount status.
Learn more about disk editing workflows in our features section.
HxD Hex Editor search says “not found” — how to fix?
The most common reason HxD search returns “not found” is that the search mode does not match the data type you are looking for. By default, HxD may search for text strings, but if you are following a tutorial that provides hex byte sequences (like 4D 5A 90), you need to switch the search mode to “Hex-values” in the Search dialog.
This is the number one confusion point for new HxD users, especially those following game modding guides or firmware tutorials on Reddit and YouTube. The Search and Replace dialog (Ctrl+F or Ctrl+H) has a “Datatype” dropdown at the top that controls whether HxD searches for text, hex values, integers, or floating-point numbers. If you paste hex bytes but the dropdown says “Text-string,” HxD will search for the ASCII text “4D 5A 90” instead of the actual bytes 0x4D 0x5A 0x90.
- Press Ctrl+F to open the Search dialog
- Click the “Datatype” dropdown at the top of the dialog
- Select “Hex-values” if searching for byte patterns
- Enter the bytes without the “0x” prefix, separated by spaces:
4D 5A 90 - Set “Search direction” to “All” to search the entire file
- Click “Search” or press Enter
Pro tip: For case-insensitive text searches, check the “Ignore case” box in the Search dialog. For hex searches, also try searching with the Ctrl+H (Replace) dialog — it has the same Datatype dropdown and additionally lets you replace found sequences in bulk.
See our Getting Started guide for a full walkthrough of HxD’s search features.
How do I update HxD Hex Editor to the latest version?
HxD does not have a built-in auto-update feature. To update, download the latest installer from the official website or our download section and install it over your existing copy. The current latest version is 2.5.0.0, released on February 11, 2021.
Updating is straightforward because the installer detects any previous HxD installation and upgrades it in place. Your settings, bookmarks, and recent file history are preserved. If you use the portable edition, simply download the new ZIP and extract it over the old folder — your configuration file (stored in the same directory) carries over automatically.
- Check your current version: open HxD, go to Help > About
- Compare with the latest version on our download section (currently 2.5.0.0)
- If a newer version exists, download the matching edition (installer or portable, 32-bit or 64-bit)
- Run the installer — it upgrades the existing installation without removing your settings
- For portable: extract the new ZIP over your existing folder and allow file overwrite
Pro tip: HxD updates are infrequent — version 2.5 was a significant release that added LEB128 data type support and improved Intel HEX/Motorola S-Record handling. Bookmark the mh-nexus.de forum announcements page or periodically check our site to stay aware of new releases.
Current version details are listed in our download section.
What is new in HxD Hex Editor version 2.5?
HxD version 2.5.0.0, released on February 11, 2021, introduced several significant features including LEB128 data type support, improved Intel HEX and Motorola S-Record handling, and better error reporting for disk operations.
The most notable improvement for firmware developers is the enhanced handling of Intel HEX and S-Record files. Version 2.5 properly handles gaps and out-of-order data records in these formats, which was a frequent source of bugs in earlier versions. For data analysts and reverse engineers, the addition of LEB128 (Little-Endian Base 128) variable-length integer support in the Data Inspector means you can now decode this common encoding format directly in HxD’s sidebar without external tools.
- LEB128 support: Decode variable-length integers used in DWARF debug info, WebAssembly, and Android DEX files
- Intel HEX improvements: Correct handling of discontinuous address regions and out-of-order records
- Motorola S-Record fixes: Better parsing of S19/S28/S37 files with non-contiguous data
- Error handling: More informative error messages when disk or RAM operations fail
- Stability: Fixed undo/redo issues after fill and insert operations
Pro tip: The LEB128 support in the Data Inspector is especially useful for Android reverse engineers. Open a DEX file in HxD and click on any byte — the Data Inspector panel on the left shows the LEB128-decoded value along with all other integer representations.
Download the latest version from our download section.
HxD vs 010 Editor — which hex editor is better?
HxD is the better choice if you need a free, fast, lightweight hex editor for everyday file and disk editing on Windows. 010 Editor is better if you need binary templates, scripting, or cross-platform support on macOS and Linux.
HxD opens instantly regardless of file size (up to 8 EB), handles raw disk editing and process memory modification, and stays under 10 MB installed. 010 Editor ($49.95 single license) adds a binary template system that can parse over 300 file formats (EXE, PNG, ZIP, PDF, etc.) with structured views, plus a C-like scripting language for automating repetitive tasks. 010 Editor also runs on Windows, macOS, and Linux, while HxD is Windows-only.
- Price: HxD is free; 010 Editor costs $49.95 (single license)
- Speed: HxD opens files faster and uses less memory for basic editing
- Disk/RAM editing: Both support disk editing; HxD also edits process memory
- Binary templates: 010 Editor has 300+ format templates; HxD has none
- Scripting: 010 Editor supports C-like scripts; HxD has no scripting
- Platforms: HxD is Windows only; 010 Editor supports Win/Mac/Linux
Pro tip: Many professionals use both. HxD handles quick edits, disk operations, and checksum generation where speed matters. 010 Editor gets used when you need to parse a complex binary format like an ELF executable or a PCAP network capture. The two tools complement each other rather than compete directly.
See all HxD capabilities in our features section.
HxD vs ImHex — should I switch to ImHex?
You should not switch entirely — HxD and ImHex serve different primary use cases. HxD excels at fast, lightweight binary editing and raw disk access. ImHex focuses on structured binary analysis with a pattern language and data processing nodes. Most power users keep both installed.
ImHex is a newer, open-source hex editor (first released in 2020) that has gained popularity in the reverse engineering community, particularly on the r/ReverseEngineering subreddit. Its standout feature is a custom pattern language that lets you define data structures and automatically highlight and decode fields in binary files — similar to 010 Editor’s binary templates but free and open source. ImHex also includes a data processor with visual node-based data transformation, bookmarks with color coding, and built-in hash/checksum tools.
- Raw speed: HxD opens and navigates faster, especially for multi-gigabyte files
- Disk/RAM editing: HxD supports direct disk and process memory editing; ImHex does not
- Pattern analysis: ImHex has a pattern language for structured binary parsing; HxD has no equivalent
- Cross-platform: ImHex runs on Windows, macOS, and Linux; HxD is Windows only
- Maturity: HxD has 20+ years of stability; ImHex is newer and some users report occasional lag with very large files
Pro tip: Some Reddit users in the reverse engineering community report that ImHex can lag when editing large binary files, while HxD handles them instantly. If your workflow involves frequently opening multi-gigabyte files for quick edits, keep HxD as your primary editor and use ImHex when you need pattern-based analysis.
Download HxD from our download section.
How do I edit a running process’s memory with HxD Hex Editor?
HxD can directly read and write the memory of running Windows processes. Go to Extras > Open RAM, select the target process from the list, and HxD will open that process’s memory space as a hex view where you can search, navigate, and edit bytes in real time.
This feature is commonly used for game value editing, debugging, and security research. When you open a process’s RAM in HxD, you see the full virtual address space. You can use Ctrl+G (Go To) to jump to specific memory addresses and Ctrl+F to search for byte patterns or text strings within the process memory. Changes are written immediately when you save — there is no “apply” step.
- Run HxD as Administrator (required for memory access)
- Go to Extras > Open RAM (or press Ctrl+Shift+M)
- Select the target process from the list of running processes
- Use Ctrl+G to navigate to a known address, or Ctrl+F to search for values
- Edit bytes directly in the hex view — modified bytes appear in red
- Press Ctrl+S to write changes to the process memory immediately
Pro tip: For game memory editing, first find the value you want to change (like a health or gold counter) by searching for its current value as a 32-bit integer. Change the value in the game, then search again for the new value. Narrow down to the exact address, then modify it in HxD. This manual approach works when cheat engines are blocked.
Learn about all HxD features in our features section.
How do I generate and verify checksums with HxD Hex Editor?
HxD has a built-in checksum generator that supports MD5, SHA-1, SHA-256, SHA-512, CRC-16, CRC-32, and custom CRC polynomials. Open any file in HxD, go to Analysis > Checksums, select your algorithm, and HxD calculates the hash for the entire file or a selected range of bytes.
This is particularly useful for verifying downloaded files against published checksums, validating firmware images before flashing, or checking data integrity after a file transfer. HxD computes checksums quickly — a SHA-256 hash of a 1 GB file typically completes in under 10 seconds on modern hardware. You can also generate checksums for just a portion of a file by selecting a byte range before opening the Checksums dialog.
- Open the file you want to hash in HxD
- Optionally select a byte range (or leave nothing selected to hash the entire file)
- Go to Analysis > Checksums (or Analysis > Data Statistics for a full distribution view)
- Choose the algorithm: MD5, SHA-1, SHA-256, SHA-512, CRC-16, CRC-32, or Custom CRC
- The result appears immediately — copy it to clipboard for comparison
For Intel HEX files specifically, HxD 2.5 correctly handles checksum records, and you can verify individual record checksums by selecting the record bytes and running the Checksum calculator with an 8-bit checksum algorithm. The expected Intel HEX checksum is the two’s complement of the byte sum modulo 256.
Pro tip: Use the Data Statistics view (Analysis > Statistics) to see a byte frequency distribution graph. This is a quick way to identify encrypted vs compressed vs plaintext data — encrypted data shows a near-uniform distribution, compressed data skews toward certain values, and plaintext clusters in the 0x20-0x7E ASCII range.
See more analysis features in our features section.
Can HxD export hex data to programming languages?
Yes, HxD can export binary data as source code arrays in C, C#, Java, Visual Basic .NET, Pascal, and Delphi. It also supports exporting to HTML, RTF, Intel HEX, and Motorola S-Record formats. Go to Edit > Copy As to copy the current selection in any of these formats to the clipboard, or use File > Export to save to a file.
The code export feature is one of HxD’s most practical capabilities for developers. When you need to embed binary data (like a firmware blob, an icon resource, or a certificate) directly in your source code, HxD can produce a ready-to-paste byte array declaration. For C, the output looks like unsigned char data[] = { 0x4D, 0x5A, 0x90, ... }; with proper formatting and line wrapping. For C#, it generates byte[] data = new byte[] { 0x4D, 0x5A, 0x90, ... }; and so on for each language.
- Edit > Copy As > C: Copies selected bytes as a C unsigned char array
- Edit > Copy As > C#: Copies as a C# byte array declaration
- Edit > Copy As > Java: Copies as a Java byte array (with signed byte conversion)
- File > Export > Intel HEX: Saves the entire file in Intel HEX format for microcontrollers
- File > Export > Motorola S-Records: Saves in S19/S28/S37 format for embedded systems
Pro tip: When exporting large byte arrays for C/C++ projects, HxD automatically formats the output with 16 bytes per line. If you need a different line width, copy the output and use a text editor’s find-and-replace to adjust the formatting. For firmware work, Intel HEX export with the correct start address is a significant time-saver compared to manual format conversion.
Explore all export capabilities in our features section.
Still have questions? Visit the Getting Started guide for detailed setup instructions or head to the download section to get HxD Hex Editor.