xxd

Create a hex dump of a given file or standard input. Can also convert a hex dump back to its original binary form.

Options

Group by bytes

-groupsize <bytes>

or

-g <bytes>