Free · No signup · Browser-based

Convert SQL to CSV.

Paste SQL INSERT statements (with or without column lists), get a clean CSV. Handles string literals with escaped quotes, NULL, and numeric values.

01 · How it works

Three steps, then done.

Lots of SQL dumps end up needing to be a CSV — for spreadsheet review, BI tooling, or just data inspection. This converter parses practical INSERT statements (the most common shape) and extracts their VALUES tuples into CSV rows. Complex DDL or stored procedure dumps are out of scope; the converter focuses on the INSERT-only flow.

i. drop

Drop or paste

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

ii. detect

We read the shape

Types are inferred so the output is correctly formatted — not strings everywhere.

iii. use it

Copy, download, or dashboard

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

02 · Why ours

Smart CSV conversion by default.

Free CSV converters often produce sloppy output — every value quoted, types lost, errors swallowed. Ours infers types where it can, fails loudly when it can't, and pairs the conversion with a one-click path to a dashboard.

  • 01

    Correct types

    Numbers, booleans and dates are detected as you import, so the CSV (and any dashboard built from it) treats them correctly — not everything as text.

  • 02

    Local-first

    Your file is parsed and converted in your browser — verify in DevTools → Network. Nothing is uploaded, logged, or stored.

  • 03

    Fails loudly

    Malformed input gives a clear, specific error instead of silently wrong output — so you can trust what comes back.

  • 04

    One click to a dashboard

    Every conversion keeps a tabular copy, so you can send the data straight to our visualization tool to chart it.

"Needed a conversion. Ended up with a dashboard. That's the pattern."
— the typical csvtodashboard arc
03 · FAQ

sql to csv questions.

What SQL is supported?
INSERT INTO table (col1, col2, …) VALUES (v1, v2, …), (v1, v2, …); and INSERT INTO table VALUES (v1, v2, …); plus multi-row VALUES blocks. The first INSERT's column list determines the headers.
Yes — single-quoted strings with '' as the escape for an embedded quote (standard SQL). Double-quoted identifiers are accepted as strings.
NULL becomes empty cells; TRUE/FALSE keep as text; function calls like NOW() are kept as bare text (no execution).
Only the first INSERTed-into table contributes to the output. INSERTs for other tables in the same dump are ignored — split the dump first if you need multiple CSVs.
Complex CREATE TABLE statements, triggers, stored procedures, and database-specific extensions are ignored. The parser focuses on practical INSERT extraction.