A property list, usually called a plist, is a structured data format that stores a hierarchy of typed keys and values such as strings, numbers, dates, arrays and dictionaries. In macOS, property lists hold application preferences, bundle metadata, launchd job definitions and many system settings, which makes them one of the most widespread file types on every Mac.
The format comes from NeXTSTEP and survives across all Apple platforms. A plist can be written as XML, as a compact binary format or, for some tools, as JSON, but the logical model is the same in every encoding: a root object, usually a dictionary, that contains nested values of a small, fixed set of types.
How a property list is structured
A property list is a tree of objects in which every node has one of a limited number of primitive or collection types. Collections are either arrays, which keep order, or dictionaries, which map string keys to values. Leaf values carry the actual data, and the type of each value is stored explicitly, so a reader never has to guess whether “1” is a number or a string.
The table lists the supported value types and the XML element that represents each of them.
| Type | XML element | Typical content |
|---|---|---|
| Dictionary | dict | Named settings grouped by key |
| Array | array | Ordered list such as recent files |
| String | string | Paths, identifiers, labels |
| Integer and real | integer, real | Counts, sizes, intervals |
| Boolean | true, false | Feature switches |
| Date | date | ISO 8601 timestamp in UTC |
| Data | data | Base64-encoded binary blob |
There is no null value and no custom type. Anything richer, such as an archived object graph, must be serialized into a data element or flattened into dictionaries. Keys in a dictionary are always strings and must be unique within that dictionary, although the same key may appear at different levels of the tree.
XML, binary and other plist encodings
The same property list can be stored in several encodings, and Apple frameworks read all of them transparently. The choice affects human readability, file size and parsing speed, not the meaning of the data.
| Encoding | Readable by people | Main use |
|---|---|---|
| XML plist | Yes, in any text editor | Source files, Info.plist in projects |
| Binary plist | No, needs a tool | Preference files written by macOS |
| JSON | Yes | Conversion and scripting output |
| OpenStep ASCII | Yes | Legacy files, mostly read-only today |
Binary plists begin with the magic bytes bplist00 and use an offset table, so they load faster and take less space than XML. That is why the preferences system usually saves binary files even when a developer originally shipped an XML version. JSON conversion is lossy: it cannot express the date and data types directly, so plutil refuses or alters such values when it converts to JSON.
Where macOS uses property lists
Property lists appear wherever macOS needs structured configuration that both programs and administrators can inspect. The most important locations follow clear conventions, and knowing them is a core part of macOS fundamentals.
| File or location | Purpose | Scope |
|---|---|---|
| Info.plist inside an app bundle | Bundle identifier, version, permissions text | One application |
| ~/Library/Preferences | Per-user app preferences | Current user |
| /Library/Preferences | Machine-wide preferences | All users |
| LaunchAgents and LaunchDaemons | Job definitions for launchd | User or system |
| Configuration profiles | Managed settings from device management | Device or user |
Preference files are named by reverse-DNS bundle identifier, for example com.apple.finder.plist. A launchd job file contains keys such as Label, ProgramArguments and RunAtLoad, and launchd reads these definitions to decide what to start and when. The Info.plist of an app declares its identifier, minimum system version and the usage strings shown in privacy prompts.
Reading and editing plists safely
The safest way to change preferences is through the defaults command or the preferences API, not by editing files directly. macOS caches preferences in the cfprefsd daemon, so a file changed behind its back may be ignored or later overwritten with the cached values.
| Tool | What it does | Best for |
|---|---|---|
| defaults | Reads and writes preference domains | Changing app or system settings |
| plutil | Validates, converts and prints plists | Checking syntax, XML to binary |
| PlistBuddy | Edits nested keys in a file | Scripted edits of deep structures |
| Xcode editor | Graphical tree view | Developers editing Info.plist |
- Run
plutil -linton a file after any manual change to catch syntax errors before an app reads it. - Use
plutil -convert xml1to make a binary preference file readable in a text editor, then convert back if needed. - Quit the application before editing its preferences, because a running app may write its own state on exit.
- Keep a backup copy of the original file, since a malformed plist can reset an app to its defaults.
Limitations and common mistakes
Property lists are designed for small to medium configuration data, not for databases. A plist is read and written as a whole, so storing thousands of records in one file makes every save slow and increases the risk of corruption when a write is interrupted.
Typical errors include writing a value with the wrong type, for example the string “true” instead of a Boolean, which many apps silently ignore. Another frequent mistake is editing a file under ~/Library/Preferences while cfprefsd still holds the old values, which makes the change appear to vanish. Sandboxed apps store their preferences inside their container directory under ~/Library/Containers, so administrators who look only in the standard folder may edit a file that the app never reads.
Security also matters. Launch agents and daemons are plists, so unexpected entries in those folders are a classic sign of persistence by unwanted software. Reviewing them, together with checking file ownership and permissions, is a standard step in macOS incident response.
Put simply
A property list is a settings file with labels. Each setting has a name, a value and a type, such as text, a number or yes and no. Settings can be grouped into folders inside the file, much like a filing cabinet with labeled drawers.
Your Mac uses these files to remember your choices for apps, to describe what each app is and to know which background tasks to start. Most people never open one, but they quietly hold much of the configuration that makes a Mac behave the way its owner expects.
In practice
An IT administrator at a design studio needs every Mac to show hidden files in Finder and to start a small backup script at login. Instead of clicking through settings on twenty machines, the administrator uses the defaults command: defaults write com.apple.finder AppleShowAllFiles -bool true and restarts Finder on each computer.
For the backup script, the administrator writes a short launch agent plist with a Label, the script path in ProgramArguments and RunAtLoad set to true, checks it with plutil -lint and copies it into ~/Library/LaunchAgents. After the next login, launchd starts the script automatically on every Mac, and the whole rollout takes under an hour instead of a full day of manual work.