Today I was playing with Spotify and while I was browsing the Cache folders, I found out that the content of these folders is in hex format. The only thing I could see was numbers, so I needed a hex editor in order to view the files.

You don’t need to download anything the only think you have to do is just open the file by using the vim text editor from your terminal. In order to open a file with vim you type.

vim {path of the file you want or just drop the file here}

 

vim hex editor os x (2)

When you see something like the image above type the following:

:% ! xxd

This will turn you editor into a hex editor like shown in the picture below. vim hex editor os x (3)

If you want to turn it back to normal editor use the same command like before just type -r in the end.

:% ! xxd -r

vim hex editor os x (4)

This will bring your text editor to it’s normal form. If you still need a better hex editor to do a more complex work you can use Hex Fiend that is free and open source or Synalyze it that offers a free and a premium version.

  • Was this Helpful ?
  • Yes   No

Related Post