Paste a CSV into the Quick paste box. Each line becomes an XML element and each column becomes a tag named after the header. Set the root and row tag names, then copy or download.
Runs entirely in your browser. Your data is never uploaded. Tiếng Việt
XML is still required by many accounting systems, internal importers and data exchange gateways, and a plain CSV is too bare for them. The real problem is tag names. A column header such as Start date contains a space, which an XML tag name cannot have, so the tool replaces spaces with underscores and the column becomes Start_date. The rest is choosing names that your receiver expects.
Quick paste box and press Load into table ↵, or use Import file with a .csv file.⚙ Options. Fill in the root tag name and the row tag name, and keep the header-as-tag option on if you want tags named after columns.Copy result or Download file to get the .xml file.Each CSV line became a member element holding one child tag per header. The Start date column became Start_date: only the space changed, and the header row is no longer part of the data.
Name,Team,Salary,Start date
Mai Tran,Design,2400,2024-03-01
Hugo Lee,Engineering,3200,2023-08-15
Nora Vo,Sales,2150,2025-01-06<?xml version="1.0" encoding="UTF-8"?>
<staff>
<member><Name>Mai Tran</Name><Team>Design</Team><Salary>2400</Salary><Start_date>2024-03-01</Start_date></member>
<member><Name>Hugo Lee</Name><Team>Engineering</Team><Salary>3200</Salary><Start_date>2023-08-15</Start_date></member>
<member><Name>Nora Vo</Name><Team>Sales</Team><Salary>2150</Salary><Start_date>2025-01-06</Start_date></member>
</staff>cell tag and keeps the header row, which helps when headers cannot be used as tag names._, and characters not allowed in a tag name are replaced as well. Read the tag names back to make sure they match the receiver's schema._2, _3 suffix so the tags do not collide. Rename the column in the grid to something meaningful rather than keeping the automatic suffix._2024. You can rename it to something like Year2024 for clarity.Tag names keep their accents; only spaces turn into underscores. The system that receives the file must support UTF-8.
Turn off the header-as-tag option. The tool then uses a generic cell tag and keeps the header as a row.
No. The tool writes child tags holding text and does not write attributes.
Yes, though attributes are ignored and nested tags are read as a block of text. See the XML to CSV page.
No. Everything happens in your browser.