What is MIME type "application/x-plist"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

The MIME type application/x-plist is used to identify property list files. These files store structured data in a key–value format. They can be encoded in XML or binary form.

They are mainly used in Apple environments to maintain configuration settings and application data. Key uses include:
The file format is associated with the file extension PLIST. Learn more about property lists at Wikipedia: Property List.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: application/x-plist    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="application/x-plist">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'application/x-plist');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the application/x-plist MIME type used for?

This MIME type identifies Property List files, widely used in macOS and iOS to store user settings, configuration data, and serialized objects. These files typically use the .plist extension and can be encoded as either human-readable XML or compact binary data.

How do I open a file sent as application/x-plist?

If the file is in XML format, you can view it in any text editor like Notepad++ or VS Code. If it is a binary plist, you will need specialized software like Apple's Xcode or a dedicated plist editor to view or modify the contents.

How do I configure Apache or Nginx to serve .plist files?

For Apache servers, add the line AddType application/x-plist .plist to your .htaccess file. For Nginx, add application/x-plist plist; inside the types { ... } block of your nginx.conf or mime.types file.

Does application/x-plist work in web browsers?

Most modern web browsers do not natively render plist files. If a server delivers a file with the application/x-plist header, the browser will usually trigger a file download rather than displaying the content inline.

What is the difference between text/xml and application/x-plist?

While XML-based plist files are technically valid XML, using application/x-plist explicitly tells the receiving application that the file is an Apple Property List. Using generic types like text/xml might cause the file to open in a browser as a generic XML tree rather than being recognized as configuration data.

Can I convert application/x-plist data to JSON?

Yes, Property Lists share a similar key-value structure with JSON. On macOS, you can use the command line tool plutil -convert json file.plist to convert data, or use various libraries in Python and JavaScript to parse the MIME type content into JSON objects.

Why does the MIME type start with 'x-'?

The x- prefix indicates that application/x-plist is a non-standard or experimental type that was not originally registered with the IANA. However, it has become the standard convention for identifying Property List files across the web and in Apple operating systems.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.