Pretty-Print a Plist in the Terminal with plutil -p
Dump any property list as readable key-value output — no Xcode, no XML squinting.
01Command
$ plutil -p ~/Library/Preferences/com.apple.TextEdit.plist02What it does
plutil -p prints plists in a compact human-readable format (nested braces, no XML tags), which makes it the fastest way to inspect an app's preferences, a LaunchAgent job definition, or an exported defaults backup. Unlike plutil -convert, it reads and prints only — it never modifies the file, and it also accepts binary plists directly.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- plutil - Property List UtilityEvidence: Documents the -p option which prints the property list in a human-readable form to the terminal.
- plutil(1) man pageEvidence: The plutil man page describes -p: print the property list in a human-readable fashion (output format not designed for machine parsing).
Last verified: 2026-09-19 · Category: Developer
06Related solutions
Validate, pretty-print, and convert plist/JSON files — plus edit keys from the shell.
Snapshot an entire app's settings to a plist file, then restore or migrate it later.
Magic-number inspection that sees past wrong extensions — from disk images to scripts to Mach-O binaries.