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

2020-05-10 17:22发布

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.

7条回答
Lonely孤独者°
2楼-- · 2020-05-10 17:42

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.
查看更多
ら.Afraid
3楼-- · 2020-05-10 17:43
  1. Open file with Xcode and press Command + Shift + J
  2. Right click file name in left pane
  3. Open as -> Hex
查看更多
smile是对你的礼貌
4楼-- · 2020-05-10 17:43

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

查看更多
仙女界的扛把子
5楼-- · 2020-05-10 17:44

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

查看更多
We Are One
6楼-- · 2020-05-10 17:52

One recommendation I've gotten is Hex Fiend.

查看更多
别忘想泡老子
7楼-- · 2020-05-10 17:54

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

查看更多
登录 后发表回答