Plist ⇄ JSON
Convert property lists (launchd jobs, Info.plist, app preferences), XML or binary, to JSON and back, tab-indented like plutil.
About this tool What it's for, how to use it and an example
What it's for
Convert Apple property lists to JSON and back. Property lists are the files macOS and iOS use for settings, app Info.plist files and launchd jobs, saved either as XML or in a binary form; JSON is easier to read, edit and use in scripts.
For example, when you want to read or tweak a launchd job or an app’s Info.plist, convert it to JSON, make your changes and convert it back.
How to use it
Paste an XML property list and choose Plist → JSON, or paste JSON and choose JSON → Plist. Or open a .plist file, or drop one on the page: XML or binary, it’s shown as XML in the box and as JSON in the result. The plist output is tab-indented, like Apple’s plutil. Use as input moves the result back into the box for the return trip.
Example
Paste this launchd job and choose Plist → JSON:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.example.backup</string>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>3600</integer>
</dict>
</plist>
The result is {"Label": "com.example.backup", "RunAtLoad": true, "StartInterval": 3600}, laid out over several
lines.
Good to know
A binary plist has to be opened as a file; pasted text must be XML or JSON. The result is always XML, never binary, which macOS reads just as well. Dates become ISO 8601 text and data becomes Base64 text; converting back turns both into strings, so check those values before using the result.
Guides: Customising your Mac: icons, shortcuts, links and scheduled jobs · Checking Mac profiles, plists and .DS_Store files
A binary plist opened as a file is shown as XML; pasted text must be XML or JSON. <date> becomes ISO 8601 text and <data> Base64 text; converting back makes
both strings.
Built with The third-party code and data this tool uses, and their licences
This tool uses no third-party code or data of its own: its code was written for this site.
Every page also uses Montserrat (SIL Open Font License 1.1).
Everything the site uses is on Credits and licences.
Private: this tool runs in your browser. Nothing you type, paste or choose leaves this page.
Saved you a few minutes? Say thanks with a coffee.
Something wrong with this tool, or missing from it? Report a bug or suggest a feature.