Hexyl
Hexyl 0.17.0 is a colorized terminal hex viewer for inspecting file bytes, offsets and printable data. It distinguishes zero bytes, ASCII, whitespace and non-ASCII values without modifying the source.
What the colorized view shows
Hexyl displays a file in columns for offset, hexadecimal bytes and character representation. Its default colors distinguish zero bytes, printable ASCII, ASCII whitespace, other ASCII and non-ASCII values, making headers, padding, embedded text and local differences easier to spot.
Read-only and diagnostic boundaries
Hexyl is a viewer rather than a hex editor or security scanner. It does not alter bytes, repair data or establish that an unknown file is trustworthy. Compare size, hashes and a reliable format specification, and use an isolated analysis workflow for unfamiliar executable files.
Terminal output can expose data
Binary files may contain paths, document fragments, accounts, tokens or other plain text. Terminal history, logs, recordings and screenshots can retain those values. Limit offsets and lengths, process a copy, and redact output before sharing it.
Review date: 2026-08-06.
Save to your cloud drive
Open the cloud drive to get the file directly, or save it for convenient access on another device.
Quark Cloud Drive
RecommendedSave Hexyl to this cloud drive
Baidu Netdisk
Save Hexyl to this cloud drive
Hexyl Windows binary-file inspection guide
Use Hexyl to inspect headers, text fragments and offsets in a copy of a file, while keeping terminal width, ANSI color support and sensitive-data exposure under control.
Before you start
- Prepare a public sample or a copy of the target file rather than the only original.
- Use a modern Windows terminal that supports ANSI color and has enough width for offset, hexadecimal and character columns.
- Remember that a byte view alone does not prove format, integrity or safety.
Installation steps
- 01
Extract the executable
Extract the archive to a fixed tools directory and verify the filename, version and Windows x64 architecture.
- 02
Verify terminal rendering
Display help through the full path and inspect a small non-sensitive file once, confirming offsets, bytes and colors render as expected.
- 03
Add the tool to PATH when useful
Add the directory to the user PATH only after the workflow is stable; scripts may keep an explicit versioned path to avoid output changes after upgrades.
Quick start
- 01
View a sample file
Pass a sample path to hexyl from PowerShell and compare the offset column, hexadecimal bytes and character representation.
- 02
Check a file header
Compare initial bytes with a known format signature or trusted sample, and record size and hash instead of relying on the extension alone.
- 03
Limit the inspection range
For a large file, use the range and length options shown in help to display only relevant offsets and reduce terminal logs or sensitive-data exposure.
Usage tips
- When comparing versions, record hashes and selected offsets rather than scrolling through an entire large file by eye.
- Screenshots can include paths, clear text and embedded data; crop and redact them before sharing.
- Hexyl does not decode, repair or perform malware analysis. Handle unknown files in an isolated environment with appropriate analysis tools.
Troubleshooting and uninstall
How can I locate a value in a very long output?
Use the file format or another trusted tool to estimate an offset, then apply the start-position and length options from Hexyl help to narrow the output.
Are dots or unreadable characters in the character column an error?
Usually not. Arbitrary bytes are not printable characters, so the character column is an aid; interpret the hexadecimal bytes and the format specification as the primary view.
- Remove the executable and PATH entryConfirm that scripts no longer depend on the directory, remove it from the user PATH and delete the executable; handle generated inspection records according to their sensitivity.
Frequently asked questions
Can Hexyl edit a binary file directly?
No. It is a read-only hex viewer, not an editor. Use a dedicated editor on a copy when byte changes are required and preserve the original for rollback.
What do Hexyl's colors mean?
The default palette separates zero bytes, printable ASCII, ASCII whitespace, other ASCII and non-ASCII data. Colors help with visual structure but do not prove that a file is safe or correctly formatted.
Why are colors missing in a Windows console?
Hexyl needs ANSI escape support. Use a current Windows Terminal or a compatible console and check its theme and environment settings when color output is overridden.