tsv ↔ xml Converter

Run tsv ↔ xml Converter using the supplied input and options.

CSV has header row. XML conversion uses root/item with attributes under @attributes; mixed content is rejected. Reverse conversion is not always lossless.

Your workbenchInputs are not stored

Result

Enter your values and run the tool to see your result.

What this tool does

Converts between TSV and XML. The header row becomes element names and each row becomes a record element.

How to use it

  1. Paste the data.
  2. Choose the direction.
  3. Run it and check the element names are valid XML.

Worked example

A two-line TSV with name and value headers converts into an XML record with those two child elements.

Frequently asked questions

Spaces in column names cause errors.
XML element names cannot contain spaces. Rename headers using letters and underscores before converting.
What about empty columns?
They become empty elements. Check that column positions survive the round trip.

What this tool does not cover

Input is processed in your browser. Namespaces and attributes are not handled.

References