xxd
Create a hexadecimal representation (hexdump) from a binary file, or vice-versa.
- Generate a hexdump from a binary file and display the output:
- Generate a hexdump from a binary file and save it as a text file:
- Display a more compact output, replacing consecutive zeros (if any) with a star:
- Display the output with 10 columns of one octet (byte) each:
- Display output only up to a length of 32 bytes:
- Display the output in plain mode, without any gaps between the columns:
- Revert a plaintext hexdump back into binary, and save it as a binary file:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).