3 homepage: https://github.com/sharkdp/hexyl
5 hexyl is a simple hex viewer for the terminal.
14 Use the `@beta` tag for pre-releases.
18 ![](https://camo.githubusercontent.com/1f71ee7031e1962b23f21c8cc89cb837e1201238/68747470733a2f2f692e696d6775722e636f6d2f4d574f3975534c2e706e67)
20 > It uses a colored output to distinguish different categories of bytes (NULL
21 > bytes, printable ASCII characters, ASCII whitespace characters, other ASCII
22 > characters and non-ASCII).
24 `hexyl` is pretty self-explanatory.
26 If you know that you need a _hex viewer_, then you probably already know enough
27 to see why this is particularly useful, and can figure out how to use it.
30 echo "hello" > foo.bin
34 For options, such as `--length`, `--skip`, and `--offset`, see:
40 ### Convert hex to binary
42 If you have some hex (say from some server logs) that you'd like to encode back
43 to binary to view in hexyl, you can convert it with `xxd`:
46 echo '48656c6c6f210a' > foo.hex
47 xxd -r -p foo.hex foo.bin