Skip to the converter

TOML to XML converter, without the upload.

Turn TOML config files into XML. It is converted in your browser, so the file never leaves your device.

Drop TOML files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert TOML to XML

  1. Add your TOML config files

    Drop TOML files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. XML is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the XML, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The TOML to XML converter is part of this page and runs inside your browser. Your config files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

TOML to XML: what to expect

TOML is understood by fewer tools than JSON or YAML. XML is what many feeds, enterprise systems and older integrations require. TOML is at home in simple configuration files; XML is the usual choice for document-like data, feeds and enterprise systems.

Keys, nesting and values carry over. Comments in the TOML file are not carried over, because only the data is read. XML allows only one root element, so data without one is wrapped in a <root> element.

TOML vs XML

TOML

TOML data

TOML is a small configuration format with explicit sections and typed values. Rust's Cargo and Python's pyproject.toml use it.

Opens in Any text editor

TOML converter
XML

XML data

XML wraps data in nested tags with attributes. It is verbose but strict, and remains the basis of RSS feeds, SVG, Office documents and many enterprise interfaces. Its attributes and mixed content have no exact equivalent in JSON.

Opens in Any text editor or browser

XML converter
TOML compared with XML
TOMLTOML dataXMLXML data
Stands forTom's Obvious Minimal LanguageExtensible Markup Language
TypeStructured data (text)Structured data (text)
CompressionNoneNone
Introduced2013, by Tom Preston-Werner1998, by the World Wide Web Consortium (W3C)
Opens inAny text editorAny text editor or browser
Best forSimple configuration filesDocument-like data, feeds and enterprise systems
File extension.toml.xml

Questions

Are my config files uploaded anywhere?

No. The TOML to XML conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting TOML to XML?

The values are kept. Anything XML has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several TOML files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert TOML to XML on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the TOML file, press Convert and save the XML. There is nothing to install.

Is there a file size limit?

Yes. Data files up to 300 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.