YAML to XML
Convert YAML mappings to XML. @-prefixed keys become attributes.
All processing on this page runs locally in your browser unless noted otherwise.
Ctrl/⌘ + Enter to run
Input
Output
How to use
- Paste YAML on the left (or import a .yml file).
- Adjust options and convert.
- Copy or download XML; open reverse for XML → YAML.
FAQ
How do attributes work?
Keys like "@id" become XML attributes when the prefix option is on.
Is multi-document YAML supported?
This page expects a single YAML document. Split multi-doc input first.