plistutil(1)
π plistutil β the manual, but make it cute π
okay so this is plistutil(1) from the General Commands Manual section, and bestie, it's about to become your new fave little conversion tool. buckle up π
β¨ NAME β¨
plistutil β Convert a plist FILE between binary, XML, and JSON format π
π¦ SYNOPSIS π¦
plistutil [OPTIONS] [-i FILE] [-o FILE]
π DESCRIPTION π
plistutil lets you convert a Property List file between binary, XML, and JSON format. that's the whole vibe. it's giving β¨format-shifting iconβ¨
πΈ OPTIONS πΈ
-i,--infile FILEβ the Input FILE you're converting from. if you skip this argument, or you pass-as the filename,plistutilwill read from stdin instead. π«Ά-o,--outfile FILEβ the Output FILE you're converting to. if you skip this argument, or you pass-as the filename,plistutilwill write to stdout. periodt.-f,--format [bin|xml|json|openstep]β Force output format, regardless of input type. super useful when you don't know what the input format even is, but you need the output to always be one specific thing (like xml or json). π
If omitted, XML plist data will be converted to binary and vice-versa. To convert to/from JSON or OpenStep the output format needs to specified. β οΈ
-p,--print FILEβ Print PList in human-readable format. it's giving readability, main character energy π-c,--compactβ JSON and OpenStep only: Print output in compact form. By default, the output will be pretty-printed. so like...-cis the lowkey version, no-cis the full glam π-s,--sortβ Sort all dictionary nodes lexicographically by key before converting to the output format. organized. alphabetized. iconic. β-h,--helpβ Prints usage information. your little guide bestie π§-d,--debugβ Enabled extended debug output. yes, the manual literally says "Enabled", we're keeping it, no cap π-v,--versionβ Print version information π
π EXAMPLES π
plistutil -i test.plist -o out.plist
Convert test.plist and write to out.plist. If test.plist is in XML format, out.plist will be in binary format. If test.plist is in binary format, out.plist will be in XML format. β¨ (yes bestie, it flip-flops, that's the point)
plistutil -i test.plist -o out.plist -f bin
Same as before, but the output will always be in binary format. no surprises, just bin π«Ά
plistutil -i test.plist -f xml
Print test.plist as XML plist, regardless of the input format. π
plistutil -i test.plist -f xml -o -
Same as before. (- means stdout, iykyk)
plistutil -i test.plist -f json
Print test.plist as JSON plist, regardless of the input format. π¦
cat test.plist |plistutil -f xml
Take plist data from stdin β piped via cat β and write the output as XML to stdout. pipes? we love pipes. π
π AUTHORS π
the geniuses behind this:
- Zach C.
- Martin Szulecki
- Nikias Bassen
π ON THE WEB π
aaaand that's the whole page, bestie π this manual is literally signed plistutil(1) at the bottom and lives in the General Commands Manual section β that's the footer, that's the vibe, we're done here. go convert something slayfully πβ¨
π¦ where this page comes from
- alpine 3.24: libplist-doc 2.7.0-r1 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- arch rolling: libplist 2.7.0-3 Β· LGPL-2.1-or-later
- debian trixie: libplist-utils 2.6.0-2+b1 Β· LGPL-2.1-or-later
- epel 10: libplist 2.6.0-1.el10_0 Β· LGPL-2.0-or-later
- fedora 43: libplist 2.6.0-5.fc43 Β· LGPL-2.0-or-later
- fedora 43: libplist 2.6.0-5.fc43 Β· LGPL-2.0-or-later
- fedora 44: libplist 2.6.0-6.fc44 Β· LGPL-2.0-or-later
- fedora 44: libplist 2.6.0-6.fc44 Β· LGPL-2.0-or-later
- fedora 44: libplist 2.7.0-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: libplist 2.7.0-1.fc44 Β· LGPL-2.0-or-later
- nixos 26.05: libplist 2.7.0
- nixpkgs unstable: libplist 2.7.0
- opensuse-leap 16.0: plistutil 2.6.0-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-or-later
- opensuse-leap 16.0: plistutil 2.6.0-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-or-later
- opensuse-leap 16.0: plistutil 2.6.0-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-or-later
- opensuse-leap 16.0: plistutil 2.6.0-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-or-later
- ubuntu noble: libplist-utils 2.3.0-1~exp2build2 Β· LGPL-2.1-or-later
- ubuntu questing: libplist-utils 2.6.0-2build1
- ubuntu resolute: libplist-utils 2.7.0+git20250820-1build1 Β· LGPL-2.1-or-later
- ubuntu stonking: libplist-utils 2.7.0+git20250820-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms