Convert PLIST to XML

Turn PLIST files into XML. Objects become elements inside one root element and every value becomes text, with characters a tag name cannot hold turned into underscores.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PLIST files on the dialor turn it to pick what to do

A property list as an XML document.Objects become elements under one root, and every value becomes text.

  1. What you get

    One XML file built from your property list, XML or binary. Objects become elements inside a single root element, and each value is written as text.

    Dates become ISO 8601 text. Data becomes base64 text.

  2. How keys and lists map

    Characters that a tag name cannot hold are turned into underscores. A key that starts with @ becomes an attribute, and #text becomes the element's own text.

    A list repeats its element once for each item. An empty list therefore disappears, and a list of lists is flattened. Where a list or an object ends up in an attribute, it is written as JSON text.

  3. What changes

    Every value is text in the XML, so the original types are not marked. Use XML to PLIST for the other direction. See every PLIST conversion for the rest.

  4. When it fails

    The conversion stops with input_corrupted when the file could not be parsed.

PLIST and XML.What each format is.

The formats

From · PLIST

Property List

Apple property lists, XML or binary, that hold app settings and metadata.

Extensions
.plist
MIME type
application/x-plist
Kind
Text and data
To · XML

XML

XML documents and data.

Extensions
.xml
MIME type
application/xml
Kind
Text and data

In your code.The same PLIST to XML conversion through the API, for your app or your agent.

terminal
$ cv convert report.plist report.xml
$ cv convert report.plist report.xml

Questions.What people ask about PLIST to XML.

01OF 04

Yes. The format covers property lists in XML or binary form.

It disappears. A list is written by repeating its element, so an empty list leaves nothing to write.

Dates become ISO 8601 text. Data becomes base64 text.

Yes. Name a key with @ at the start and it becomes an attribute. Lists and objects in an attribute are written as JSON text.

More conversions.Other ways in and out of PLIST and XML.