sharkdp

hexyl

sharkdp

A command-line hex viewer with colored output to distinguish different categories of bytes.

v0.17.0
Published at
Feb 14, 2026
10,287
Stars
126,876
Download
Synced at
Oct 4, 2026

Latest release

v0.17.0Feb 14, 2026, 12:56 PM
Downloads slow? Switch the source anytime above

README

Project Overview

hexyl is a hex viewer for the terminal that uses colored output to distinguish different categories of bytes (NULL bytes, printable ASCII characters, ASCII whitespace, etc.).

Key Features

  • Colored hex viewing
  • Distinguishes different byte categories
  • Cross-platform support

Target Audience

  • Developers needing to view binary files
  • Reverse engineers and security researchers
  • Command-line enthusiasts

Quick Start

  1. Ubuntu/Debian: sudo apt install hexyl
  2. macOS: brew install hexyl
  3. Arch Linux: pacman -S hexyl
  4. Windows: Download from Releases
  5. Run hexyl <filename> to view hex content

Core Advantages

  • Colorized output for readability
  • Cross-platform support
  • Lightweight with no extra dependencies
  • Open-source and free

System Requirements

  • OS: Linux, macOS, Windows, FreeBSD, OpenBSD, NetBSD, and more
  • Architectures: x86_64, arm64
  • Additional Dependencies: None

Notes

  • Windows requires a terminal with ANSI escape sequence support (Windows Terminal or ConHost v2)

Release history

Sort