Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good hex editor/viewer for the Mac? [closed]

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.

like image 372
Mike Akers Avatar asked May 05 '09 23:05

Mike Akers


People also ask

Does Mac Have a 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.

Does WinHex work on Mac?

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.

Is HxD a good hex editor?

Bottom Line. With an attractive, efficient interface and an extensive menu of powerful tools and extras, HxD delivers the goods.


7 Answers

To view the file, run:

xxd filename | less

To use Vim as a hex editor:

  1. Open the file in Vim.
  2. Run :%!xxd (transform buffer to hex)
  3. Edit.
  4. Run :%!xxd -r (reverse transformation)
  5. Save.
like image 179
Ayman Hourieh Avatar answered Oct 04 '22 10:10

Ayman Hourieh


  1. Open file with Xcode and press Command + Shift + J
  2. Right click file name in left pane
  3. Open as -> Hex
like image 41
crizCraig Avatar answered Oct 04 '22 10:10

crizCraig


One recommendation I've gotten is Hex Fiend.

like image 35
Mike Akers Avatar answered Oct 04 '22 09:10

Mike Akers


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.

Synalyze It!

like image 38
pi3 Avatar answered Oct 04 '22 09:10

pi3


I have recently started using 0xED, and like it a lot.

like image 29
pgb Avatar answered Oct 04 '22 09:10

pgb


There are probably better options, but I use and kind of like TextWrangler for basic hex editing. File -> hex Dump File

like image 33
Pablo Santa Cruz Avatar answered Oct 04 '22 08:10

Pablo Santa Cruz


The one that I like is HexEdit Quick and easy to use

like image 44
twik Avatar answered Oct 04 '22 10:10

twik