1xA2ZOne Data. Any Format.
Live syncLocal-first · no data upload

Convert XML to Excel

Paste tabular XML into the Quick paste box, check the grid on the left, then press the Excel download button. Child tag names become column names and each row element becomes a row.

Runs entirely in your browser. Your data is never uploaded. Tiếng Việt

01

Spreadsheet

SheetsExcelCSVTSV
✦ Quick pasteSheets / Excel, CSV, TSV, Markdown, JSON, HTML, LaTeX, wiki…
0 rows · 0 columnsSelected cell: A1
02

Live Output

Markdowntwo-way
SyncedEdit directly; the table on the left updates itself
0 characters
Every change is processed right in your browserReady · LocalUTF-8 · by xuanhieu.org

When you need to convert XML to Excel

XML from accounting software, address books, product feeds or old systems is hard to read by eye, while the recipient wants Excel to filter and sort. The tool reads XML that already looks like a table, shows it in the grid so you can check and edit it, and builds the .xlsx in your browser. It only works with tabular XML; attributes and nested structure are not kept.

How to do it

  1. Paste the XML into the Quick paste box and press Load into table ↵, or press Import file and choose an .xml file.
  2. Check the grid on the left, edit cells or rename columns if needed. Use Clean ▾ to trim spaces or remove blank rows.
  3. Open the Excel tab on the right (selected on this page) and then ⚙ Options to set column width and sheet name.
  4. Press Download .xlsx to save the file. Open it in Excel to check.

A real example

Each child of <row> becomes a column and the first row holds the tag names. The Excel tab shows a TSV preview because .xlsx is a binary file, and values such as 145.00 are written as text, so a code like 00123 would keep its leading zeros too.

Input · XML

<?xml version="1.0" encoding="UTF-8"?>
<rows>
  <row><SKU>KB-01</SKU><Product>Keyboard | mechanical</Product><Price>145.00</Price><Stock>21</Stock></row>
  <row><SKU>MS-04</SKU><Product>Wireless mouse</Product><Price>29.90</Price><Stock>47</Stock></row>
  <row><SKU>MN-24</SKU><Product>24-inch monitor</Product><Price>325.00</Price><Stock>8</Stock></row>
</rows>

Result · Excel (TSV preview)

SKU	Product	Price	Stock
KB-01	Keyboard | mechanical	145.00	21
MS-04	Wireless mouse	29.90	47
MN-24	24-inch monitor	325.00	8

Excel is a binary file: press Download file to get the .xlsx. This is a TSV preview.

Options worth changing

Auto column width
Turn it on so each column fits its longest value and the file is readable on opening. Turn it off for Excel's default widths.
Sheet name
Name the sheet, up to 31 characters and without forbidden characters such as a colon or slash.
Protect sheet
Locks the sheet so the recipient cannot edit cells. It is a light lock, not a replacement for a password or encryption.

Common problems

Limits

Frequently asked questions

Will Excel open this file?

It follows the Office Open XML standard, so Excel is expected to open it, but the tool has not been tested directly inside Excel. Open it once to be sure.

What if the XML mixes several record types?

The tool reads one kind of row under the root. Split the XML by type at the source.

Can I pick which columns go into the file?

Yes. Delete or rename columns in the grid before pressing Download .xlsx.

Does my data leave the computer?

No. The XML is read and the Excel file is built in your browser.

Related conversions

1xA2Z · Guide

Table statistics