Your files stay on your device

# SQL INSERT to CSV / JSON

Paste INSERT statements and get their rows back as CSV, TSV, JSON, JSONL, Markdown, or an HTML table. Any number of statements is fine; they are parsed in this tab ('' escapes, NULL, numbers, booleans), never executed.
Loading editor…Loading editor…

The SQL is read, never run. Comments are skipped. Functions, DEFAULT, and subqueries aren't supported and the error names them. NULL and '' both become empty cells in CSV and TSV.
OptionsDownload .csv

## More config file tools

- [CSV → SQL](/config/csv-to-sql)
- [JSONL / NDJSON](/json/jsonl)
- [CSV studio](/config/csv)
[All config file tools](/config)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/config/sql-to-csv
Markdown version: https://nutter.tools/config/sql-to-csv.md
Plain-text version: https://nutter.tools/config/sql-to-csv.txt
Agent index: https://nutter.tools/llms.txt

