https://github.com/sharkdp/hexyl Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. {{ message }} sharkdp / hexyl Public * * Notifications * Fork 207 * Star 7.8k A command-line hex viewer License Apache-2.0, MIT licenses found Licenses found Apache-2.0 LICENSE-APACHE MIT LICENSE-MIT 7.8k stars 207 forks Star Notifications * Code * Issues 8 * Pull requests 3 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights sharkdp/hexyl This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 2 branches 14 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/s] Use Git or checkout with SVN using the web URL. [gh repo clone sharkd] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @sharkdp sharkdp Update README.md ... 2a53448 May 25, 2023 Update README.md 2a53448 Git stats * 388 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github/workflows CI update April 21, 2023 21:02 doc Bump version December 7, 2022 23:48 examples Renme --group-bytes to --group-size December 7, 2022 21:50 src Add --characters, change meaning of -C May 10, 2023 22:09 tests Change design for endianness command line option April 24, 2023 23:44 .gitignore Add man page March 27, 2022 10:22 CHANGELOG.md Updates for 0.13 May 10, 2023 22:19 CONTRIBUTING.md Fix typos August 28, 2021 09:56 Cargo.lock Updates for 0.13 May 10, 2023 22:19 Cargo.toml Updates for 0.13 May 10, 2023 22:19 LICENSE-APACHE Initial working version of a hex viewer November 5, 2018 21:30 LICENSE-MIT Initial working version of a hex viewer November 5, 2018 21:30 README.md Update README.md May 25, 2023 15:27 View code [ ] Preview Color Reference Installation On Ubuntu On Debian On Fedora On Arch Linux On Void Linux On Gentoo Linux On macOS On FreeBSD on Termux Via Nix Via Guix On other distributions On Windows Via cargo Via snap package Via Scoop License README.md [logo] CICD [6874747073] [6874747073] hexyl is a simple hex viewer for the terminal. It uses a colored output to distinguish different categories of bytes (NULL bytes, printable ASCII characters, ASCII whitespace characters, other ASCII characters and non-ASCII). Preview [6874747073] [6874747073] [6874747073] [6874747073] Color Reference Type of Byte Color ANSI Code NULL #555753 Bright Black 90 OFFSET #555753 Bright Black 90 ASCII Printable #06989a Cyan 36 ASCII Whitespace #4e9a06 Green 32 ASCII Other #4e9a06 Green 32 Non-ASCII #c4a000 Yellow 33 Colors taken from the Ubuntu terminal color scheme, they could look different in your terminal Installation On Ubuntu ... and other Debian-based Linux distributions. If you run Ubuntu 19.10 (Eoan Ermine) or newer, you can install the officially maintained package: sudo apt install hexyl If you use an older version of Ubuntu, you can download the latest .deb package from the release page and install it via: sudo dpkg -i hexyl_0.13.0_amd64.deb # adapt version number and architecture On Debian If you run Debian Buster or newer, you can install the officially maintained Debian package: sudo apt-get install hexyl If you run an older version of Debian, see above for instructions on how to manually install hexyl. On Fedora If you run Fedora 35 or newer, you can install the officially maintained Fedora package: sudo dnf install hexyl On Arch Linux You can install hexyl from the official package repository: pacman -S hexyl On Void Linux xbps-install hexyl On Gentoo Linux Available in dm9pZCAq overlay sudo eselect repository enable dm9pZCAq sudo emerge --sync dm9pZCAq sudo emerge sys-apps/hexyl::dm9pZCAq On macOS Via Homebrew: brew install hexyl ...or via MacPorts: sudo port install hexyl On FreeBSD pkg install hexyl on Termux pkg install hexyl or apt install hexyl Via Nix nix-env -i hexyl Via Guix guix package -i hexyl Or add the hexyl package in the list of packages to be installed in your system configuration (e.g., /etc/config.scm). On other distributions Check out the release page for binary builds. On Windows Check out the release page for binary builds. Alternatively, install from source via cargo, snap or scoop (see below). Make sure that you use a terminal that supports ANSI escape sequences (like ConHost v2 since Windows 10 1703 or Windows Terminal since Windows 10 1903). Via cargo If you have Rust 1.56 or higher, you can install hexyl from source via cargo: cargo install hexyl Alternatively, you can install hexyl directly from the repository by using: git clone https://github.com/sharkdp/hexyl cargo install --path ./hexyl Note: To convert the man page, you will need Pandoc. You can convert from Markdown by using (in the project root): pandoc -s -f markdown -t man -o ./doc/hexyl.1 ./doc/hexyl.1.md Via snap package sudo snap install hexyl Get it from the Snap Store Via Scoop scoop install hexyl License Licensed under either of * Apache License, Version 2.0, (LICENSE-APACHE or https:// www.apache.org/licenses/LICENSE-2.0) * MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT) at your option. About A command-line hex viewer Topics rust command-line tool binary-data hexadecimal Resources Readme License Apache-2.0, MIT licenses found Licenses found Apache-2.0 LICENSE-APACHE MIT LICENSE-MIT Stars 7.8k stars Watchers 66 watching Forks 207 forks Report repository Releases 14 v0.13.0 Latest May 10, 2023 + 13 releases Sponsor this project Sponsor Learn more about GitHub Sponsors Used by 261 * @neumantm * @mschuwalow * @sepiabrown * @flyingcircusio * @PhilTaken * @bandithedoge * @infinitivewitch * @sivizius + 253 Contributors 39 * @sharkdp * @sharifhsn * @ErichDonGubler * @merkrafter * @RinHizakura * @mkatychev * @tommilligan * @lilyball * @arnavb * @selfup * @sorairolake + 28 contributors Languages * Rust 100.0% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.