onlinexmltools logo
build

Xml to csv converter

World's simplest xml tool

Free online XML to CSV converter. Just paste your XML in the input form below and it will instantly get converted to CSV. Paste XML, get CSV. There are no ads, popups or nonsense, just a easy to use XML to CSV transformer. Created by developers for developers.
settings
fullscreen fullscreen_exit
swap_horiz
star
Import from file
Save as...
Copy to clipboard
Can't convert.
An error has occured.
Export to Pastebin
Save as...
Copy to clipboard
Characters
Column separating character
Use a custom quote character
Converting
Always enclose fields in quotes
help
Xml to csv converter tool What is a xml to csv converter?
This tool translates XML (Extensible Markup Language) data structures to CSV (Comma Separated Values) files. It lets you change CSV column seprator symbol, and individual data element quote symbol, and toggle quoting all data elements.
books
Xml to csv converter examples Click to use
Simple example
Converts XML with five rows to CSV with comma delimiter
<css> <gradient> <color-stop>red 0%</color-stop> <color-stop>green 25%</color-stop> <color-stop>yellow 50%</color-stop> <color-stop>white 75%</color-stop> <color-stop>black 75%</color-stop> </gradient> </css>color-stop "red 0%,green 25%,yellow 50%,white 75%,black 75%"
Required options
These options will be used automatically if you select this example.
Column separating character
Quote all CSV fields
This example converts meta-tagged XML into CSV with all fields quoted
<?xml version="1.0" encoding="UTF-8"?> <notepad> <note> <from>Anna</from> <to>John</to> <subject>Reminder</subject> <body>Don't forget tomorrow's early 8:30am meeting!</body> </note> </notepad>"from","to","subject","body" "Anna","John","Reminder","Don't forget tomorrow's early 8:30am meeting!"
Required options
These options will be used automatically if you select this example.
Always enclose fields in quotes
info
Pro tips Master online xml tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinexmltools.com/convert-xml-to-csv?input=%3Ccss%3E%0A%20%20%3Cgradient%3E%0A%20%20%20%20%3Ccolor-stop%3Ered%200%25%3C%2Fcolor-stop%3E%0A%20%20%20%20%3Ccolor-stop%3Egreen%2025%25%3C%2Fcolor-stop%3E%0A%20%20%20%20%3Ccolor-stop%3Eyellow%2050%25%3C%2Fcolor-stop%3E%0A%20%20%20%20%3Ccolor-stop%3Ewhite%2075%25%3C%2Fcolor-stop%3E%0A%20%20%20%20%3Ccolor-stop%3Eblack%2075%25%3C%2Fcolor-stop%3E%0A%20%20%3C%2Fgradient%3E%0A%3C%2Fcss%3E&char-delimiter=%2C
dashboard
All xml tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly beautify an XML data structure.
Quickly compress an XML data structure.
Quickly check XML for errors and report them.
Quickly convert an XML document to a JSON document.
Quickly convert a JSON document to an XML document.
Quickly convert an XML document to a CSV document.
Quickly convert a CSV document to an XML document.
Quickly convert an XML data structure to YAML markup.
Quickly convert a YAML document to XML data.
Quickly convert an XML document to a TSV file.
Quickly convert a TSV document to an XML file.
Quickly convert an XML data structure to Base64 encoding.
Quickly decode a Base64-encoded XML data structure.
Quickly convert an XML file to a plain text document.
airport_shuttle
Coming soon These xml tools are on the way
Syntax Highlight XML
Preview an XML data structure in your browser.
XML Editor
Edit XML documents in your browser.
Display XML Statistics
Display detailed information about an XML data structure.
Compare Two XML Files
Diff XML documents and show file differences visually.