148

Are there some hex editors for Windows? Preferably open source or free since I don't need a hex editor all that often...

Things I do need is the ability to search in different types (text, raw hex, little endian short, big endian short, etc.) and viewing by type (same as searching types) starting at the selected byte. It would be nice to be able to create structs on the fly, so I can view binary blobs in the file. Binary file comparison is also a must, hopefully it would be smart and enable block detection.

I do know about the list on Wikipedia, but I don't really have time to try the 60 or hex editors, and I was wondering what other people use.

Peter Mortensen
  • 12,090
  • 23
  • 70
  • 90
Kris Erickson
  • 1,811
  • 3
  • 16
  • 18
  • 3
    For the record, the same thing asked on SO: http://stackoverflow.com/questions/10426/what-is-a-good-windows-hex-editor-viewer – Jonik Jul 28 '09 at 15:07
  • 7
    The SO question isn't there anymore. Some of the best questions around here seem to be closed !? – Liviu May 20 '16 at 10:10
  • 4
    @Liviu - Yes, it is a shame. I have no idea why that particular question was removed. Marking a question as [Closed] is one thing, but removing it (and any existing answers) is another matter, and and it seems to me to be a bit excessive except in cases of abuse (spam, etc...). – Kevin Fegan Aug 22 '16 at 23:42
  • 4
    For some reason, every time I think "oh, that's exactly the question I was looking for" it appears to be closed... – Klesun Apr 20 '18 at 22:51
  • 2
    @ArturKlesun it's like when you google something and all the results for similar questions are just full of people saying to Google it. – Kefka Feb 26 '19 at 13:17
  • I would advice, https://freehexeditorneo.com – tsenapathy Oct 30 '19 at 15:44
  • 1
    Can SU please reopen this question? It this should be archived or deleted, it's all extremely outdated... – user2305193 May 10 '20 at 11:27

9 Answers9

75

Free Hex Editor (frhed), small and fast.

enter image description here

Gaff
  • 18,569
  • 15
  • 57
  • 68
Dinesh Manne
  • 1,209
  • 2
  • 12
  • 12
  • 5
    +1. I like the fact that it doesn't require an installer. Also, it is open source. – Magnilex Aug 22 '13 at 13:17
  • 1
    No drag-and-drop. – Liviu May 20 '16 at 10:17
  • looooove it so good – Nicholas DiPiazza Oct 04 '16 at 16:32
  • This question is closed but obviously active: If you like "native" stuff, `List.exe` comes with the Windows 2K3 Toolkit, & is both a binary & hex editor. The `list.exe /?` help command doesn't give much info, but once inside the editor just hit ? to see commands. `H` opens the Hex editor, & `F1` toggles the way the Hex is displayed – Coruscate5 Mar 27 '17 at 21:01
  • 1
    @Liviu Just downloaded Frhed 1.6.0 and dragging-and-dropping from Windows Explorer works. – EM0 Jun 27 '17 at 13:04
  • Unfortunately, finding hex data is not straight forward... check first answer of the [FAQ](http://www.unrealtexture.com/Unreal/Website/Downloads/3DEditing/UnrealEditor/Tools/Info/frhed_v11/frhed-faq.txt) for help. – calandoa Dec 28 '17 at 15:34
  • I know this is an old post but the download links on the page do not work. Also, the last stable release was back in 2009. I'm not sure if nine years old software works under current windows versions. – Wolf G Mar 04 '18 at 13:07
  • @TeoCarter It does. I'm using it on Windows 10 and used in Windows 7 way before - it works perfectly with all the drag-and-drop feature as opposed to Liviu answer. It also works fine under Wine. – MaKiPL Nov 08 '18 at 19:31
  • 1
    Its a bad hex-editor, cant load 4gb files even if you have 18gb ram free. – Grim Aug 28 '19 at 09:11
  • It has no Undo/Redo function which is a huge miss. – hexaae Jul 29 '22 at 11:58
64

Personally, I use HxD (Free but not open source). Particular features of note include the ability to open very very large files, and you can modify raw disk data and open and edit data in RAM.

Screenshot

Chenmunka
  • 3,228
  • 13
  • 29
  • 38
Simon P Stevens
  • 5,183
  • 1
  • 28
  • 36
14

UltraEdit has a hex editor mode:

enter image description here

For an old school DOS style display, ZTreeWin:

enter image description here

(neither are free / open source).

Gaff
  • 18,569
  • 15
  • 57
  • 68
Pauk
  • 984
  • 1
  • 7
  • 18
14

Notepad++ with a hex editor plugin. I was already using the text editor, so this makes for one less application installed.

enter image description here

Gaff
  • 18,569
  • 15
  • 57
  • 68
Scott
  • 1,253
  • 2
  • 12
  • 24
  • 18
    This plugin is flaky in my experience. It struggles with large files and switches to/from Hex mode at random. – Ash Sep 02 '09 at 07:03
  • Thanks for the comment. I don't do much hex editing so I don't have much experience with it. – Scott Sep 03 '09 at 19:09
  • It's not useful when you want to edit a big file that doesn't fit on memory. – skan Aug 30 '15 at 12:39
12

XVI32 is a freeware hex editor running under Windows 95, Windows 98, Windows NT, Windows 2000, and Windows XP.

Cygnus Hex Editor is a powerful file editor for Microsoft Windows. Unlike text editors, which are designed to edit files that contain text data, hex editors allow you to edit files that contain any type of data.

Free Hex Editor Neo is award-winning large files optimized freeware editor for everyone who works with ASCII, hex, decimal, float, double and binary data.

HxD is a carefully designed and fast hex editor which, additionally to raw disk editing and modifying of main memory (RAM), handles files of any size.

joe
  • 12,279
  • 12
  • 67
  • 104
  • 37
    No offense, but have you actually used any of these editors? I appreciate the work that goes in to googling and pasting the copy from the websites, but I was looking for recommendations from actual usage. – Kris Erickson Jul 28 '09 at 15:13
  • 2
    I used the cygnus hex editor . But other i know one .. But those i didnt used . But i have tried Free Hex Editor very long back . That also good – joe Jul 28 '09 at 15:26
  • 2
    I was coming here to suggest XVI32, so upvote for that – Factor Mystic Jul 28 '09 at 21:31
9

PSPad can edit in hex, and it's free too.

enter image description here

Gaff
  • 18,569
  • 15
  • 57
  • 68
barfoon
  • 986
  • 2
  • 11
  • 24
7

Since I can hexedit in Vim as well, I tend to say ... Vim!

alt text

(Though I usually use HxD.)

Peter Mortensen
  • 12,090
  • 23
  • 70
  • 90
akira
  • 61,009
  • 17
  • 135
  • 165
5

Winhex is a decent tool for that.

Enter image description here

This is a Stack Overflow version of the same question. There are a few more options so you can pick from the several recommended there if you do not like Winhex.

Axxmasterr
  • 7,858
  • 7
  • 41
  • 60
3

If you want a hex editor that works from the command line, I like Hexciting.

user1596
  • 1,494
  • 5
  • 19
  • 28