All apps/xxd

xxd

xxd

Makes a hexdump or reverses one.

Runs as xxd|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 10 fields

Dump a file as hex, or reverse a dump with revert. Only short flags are used.

Opens the form; the finished command lands at your prompt, unrun
otty gui xxd
Hexdump a fileExample values, fixed in this page — nothing here reaches a terminal
Basic
Input file*
file
Octets per line
integer
Group size (bytes)
integer
Stop after N octets
integer
Advanced
Upper-case hex
-u
TasksEach one presets the form for one job
Hexdump
infilecolsgroupsizelenupper
Hexdump to binary
infileoutfileplain
ParametersOnly these flags are editable in the form
Revert hexdump to binary
boolean
-r
Plain hex (postscript)
boolean
-p
Binary digits
boolean
-b
C include style
boolean
-i
Upper-case hex
boolean
-u
Octets per line
integer
-c
Group size (bytes)
integer
-g
Stop after N octets
integer
-l
Input file
path · positional 0
Output file
path · positional 1
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed xxd against its version. A form that does not match your version is not offered.