No processing of your file contents takes place on any server. You need no data-processing agreement with gottrix to handle confidential or business documents.
Hosted in GermanyGlobal Content Delivery
Origin servers at Hetzner in Germany, delivered worldwide through a content delivery network. Your file contents are never transmitted in the process - they never leave your device.
XML is a widespread markup format for data exchange, configuration and documents - with tags, nested elements and attributes. TOML is the highly readable configuration format of the Rust and Python toolchains, with sections in square brackets and plain key-equals-value lines. This tool reads your XML file and writes the same tree as well-formed TOML.
The conversion runs entirely locally in your browser: fast-xml-parser reads the XML, smol-toml writes the TOML, both pure JavaScript. Because an XML document has exactly one root element, it becomes a TOML table with that root key. Nested elements become sub-tables, repeated elements become arrays. Attributes are preserved and appear - as in XML to JSON - with the @_ prefix; such keys and the text key #text are written as quoted keys in TOML.
This bridges markup and configuration: an XML record becomes a hand-editable .toml. It stays honest about it: well-formedness is checked before parsing, and invalid XML is rejected with a clear message. If a value cannot be represented in TOML, the tool reports it clearly instead of silently producing something wrong. Nothing is uploaded.
No file-count or daily limits, no account, no paywall, no watermark. Only your device limits the size - up to 2 GB per run. Many online services limit free use to a few runs per day or require an account; here everything runs locally in your browser - with no daily quota and no sign-up.
Specifications
Specifications
Input formats
XML
Output format
TOML
Batch processing
No
Processing
Locally in your browser (JavaScript)
File upload
None
In 3 steps
Drop or pick your XML file.
The tool converts it into TOML.
Download the TOML file.
Limitations: An XML document has exactly one root element, so a TOML table with that root key results. Nested elements become sub-tables, repeated elements become arrays. Attributes (@_) and element text content (#text) are written as quoted TOML keys. Number- and boolean-looking text is recognised as real TOML numbers/booleans (the same recognition XML to JSON already applies on read); XML comments are not captured while parsing and therefore do not appear in the TOML. Well-formedness is checked before parsing; invalid XML is rejected with a clear message. Values that cannot be represented are reported clearly.
FAQ
Is my file uploaded?
No. The conversion runs entirely locally in the browser - nothing is sent.
How are attributes handled?
Attributes appear with the @_ prefix and are written as quoted keys in TOML, such as "@_id".
What happens with repeated elements?
Elements of the same name occurring several times are collected into a TOML array.
Why are some keys quoted?
Keys like @_id or #text are not bare TOML keys; they are correctly written in quotes.
Does the reverse work too?
Yes, with our "TOML to XML" tool.
Is XML to TOML free - are there any limits?
Yes. You can use XML to TOML as often as you like: no daily cap, no account, no paywall, no watermark. All selected files together may be at most 2 GB per run; on devices with little memory this bound is lower, because it follows your device's memory.