FileGizmo — Data & CSV tools

Convert CSV and XML

Convert tabular CSV rows to XML or compatible XML records back to CSV without uploading data.

Never uploadedYour file stays on this device
Drop your CSV or XML here or click to choose a file CSV or XML file · processed on this device

Simple by design

CSV and XML converter in three steps

FileGizmo converts CSV tables to record-based XML and compatible XML records back to CSV entirely in your browser. For CSV to XML, choose a root element and repeating record name; column headers become child elements and reserved XML characters are safely encoded. For XML to CSV, enter the repeating record path used by the source file. The worker discovers the union of record fields and creates a flat UTF-8 table.

XML can represent nested trees while CSV is inherently rectangular, so no converter can preserve every XML document as a natural spreadsheet. FileGizmo keeps simple child values and attributes, while nested objects or repeated inner values are serialized as compact JSON text rather than silently dropped. Namespaces, schemas, comments, and presentation details are not recreated in CSV. Invalid XML produces a clear parsing error before any output is offered. The selected file stays on the device, and the XML parser is bundled only with this data workflow. Always inspect a preview before importing the converted file into production software, especially when the source uses complex namespaces or deeply nested records.

  1. 1

    Choose a CSV or XML file and direction

  2. 2

    Set record and root names when creating XML

  3. 3

    Convert preview and download

Good to know

Frequently asked questions

What XML structure can be converted to CSV?

Select a repeating record element whose child values become CSV columns.

Are XML attributes supported?

Simple attributes are exposed with an @ prefix when converting records to CSV.

How are nested XML values handled?

Nested objects are serialized as compact JSON text so data is not silently discarded.

Does conversion send data to a server?

No. CSV and XML parsing happen in a dedicated browser worker.