Visualizing binary files: from colored hex dumps to raw PGM images

Visualizing binary files: from colored hex dumps to raw PGM images

The author of the hex editor 'bine' adds color and visualization features. To avoid the performance cost of many ncurses calls, they use Unicode block characters in the ASCII column to mark non-printable bytes. For large files, they simply map bytes to pixels in a PGM image, revealing structure like code, text, and tables in executables and archives.

All this simply exploits the properties of the data.
  1. 1970-01-01

    And binwalk if you want to find the juice within the file.

    https://github.com/ReFirmLabs/binwalk/wiki/Supported-Signatu...

  2. st_goliath

    You might be interested in GNU poke[1][2], a hex-editor type program that can actually parse and visualize the structure of binary data (using a DSL for describing formats).

    [1] https://jemarch.net/poke

    [2] https://news.ycombinator.com/item?id=34986042

  3. nvalis

    I always liked the 3D visualization in Veles[0]. It's very intuitive to make out structured ASCII or other non-compressed sections in binary data.

    [0] https://github.com/codilime/veles

More from this day

2026-08-25