TOML to CSV Converter

Paste TOML with an array of tables and download the result as a CSV file — no server, no upload.

Use the TOML to CSV Converter

Paste TOML on the left to see the CSV preview

Copied!

Summary

This tool parses a TOML document in your browser and extracts the first top-level array of tables, converting each record into a CSV row. The header row is derived from all unique keys across the records. All processing happens client-side using the @iarna/toml library — your data never leaves the browser.

How it works

  1. Paste your TOML text into the input panel on the left.
  2. The tool automatically detects the first top-level array of tables.
  3. Column headers are derived from all unique keys across the records.
  4. A CSV preview is rendered in the output panel with alternating row colors.
  5. Click "Download CSV" to save the file to your computer.
  6. Use "Copy CSV" to copy the raw CSV text to your clipboard.

Use cases

  • Convert configuration files (e.g., Cargo.toml dependency lists) to spreadsheets.
  • Export TOML-based dataset files for import into Excel or Google Sheets.
  • Quickly inspect structured TOML data in a tabular format.
  • Transform CI/CD pipeline TOML configs into auditable CSV reports.
  • Migrate data stored in TOML to databases that accept CSV imports.
  • Preview TOML records without installing any local tooling.

Frequently Asked Questions

Last updated: 2026-05-28 · Reviewed by Nham Vu