Free · No signup · Runs in your browser

Convert TOML to CSV.

Drop a .toml array-of-tables, get a clean CSV in one click. Each [[table]] block becomes a row, keys union into the header. Free, browser-based, nothing uploaded.

To convert TOML to CSV, drop or paste a TOML file — csvtodashboard parses it into rows and columns in your browser, then emits a clean, RFC-4180 CSV with one header row. Fields are comma-separated with quoting only where a value contains a comma, quote or newline, so the file opens cleanly in Excel, pandas or any CSV reader. Nothing is uploaded; the whole conversion runs on your device.

01 · How it works

Three steps, then done.

This converter handles the common tabular TOML shape — a sequence of <code>[[table]]</code> array-of-tables blocks, or a single key holding an array of inline tables. Each block becomes one CSV row, and keys are unioned across blocks (first-seen order) to form the header. String, integer, float, and boolean values are read with their proper TOML escaping; missing keys become empty cells.

i. drop

Drop or paste

Drag a .toml file, click to choose, or paste TOML directly into the input pane.

ii. detect

We read the blocks

Each [[table]] (or inline table) becomes a row; keys are unioned across blocks into a stable header.

iii. use it

Copy, download, or dashboard

Copy the CSV, download it, or hit 'Build dashboard' to see what's in the data.

02 · Why ours

Faithful conversion by default.

Most TOML-to-CSV tools choke on quoting, lose booleans, or scatter empty cells when blocks differ. Ours parses TOML strings (basic, literal, and multiline), keeps numeric underscores and datetimes intact, and unions keys so ragged blocks line up cleanly.

  • 01

    Real TOML parsing

    Basic "..", literal '..', and triple-quoted strings with \n, \t, \uXXXX escapes are decoded correctly.

  • 02

    Local-first

    Your TOML is parsed and converted in your browser — verify in DevTools → Network. Nothing is uploaded.

  • 03

    Union headers

    Blocks with different keys are aligned automatically; missing fields become empty cells, never shifted columns.

  • 04

    One click to dashboard

    Hit 'Build dashboard' and the converted data opens straight in our visualization tool.

"Came for a TOML export. Left with a dashboard. That's the pattern."
— the typical csvtodashboard arc
Good to know

toml to csv notes.

Format-specific details worth knowing before you convert TOML to CSV.

  • Nesting is flattened, not kept

    TOML can nest objects and arrays; converting to CSV flattens them into dot-notation columns (e.g. user.address.city). Every value is preserved, but the hierarchy is not.

  • Quoting only when needed

    Fields containing a comma, quote or newline are wrapped in double quotes (with internal quotes doubled), per RFC 4180; everything else stays bare.

  • Excel's leading-zero trap

    CSV is plain text, so a code like 007 is preserved in the file — but Excel may strip the zero on open. Import the column as text if that matters.

  • One header, even columns

    The first row is the header and every row carries the same column count, so spreadsheets and parsers never misalign.

03 · FAQ

toml to csv questions.

What TOML shapes are supported?
The common tabular shapes: a sequence of [[table]] array-of-tables blocks (one row each), a single [table] (one row), and a top-level key holding an array of inline tables (e.g. rows = [ { a = 1 }, { a = 2 } ]). Keys are unioned across blocks to build the header.
Strings use TOML escaping — basic ".." with \n, \t, \", \\, \uXXXX, literal '..' with no escaping, and triple-quoted multiline strings. Integers and floats keep their value (underscores like 1_000 are stripped), booleans stay true/false, and dates/datetimes are passed through verbatim.
Arrays are serialized compactly (e.g. ["new","sale"]) and inline tables are flattened to key=value; key=value text within a single cell, so every block stays one flat CSV row.
Yes. Output follows RFC 4180 — any field containing a comma, double-quote, or newline is wrapped in double-quotes with internal quotes doubled, so the CSV opens cleanly in Excel, Sheets, or any parser.
No. The entire conversion runs client-side in your browser using plain JavaScript. Your TOML never leaves your device — you can confirm this in your browser's Network tab.