Tested tool guide
Tested browser tools
Checked August 16, 2026
What SQL INSERT to CSV Converter does, with a checked example
Paste one or more INSERT statements and this tool turns them into a CSV file: the column list after the table name becomes the header row, and each VALUES tuple becomes one data row. It handles several statements pasted at once, multi-row VALUES lists, and standard SQL string escaping. The thing most users get wrong: it converts INSERTs only. CREATE TABLE definitions, SELECT queries, and UPDATE statements in the same paste are ignored or rejected, so pasting a full database dump wholesale produces a CSV missing everything that was not an INSERT. The paste is processed entirely in the browser; nothing is uploaded.
Worked example
A concrete input and expected output from the current implementation.
Input
INSERT INTO products (id, name, price) VALUES (1, 'Wireless Mouse', 24.99);
INSERT INTO products (id, name, price) VALUES (2, 'Mechanical Keyboard', 89.50);
->
Expected output
id,name,price
1,Wireless Mouse,24.99
2,Mechanical Keyboard,89.50
The column list after the table name becomes the header row, and each VALUES tuple becomes one data row in column order. Quoted strings lose their quotes, and numeric literals pass through unchanged, so 24.99 and 89.50 appear exactly as written.