Convert XML to YAML instantly in your browser. Supports nested elements and attributes. Bidirectional — swap to YAML→XML in one click. 100% client-side.
The XML to YAML converter parses XML using fast-xml-parser and serialises the resulting structure to YAML via js-yaml — routing through a clean intermediate JavaScript object so all nesting, repeated elements, and attributes are faithfully represented. Both editors are live. The YAML output panel supports interactive tree and graph visualization of the parsed data.
QAre XML attributes included in the YAML output?
Yes — fast-xml-parser extracts XML attributes as object properties (using the `@_` prefix by default), which are then serialised as YAML mapping keys.
QIs my data sent to a server?
No. All conversion runs in a Web Worker inside your browser.