119

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.

  • 2
    For the record, the same thing asked on SO: stackoverflow.com/questions/10426/… – Jonik Jul 28 '09 at 15:07
  • 4
    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
  • 2
    @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
  • 1
    For some reason, every time I think "oh, that's exactly the question I was looking for" it appears to be closed... – Artur Klesun Apr 20 '18 at 22:51
  • @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 at 13:17
62

Free Hex Editor (frhed), small and fast.

enter image description here

  • 3
    +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 4 '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
50

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

  • HxD is a great free Hex Editor that handles massive files with ease. Definitely gets a +1 from me. – Django Reinhardt Feb 4 '10 at 14:33
  • i like the feature to copy some data as a c,c#,pascal, java array ... – enthus1ast Mar 21 '15 at 12:43
  • The wikipedia link is lame (and already in the question), please remove it for my vote! – Liviu May 20 '16 at 10:12
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.

  • 26
    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
  • 1
    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
12

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).

9

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

enter image description here

7

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

  • 15
    This plugin is flaky in my experience. It struggles with large files and switches to/from Hex mode at random. – Ash Sep 2 '09 at 7:03
  • Thanks for the comment. I don't do much hex editing so I don't have much experience with it. – Scott Sep 3 '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
5

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

alt text

(Though I usually use HxD.)

  • Just out of curiosity, how do you turn hex edit mode on in Vim? – Kris Erickson Nov 29 '12 at 16:51
  • 3
    @KrisErickson: :%!xxd – akira Nov 29 '12 at 16:53
  • NOT a true hex editor. – Joshua Sep 27 '16 at 16:18
  • @Joshua: define "true hex-editor". – akira Sep 27 '16 at 17:33
  • 1
    use xxd reverse mode to change hex back to bytes eg. xxd -r – Zimba Aug 24 at 17:11
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.

2

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

  • Seems to be a dead project - no activity since 09, link to wiki is 404 – rossmcm Nov 26 '18 at 21:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.