Flattening TOML Tables into Rows and Columns
TOML is built for config files: nested tables, typed values, comments. CSV is built for rows. You'd convert when you need to audit dozens of settings in a spreadsheet, compare environments side by side, or hand a dependency list to someone who has never opened a terminal. Arrays of tables, like repeated [[servers]] blocks, map most naturally to CSV rows.
Expect losses. CSV has no types, so integers, booleans and dates all become plain text. Comments disappear. Deeply nested tables have to be flattened, which can produce awkward column names or messy cells. Check the output before trusting it.
What are TOML and CSV?
TOML: fmt.toml
CSV: comma-separated rows that almost every program can import
How it works
- Choose your TOML file.
- Check that CSV is selected and press convert.
- Download your new file. We delete both files automatically.
