XML to YAML Converter

Turn XML into YAML without uploading payloads. Attributes, text values, and repeated child tags are preserved in a predictable mapping.

Local processingYour input stays in this browser tab.

Input

Paste XML to convert into YAML

0 charactersXML

Output

Converted YAML output

Converted YAML output appears here.

Waiting for XML

Sample input and expected output

Input <ship id="a1">Ada</ship> maps the attribute to @id and the text value to #text.

Validation behavior

Malformed XML is reported through the browser parser before YAML output is produced.