Xxd is a Unix command line tool to create hexdumps and to convert a hexdump back into it’s binary form.

Build your own xxd is available with a project breakdown on Coding Challenges.