Convert XML to YAML

Form for XML converting to YAML

This form allows you convert XML data to YAML data, paste or upload your XML file below:


Your result can be seen below.

Result of XML conversion to YAML


Move to "Paste Code" for Save it

About XML conversion to YAML

About XML data conversion to YAML data

The XML to YAML Converter was created for online transform XML(Extensible Markup Language) data into YAML Ain't Markup Language(YAML) data. It's very simple and easy way to transform and share XML to YAML data.

How it Works?

Just paste or upload your XML data to the textarea above and click to the button "Convert" and you will instantly get YAML data.

Example of XML conversion to YAML

Before:
<artists>
    <artist>
        <id>1</id>
        <firstName>Dwayne</firstName>
        <lastName>Johnson</lastName>
        <age>47</age>
    </artist>
    <artist>
        <id>2</id>
        <firstName>Jessica</firstName>
        <lastName>Alba</lastName>
        <age>38</age>
    </artist>
    <artist>
        <id>3</id>
        <firstName>Peter</firstName>
        <lastName>Pan</lastName>
        <age>120</age>
    </artist>
</artists>
After:
artists:
 artist:
  -
   id: 1
   firstName: Dwayne
   lastName: Johnson
   age: 47
  -
   id: 2
   firstName: Jessica
   lastName: Alba
   age: 38
  -
   id: 3
   firstName: Peter
   lastName: Pan
   age: 120
After the conversion, you can apply the YAML data to your project or use it for some other purpose.
Share

Do you find this tool useful? Then share it with your friends or colleagues. This will help us to make our free web tools better.