Mac Developer Library Developer


This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.

PLIST(5)                    BSD File Formats Manual                   PLIST(5)

     plist -- property list format


     Property lists organize data into named values and lists of values using several Core Foundation types:
     CFString, CFNumber, CFBoolean, CFDate, CFData, CFArray, and CFDictionary. These types give you the
     means to produce data that is meaningfully structured, transportable, storable, and accessible, but
     still as efficient as possible. The property list programming interface allows you to convert hierar-chically hierarchically
     chically structured combinations of these basic types to and from two formats: standard XML and an
     optimized, opaque binary format. This document describes the standard XML format. The data can be saved
     to disk and later used to reconstruct the original Core Foundation objects. Note that property lists
     should be used for data that consists primarily of strings and numbers because they are very ineffi-cient inefficient
     cient when used with large blocks of binary data.


     Property lists are constructed from the basic Core Foundation types CFString, CFNumber, CFBoolean,
     CFDate, and CFData. To build a complex data structure out of these basic types, you put them inside a
     CFDictionary or CFArray. To simplify programming with property lists, any of the property list types
     can also be referred to using a reference of type CFPropertyListRef.

     In a CFDictionary, data is structured as key-value pairs, where each key is a string and the key's
     value can be a CFString, a CFNumber, a CFBoolean, a CFDate, a CFData, a CFArray, or another CFDic-tionary. CFDictionary.
     tionary. When using CFDictionary as a property list, all keys must be strings.

     In a CFArray, data is structured as an ordered collection of objects that can be accessed by index. In
     a property list, a CFArray can contain any of the basic property list types, as well as CFDictionary
     and other CFArray objects.


     When property lists convert a collection of Core Foundation objects into an XML property list, it wraps
     the property list using the document type tag <plist>. The other tags used for the Core Foundation data
     types are listed in the table below:

     Core Foundation Types with XML Equivalents
         CF type         XML tag
         CFString        <string>
         CFNumber        <real> or <integer>
         CFDate          <date>
         CFBoolean       <true/> or <false/>
         CFData          <data>
         CFArray         <array>
         CFDictionary    <dict>

     When encoding the contents of a CFDictionary, each member is encoded by placing the dictionary key in a
     <key> tag and immediately following it with the corresponding value in the appropriate tag from the ta-ble table
     ble above. See EXAMPLES below for an example XML data generated from a property list.

     The XML data format is documented here strictly for help in understanding property lists and as a
     debugging aid. These tags may change in future releases so you shouldn't rely on them directly. You
     should not edit the XML data by hand unless you are very familiar with XML syntax and the format of
     property lists. If you want to modify the contents of a property list saved on disk as XML data, use
     the Property List Editor application.

     More complete documentation can be found on disk at


     or online at


     The binary property list format is opaque and does not use XML. However, binary property lists and XML
     property lists are generally interchangeable. The plutil(1) utility may be used to convert property
     lists between different formats. For example, to view a binary property list in XML format on stdout:

           plutil -convert xml1 -o - <file name>

           <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
           <plist version="1.0">
               <key>Year Of Birth</key>
               <key>Pets Names</key>
               <key>City of Birth</key>
               <string>John Doe</string>
               <key>Kids Names</key>


Mac OS X                         July 9, 2003                         Mac OS X

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.