Dad’s Data formats tools

TOML → CSV Converter

Convert TOML to CSV locally. The root must contain an array of tables; TOML datetimes become ISO-8601 strings.

TOML Input
CSV Output

CSV output will appear here.

Paste, upload, or drop a file in the input panel to get started.

Required TOML structure

CSV is a flat, tabular format. The converter expects your TOML to contain an array of tables at the top level — each table in the array becomes one CSV row, and the table keys become column headers. TOML's [[array-of-tables]] syntax is the idiomatic way to express this.

Input
[[users]]
id = 1
name = "Alice"
email = "[email protected]"
active = true

[[users]]
id = 2
name = "Bob"
email = "[email protected]"
active = false
Output
id,name,email,active
1,Alice,[email protected],true
2,Bob,[email protected],false
Warning: If your TOML root is a plain table (not an array of tables), the converter will fail. Wrap your data in [[table-name]] blocks or restructure it as an array.

Type handling

TOML typeCSV cellNotes
StringvalueUnquoted unless it contains comma or newline
Integer42Rendered as-is
Float3.14Rendered as-is
Booleantrue / falseLowercase string
Datetime2024-01-15T10:30:00ZISO-8601 string
Array(serialised JSON)Arrays stringified — flatten first
Sub-table(serialised JSON)Nested tables stringified — flatten first
null(not supported)TOML has no null — use empty string or omit
Note: TOML datetimes become ISO-8601 strings (e.g. 2024-01-15T10:30:00Z) in the CSV output. Most spreadsheet apps recognise this format and parse it automatically as a date.

Frequently Asked Questions

Your files stay on your computer. Dad promised.

Data formats tools

Search the Data formats tools