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.
Servers in GermanyGDPR by design
Origin servers at Hetzner in Germany. Since your files never leave your device, their contents are not transmitted at all.
XML is a widespread markup format for configuration, data exchange and documents - with tags, nested elements and attributes. YAML pursues the same goal of readability, but uses indentation instead of angle brackets and is the lingua franca of CI pipelines, Docker Compose and Kubernetes. This tool reads your XML file and writes the same tree as well-formed YAML.
The conversion runs entirely locally in your browser: fast-xml-parser reads the XML, js-yaml writes the YAML, both pure JavaScript. Nested elements become nested mappings, repeated elements become sequences, and attributes are preserved - they appear with the @_ prefix as their own keys, exactly as in our XML to JSON tool. From a bracketed XML document you get an indented .yaml you can use right away.
Before parsing, the tool checks well-formedness; invalid XML is rejected with a clear message instead of producing silently wrong output. An XML document has exactly one root element, so the YAML produced is always a mapping with that root key. The text content of an element that also has attributes appears under the #text key. Nothing is uploaded - your file stays on your device.
Specifications
Specifications
Input formats
XML
Output format
YAML
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 YAML.
Download the YAML file.
Limitations:Checks well-formedness before parsing; invalid XML is rejected with a clear message. Nested elements become mappings, repeated elements become sequences, attributes become @_ keys and element text content becomes #text. Numbers and booleans are detected and emitted with their type. The output is always a YAML mapping with the XML root key.
FAQ
Is my file uploaded?
No. The conversion runs entirely locally in the browser - nothing is sent.
How are attributes handled?
Attributes are preserved and appear with the @_ prefix as their own keys, exactly as in XML to JSON.
What happens with repeated elements?
Elements of the same name occurring several times are collected into a YAML sequence.
Is well-formedness checked?
Yes. The XML is validated before parsing; invalid XML is rejected with a clear message.