How to use XML to YAML
- Paste your XML.
- Choose a 2 or 4 space indent.
- Copy the YAML.
About XML to YAML
Teams moving from older Java or .NET tooling to Kubernetes, Ansible or GitHub Actions often have XML on one side and YAML on the other. This converter reads the XML as data first, then writes that data as YAML, so you get a faithful structure without retyping.
Attributes appear as keys starting with @_ and mixed text appears as #text. You will probably rename those for your target system, but the hard part, the nesting, is done.