Bytelify

SQL to CSV Converter

Convert SQL INSERT statements to CSV, live as you type.

100% private, runs in your browser
CSV (2 rows)
id,name,role
1,Ada,Engineer
2,Grace,Engineer

Parses INSERT INTO table (columns) VALUES (...), (...) statements — reads column names from the statement itself, not from a separate CREATE TABLE. Not a full SQL parser: complex expressions inside VALUES (function calls, subqueries) aren't evaluated. Converts live as you type, entirely in your browser.

What is SQL to CSV Converter?

Paste one or more SQL INSERT INTO ... VALUES statements and get a CSV file instantly — column names are read straight from the statement itself, and multiple value tuples in a single statement each become their own CSV row. Not a full SQL parser: complex expressions inside VALUES (function calls, subqueries) aren't evaluated, so it works best on literal values (strings, numbers, booleans, NULL) rather than computed ones. This is handy for turning a database seed script, a support ticket's data dump, or a migration's INSERT statements into a spreadsheet-friendly CSV without spinning up a real database to run the query. Conversion happens live as you type, with a download button for the resulting file and a live row count so you can confirm every statement parsed. Everything runs entirely in your browser; nothing you paste is sent to a server.

FAQ

No — column names come from the INSERT statement's own column list, e.g. INSERT INTO users (id, name) VALUES (...).

Yes — paste as many statements as you like, and a statement with several comma-separated value tuples (one INSERT, multiple rows) is fully supported too. Each row becomes its own line in the CSV.

This isn't a full SQL parser, so expressions like NOW() or a subquery aren't evaluated — stick to literal values (strings, numbers, booleans, NULL) for reliable results.