What happens when you convert XML to YAML
- Repeating elements become rows; attributes and nested elements become columns. Excel 2003 XML spreadsheets are detected automatically.
- Each row becomes an item with the header row as keys; columns named like “address.city” become nested keys.
- Numbers, true/false and dates keep their types. Text YAML would misread (yes, no, 007…) is quoted automatically.
XML vs YAML
| Feature | XML | YAML |
|---|---|---|
| Multiple sheets | Yes | Yes |
| Formulas | No | No |
| Numbers & dates | No | Yes |
| Nested data | Yes | Yes |
| Best for | Feeds, integrations | Config files, data |
How to convert XML to YAML
- Drop your XML files on the box above, or click it to choose files. You can add many at once.
- Adjust the options if you want. The defaults work well for most files.
- Click Download for each YAML file, or "Download all" to get a ZIP.
Frequently asked questions
Is it safe to convert my files here?
Yes. Conversion happens entirely in your browser. Your files are never uploaded to a server, so nobody else can see them.
Is it free? Are there limits?
It's completely free, with no sign-up, watermarks or daily limits. The only limit is your device's memory for very large files.
Can I convert many XML files at once?
Yes. Drop as many files as you like; they're converted one after another and you can download them all as a ZIP.
How is nested data handled?
Nested objects and elements become columns with paths like address.city (JSON) or author/name (XML), and converting back rebuilds the nesting.
Which YAML parsers can read it?
It's standard YAML that reads correctly in YAML 1.1 and 1.2 parsers, including PyYAML, js-yaml, Ruby, Kubernetes and GitHub Actions.