Markup Exchange
CSV Input
Root Element
Row Element
Preview
3 XML rows prepared
namerolelocation
Ada LovelaceMathematicianLondon
Grace HopperComputer ScientistNew York
Alan TuringResearcher, CryptanalystBletchley Park
Delimiter
Source
CSV Input
153 characters
XML Output
Rows
3
Columns
3
<?xml version="1.0" encoding="UTF-8"?>
<records>
  <record>
    <name>Ada Lovelace</name>
    <role>Mathematician</role>
    <location>London</location>
  </record>
  <record>
    <name>Grace Hopper</name>
    <role>Computer Scientist</role>
    <location>New York</location>
  </record>
  <record>
    <name>Alan Turing</name>
    <role>Researcher, Cryptanalyst</role>
    <location>Bletchley Park</location>
  </record>
</records>
Output file: XML

How It Works

CSV input uses the first row as column names and writes each data row into a repeated XML element.

XML input reads repeated row elements, flattens nested tags into dot notation, and exports a CSV table.

Quoted cells, multiline values, custom delimiters, and nested XML structures are handled locally in the browser.

Format Foundry

Related Tools