How to use
This tool converts a copied Excel range (usually tab-delimited) or CSV text into XML.
- Copy rows from Excel and paste into the input box (or paste CSV).
- Set Root tag (container) and Row tag (each record).
- Choose delimiter (Auto is fine for most cases) and whether the first row is a header.
- Click Generate XML, then copy or download.
FAQ
Does this tool read .xlsx files directly?
No—paste the table from Excel (TSV) or paste CSV text. This keeps it fast and fully local.
What delimiter should I use for Excel copy/paste?
Excel copy is usually tab-delimited (TSV). Use Auto or choose Tab.
How are XML tag names created from headers?
Header cells become element names, with spaces/invalid characters replaced and leading digits prefixed (for valid XML names).
Will special characters like & and < be escaped?
Yes, output is XML-escaped so it stays well-formed.
What happens if a cell is empty?
By default it becomes a self-closing element (e.g., <tag/>). You can also choose “Skip empty cells”.
Can I generate one XML element per row?
Yes—set the Row tag (e.g., person) and each line becomes one <person> element.
Is any data sent to a server?
No. Conversion runs in your browser and the script makes no network requests.