tinyxxd(1)
β¨ tinyxxd β the hex dump bestie you didn't know you needed β¨
okay so before we even get into it: this is the manual page for tinyxxd, a whole entire utility that lives in your terminal and makes binary files make sense. she dumps hex, binary, and ASCII, and she does it with color π
πΈ NAME πΈ
tinyxxd β a hexadecimal, binary, and ASCII dump utility with color support. literally what it says on the tin, bestie π
π¦ SYNOPSIS π¦
tinyxxd [options] [infile [outfile]]
tinyxxd -r [-s [-]offset] [-c cols] [-ps] [infile [outfile]]
two whole modes, one iconic little tool. first one dumps, second one un-dumps (yes, that's a word now) π
π DESCRIPTION π
so tinyxxd is a versatile utility for creating hex, binary, and ASCII dumps from binary files. like, you point her at a file and she shows you what's actually inside it, no cap π₯
she can also reverse these dumps back into binary form, which is giving "un-bake the cake" energy and honestly? iconic.
on top of all that she supports various output formats, including C include files and PostScript. yes, PostScript, in this economy π
and the best part: tinyxxd enhances readability by optionally colorizing the output, and she respects the NO_COLOR environment variable like the respectful queen she is π«Ά
π OPTIONS π
here's the full menu, no skips, no summaries, we're doing all of them because I love you:
-a|-autoskipβ toggle autoskip mode. in this mode, a single*replaces lines that consist only of zeros. default is off. she's lowkey shy by default πΈ-b|-bitsβ output a binary digit dump instead of hexadecimal. this option is incompatible with-ps, so pick a lane bestie π-c cols|-cols colsβ format the output to include cols octets per line. default is 16 (12 in C include style, 30 in PostScript). numbers matter, memorize them π-C|-capitalizeβ capitalize variable names in C include file style (-i). go off, uppercase π-dβ show the offset in decimal instead of hexadecimal. for the girlies who think in base 10 π-eβ create a little-endian dump. this option is incompatible with-ps,-i, and-r. do not try it. I'm serious π-g bytes|-groupsize bytesβ group output into octets of bytes size in the normal output mode. default is 2 (4 for little-endian). group chat but for bytes π-E|-EBCDICβ display the characters in EBCDIC encoding instead of ASCII. she contains multitudes β¨-h|-help|--helpβ print a summary of the options. when in doubt, ask for help, it's literally free π«Ά-i|-includeβ output in C include file style. your C files are gonna eat so good π₯-l len|-len lenβ stop after len octets. boundaries, we love them π-n name|-name nameβ set the variable name used in C include output (-i). naming things is the hard part, she gets it π-o offsetβ add offset to the displayed file position. shift the vibe β¨-p|-ps|-postscript|-plainβ output in PostScript plain hexdump style. four whole aliases, she's flexible π-r|-revertβ reverse operation: convert (or patch) hexdump into binary. the un-dump. the remix. the sequel π-R whenβ colorize the output. when can be'always','auto', or'never'. default:'auto'. yes bestie, you control the glitter π¦-s [+][-]seekβ start at seek bytes absolute (or relative, with+prefix) in the input file. when used with-r, the offset is added to file positions found in the hex dump. deep dive energy β-tβ append a terminatingNULbyte to the array in C include file style (-i). the little periodt at the end of the sentence π-uβ use uppercase letters for hexadecimal output. default is lowercase. freedom of case, honestly π-v|-versionβ show version information. she'll tell you who she is π§
π EXAMPLES π
create a standard hex dump with color:
tinyxxd file.bin
create a little-endian hex dump:
tinyxxd -e file.bin
output in binary digit format:
tinyxxd -b file.bin
create a C include file:
tinyxxd -i file.bin > file.h
reverse a hex dump into binary:
tinyxxd -r dump.hex > file.bin
look at all those little one-liners popping off π
π EXIT STATUS π
0β success. we love a happy ending π1-5β various errors (e.g., file I/O errors, invalid arguments). not every day is a slay day π
π§ ENVIRONMENT VARIABLES π§
NO_COLORβ if set, disables color output. sometimes you just want the plain vibe, and that's valid π«Ά
π CAVEATS π
little-endian dumps
the -e option only affects the hexadecimal representation and not the ASCII (or EBCDIC) characters on the right side of the dump. so like, half the dump is byte-flipped and half is just sitting there being normal. that's not a bug, that's the design, bestie.
the option is incompatible with -r, -p, or -i.
reverse operation (-r)
the reverse operation may encounter difficulties with lines that are not formatted as expected. it will skip over non-conforming lines and continue processing. so she's forgiving, but not that forgiving π
line numbers are used for positioning when writing output, so the order and completeness of lines are important. do not shuffle your hexdump, I'm begging π«Ά
π BUGS π
no known bugs so far. she's flawless, allegedly π
issues can be reported at: https://github.com/xyproto/tinyxxd/issues β go snitch respectfully π
π AUTHOR π
tinyxxd was written by a whole group chat of absolute legends:
- Bram Moolenaar <Bram@vim.org>
- JΓΌrgen Weigert <jnweiger@gmail.com>
- DungSaga <dungsaga@users.noreply.github.com>
- Atsushi SUGAWARA <peanutsjamjam@gmail.com>
- Yegappan Lakshmanan <yegappan@yahoo.com>
- Erik Auerswald <auerswal@unix-ag.uni-kl.de>
- David Gow <david@ingeniumdigital.com>
- Philip H <47042125+pheiduck@users.noreply.github.com>
- Aapo Rantalainen <aapo.rantalainen@gmail.com>
- Christian Brabandt <cb@256bit.org>
- Ken Takata <kentkt@csc.jp>
- tristhaus <tristhaus@yahoo.de>
- OldWorldOrdr <joey.t.reinhart@gmail.com>
- Keith Thompson <Keith.S.Thompson@gmail.com>
- Igor Todorovski <itodorov@ca.ibm.com>
- Kuratius <Kuratius@gmx.net>
- Goffredo Baroncelli <kreijack@inwind.it>
- Lennard Hofmann <lennard.hofmann@web.de>
- RestorerZ <restorer@mail2k.ru>
- Husam Harazi <i@vimmer.dev>
- Oliver Webb <aquahobbyist@proton.me>
- Andre Chang <andre@augmentcode.com>
- Randy Eckenrode <randy@largeandhighquality.com>
- Alexander F. RΓΈdseth <xyproto@archlinux.org>
- Noah Gitsham <me@noahgitsham.com>
- LukΓ‘Ε‘ JiΕiΕ‘tΔ <kyci@ljiriste.work>
twenty-seven names and every single one of them ate π₯
β VERSION β
tinyxxd 1.3.17 β she's on version 1.3.17 and thriving π
π¦ SEE ALSO π¦
xxd(1)β original hex dump utility. the mother of the vibe, the blueprint, the blueprint-adjacent icon πΈ
and that's the whole page, bestie π this was tinyxxd(1), dated 29 Sep 2026, version tinyxxd 1.3.17 β now go dump something and make it cute πβ¨
π¦ where this page comes from
- arch rolling: tinyxxd 1.3.17-1 Β· GPL-2.0-only AND MIT
- nixpkgs unstable: tinyxxd 1.3.17
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms