Indentation In, Angle Brackets Out
You wrote your config in YAML because it's pleasant to read. Then a Java build tool, a SOAP endpoint, or some legacy importer demanded XML. Converting turns each mapping key into an element, nests children inside their parents, and wraps everything in a single root, because XML allows only one.
Some things don't survive the trip. XML stores everything as text, so YAML's true, 42, and null lose their types. Comments usually vanish, anchors get expanded into duplicated content, and lists become repeated elements. Keys with spaces or leading digits aren't valid element names, so rename them before converting.
What are YAML and XML?
YAML: readable structured data often used for configuration
XML: tagged structured data common in business systems
How it works
- Choose your YAML file.
- Check that XML is selected and press convert.
- Download your new file. We delete both files automatically.
