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
Rows: 0
Columns: 0
Array key: —
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
- Paste your TOML text into the input panel on the left.
- The tool automatically detects the first top-level array of tables.
- Column headers are derived from all unique keys across the records.
- A CSV preview is rendered in the output panel with alternating row colors.
- Click "Download CSV" to save the file to your computer.
- 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