LinuxCommandLibrary

hexyl

modern hex viewer for the terminal

TLDR

View file in hex

$ hexyl [file]
copy
Show specific length
$ hexyl -n [100] [file]
copy
Skip bytes
$ hexyl --skip [50] [file]
copy
Show in plain style
$ hexyl --plain [file]
copy
Read from stdin
$ cat [file] | hexyl
copy
No character panel
$ hexyl --no-characters [file]
copy

SYNOPSIS

hexyl [options] [file]

DESCRIPTION

hexyl is a modern hex viewer for the terminal. It displays file contents with colored output distinguishing different byte types.
The tool uses colors to highlight ASCII, non-ASCII, null bytes, and whitespace. It provides a clean, readable hex dump with offset and character views.

PARAMETERS

FILE

File to display.
-n, --length N
Number of bytes to read.
-s, --skip N
Skip first N bytes.
--color WHEN
Color output (auto/always/never).
-p, --plain
Plain output (no styling).
--no-characters
Hide character panel.
-b, --border STYLE
Border style.
--help
Display help information.

CAVEATS

Requires color terminal. Large files may be slow. Written in Rust.

HISTORY

hexyl was created as a modern, colorful alternative to traditional hex dump tools like xxd and hexdump.

SEE ALSO

xxd(1), hexdump(1), hd(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community