Convert TOML to PLIST

Turn TOML files into PLIST. An XML property list with the same structure and key order, where text, integers, reals and booleans keep their types and dates stay text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A property list with the same structure.Your TOML becomes an XML property list with keys in the same order.

  1. What you get

    One XML PLIST file with the same structure as the TOML. Keys keep their order, and tables stay nested as they were.

    Text, integers, reals and booleans keep their types. A string stays a string, and a number stays a number.

  2. What changes

    Property lists have no null, so a null in an object is dropped with a warning. A null inside a list fails the conversion, because the list cannot hold it.

    Dates and times become ISO 8601 text. They stay text and are not written as a date type.

    Comments are dropped.

  3. When it stops

    If the TOML cannot be parsed, the conversion stops with input_corrupted. The file has to be valid TOML before anything is written.

    To go the other way, use PLIST to TOML.

TOML and PLIST.What each format is.

The formats

From · TOML

TOML

TOML configuration files, the format of Cargo and pyproject.

Extensions
.toml
MIME type
application/toml
Kind
Text and data
To · 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

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

terminal
$ cv convert report.toml report.plist
$ cv convert report.toml report.plist

Questions.What people ask about TOML to PLIST.

01OF 04

Yes. The PLIST has the same structure and key order as the TOML.

They become ISO 8601 text. They stay text in the PLIST.

No. Comments are dropped.

The TOML file could not be parsed. The conversion stops with input_corrupted in that case.

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