What's a good hex editor/viewer for the Mac? I've used xxd for viewing hexdumps, and I think it can be used in reverse to make edits. But what I really want is a real hex editor.
Hex Fiend is a fast, lean, and powerful hex editor built just for the Mac. - Insert, delete, rearrange. Hex Fiend does not limit you to in-place changes like some hex editors.
WinHex is not available for Mac but there are plenty of alternatives that runs on macOS with similar functionality. The best Mac alternative is wxHexEditor, which is both free and Open Source.
Bottom Line. With an attractive, efficient interface and an extensive menu of powerful tools and extras, HxD delivers the goods.
To view the file, run:
xxd filename | less
To use Vim as a hex editor:
:%!xxd
(transform buffer to hex):%!xxd -r
(reverse transformation)One recommendation I've gotten is Hex Fiend.
On http://www.synalysis.net/ you can get the hex editor I'm developing for the Mac - Synalyze It!. It costs 7 € / 40 € (Pro version) and offers some extra features like histogram, incremental search, support of many text encodings and interactive definition of a "grammar" for your file format.
The grammar helps to interpret the files and colors the hex view for easier analysis.
I have recently started using 0xED, and like it a lot.
There are probably better options, but I use and kind of like TextWrangler for basic hex editing. File -> hex Dump File
The one that I like is HexEdit Quick and easy to use
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With