Announcing Hex Display: A modern alternative to xxd

Hex Display is a modern alternative to xxd.

It offers a few notable features:

  • UTF-8 support, including emoji composed with Unicode ZWJ sequences [1].
  • Numeric classification; Octal, Decimal, or Hex characters can be highlighted.
  • High performance.
  • Supports >4GB file offsets.
  • ANSI coloring is configurable through the environment.

https://crates.io/crates/hd


  1. Rendering accuracy depends on your terminal emulator. Apple Terminal is shown in the screenshot. Windows Terminal is known to have problems with these sequences, rendering extra blank columns. ↩ī¸Ž

19 Likes

Awesome. I implemented the tool myself, but yours is a way better. Thank you for the tremendous work.

1 Like

Oh, it's tight, dependency-wise. Very refreshing!

3 Likes