xxd
Convert files to hexadecimal representation and reverse hex dumps back to binary. Use for inspecting or modifying binary data.
Instructions
Run xxd on a file to create a hex dump.
The xxd utility creates a hexadecimal representation of a file, similar to hexdump but with additional features like reverse conversion (hex to binary).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Additional arguments to pass to xxd. Common options include: - -r: Reverse operation (hex to binary) - -p: Plain hex dump format - -s OFFSET: Skip offset bytes - -l LENGTH: Limit output to length bytes | |
| file | No | Optional path to the file to analyze. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |