~ 30 sec read

Hex Editor for Mac or Any Platform Actually - MacVim (Vim)

Here's how to use Vim as a handy HEX editor:


  1. Open the file in Vim.
  2. Run the command to convert

    :% ! xxd

  3. Edit all you need (i to get into insert edit mode)
  4. Once done, run to convert back

    :% ! xxd -r

  5. Save (it's :wq)