Paste tabular XML into the Quick paste box, the grid on the left shows columns taken from the child tag names, and the CSV tab on the right gives you the file. You choose the delimiter and BOM so Excel opens it correctly.
Runs entirely in your browser. Your data is never uploaded. Tiếng Việt
You convert XML to CSV when you take data from accounting software, a product feed or an old system and need it in Excel or in a tool that only reads tables. Real XML can nest deeply while CSV is flat, so the tool reads only XML that already looks like a table: one root element holding many row elements, each child of a row being a column. Attributes and nested structure are not kept.
Quick paste box and press Load into table ↵, or press Import file and choose an .xml file.⚙ Options to choose Delimiter and Add UTF-8 BOM.Copy result or Download file to get a .csv file.The tag Order_ID becomes a column header. 00123 keeps its leading zeros, the cell Includes "gift wrap" is wrapped in double quotes with the inner quotes doubled, and the delimiter is a comma here because the example is in English.
<?xml version="1.0" encoding="UTF-8"?>
<rows>
<row><Order_ID>00123</Order_ID><Customer>Anna Reed</Customer><Amount>450.00</Amount><Note>Rush delivery, call first</Note></row>
<row><Order_ID>00124</Order_ID><Customer>Ben Cole</Customer><Amount>1250.00</Amount><Note>Includes "gift wrap"</Note></row>
<row><Order_ID>00125</Order_ID><Customer>Cara Lin</Customer><Amount>299.50</Amount><Note></Note></row>
</rows>Order_ID,Customer,Amount,Note
00123,Anna Reed,450.00,"Rush delivery, call first"
00124,Ben Cole,1250.00,"Includes ""gift wrap"""
00125,Cara Lin,299.50,<row id="5"> the id does not become a column. If you need it, turn attributes into child elements at the source before pasting.Delimiter to a semicolon, or use Excel's import wizard.00123, but Excel may turn it into a number when you double-click to open it. Use Excel's text import for that column.Attributes are ignored. Only the child element content of each row is read. Turn attributes into child elements before pasting if you need them.
Yes. Delete a column or rename it in the grid before copying, so the CSV holds only the columns you keep.
Yes, up to 20 MB and 10,000 rows. Larger files need trimming at the source.
No. The XML is read and the CSV is built in your own browser.