XML to YAML Converter - Paste XML and convert it to YAML (attributes as @key, text as #text). Free, browser-only.
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Node mapping | element names as keys, children as nested mappings | W3C XML 1.0 / YAML 1.2 |
| Text and attributes | text as scalar value; attributes need explicit keys | YAML 1.2 |
| Indentation | YAML encodes hierarchy by indentation, must align exactly | YAML 1.2 |