XML to Excel

Turn XML data into an Excel spreadsheet (.xlsx) you can open in Excel or Google Sheets.

Add XML in the box and click Convert to get your Excel file.

How XML to Excel works

Converts XML to an Excel file (.xlsx). The tool looks for the first element that repeats, like many <order> tags inside <orders>, and turns each one into a row. Each child tag becomes a column.

Nested tags are flattened into columns with dot names, like address.city. Rows that are missing a value get an empty cell. You can open the file in Excel, Google Sheets, LibreOffice or Numbers.

Input to XML to Excel

  • Paste or type XML into the input box, or upload a .xml or .txt file. Click Convert to run it.
  • XML must be valid. If it is not, you see the line and column of the error.
  • Values are read from tags. Attributes are not added as columns. Use XML to CSV if you need them.

Output from XML to Excel

  • A table preview of the rows and columns that go in the file.
  • Click Download to save it as a .xlsx file with one sheet named Sheet1.
  • The header row uses the tag names. Values are saved as text.