app hexyl

A command-line hex viewer

4 releases (2 breaking)

0.4.0 Jan 14, 2019
0.3.1 Jan 10, 2019
0.3.0 Dec 30, 2018
0.2.0 Nov 6, 2018

#26 in Command line utilities

Download history 75/week @ 2018-11-10 30/week @ 2018-11-17 25/week @ 2018-11-24 19/week @ 2018-12-01 15/week @ 2018-12-08 5/week @ 2018-12-15 9/week @ 2018-12-22 2/week @ 2018-12-29 66/week @ 2019-01-05 795/week @ 2019-01-12 296/week @ 2019-01-19

445 downloads per month


356 lines

Build Status

hexyl is a simple hex viewer for the terminal. It uses a colored output to distinguish different categories of bytes (NULL bytes, printable ASCII characters, ASCII whitespace characters, other ASCII characters and non-ASCII).



On Debian-based systems

wget ""
sudo dpkg -i hexyl_0.4.0_amd64.deb

On Arch Linux

You can install hexyl from this AUR package:

yay -S hexyl

On macOS

brew install hexyl

On FreeBSD

pkg install hexyl

On other distributions

Check out the release page for binary builds.

On Windows

For now, you will have to install from source via cargo (see below). Make sure that you use a terminal that supports ANSI escape sequences (like PowerShell on Windows 10).

Via cargo

If you have Rust 1.29 or higher, you can install hexyl from source via cargo:

cargo install hexyl


Licensed under either of

at your option.


~19K SLoC