How to convert XML to Excel

XML and Excel are both extensively used for storing and exchanging data, but are very different in structure. XML is text structured in the form of a tree and Excel is proprietary data structured in the form of one or more tables. However you can easily convert XML to Excel format with Easy Data Transform:

XML to Excel

convert XML to Excel

XML to Excel converter

Example XML input:

<?xml version="1.0" encoding="UTF-8"?>

Example Excel output:

Excel from XML

The dot (‘.’) character is used to show nesting of XML values and XML attribute values start with an underscore (‘_’). For example:

<?xml version="1.0" encoding="UTF-8"?>
  <record carb="2" cholesterol="5" fiber="0" 
          name="Avocado Dip" protein="1" sodium="210">

Will be ‘flattened’ into Excel as:

flatten nested XML

You can use a Rename Cols transform if you want to rename any of the columns before output.

If you have large number of files to convert you can do it using batch processing.

As well as changing file format, Easy Data Transform also allows you to combine 50 transforms (such as merge, dedupe and filter) to quickly and easily create simple or complex data transformations. See our quick start guide for more details.

XML to Excel

Try it free now!

Windows Logo Windows Download

v1.13.1 for Windows 10 / 8 / 7 (30 MB)

Apple Logo Mac Download

v1.13.1 for Mac 11.1 to 10.13 (31 MB)

Questions or problems?


Do you have a question?
We would love to help.

This pop-up will not be shown again