SQL to CSV Converter
Paste INSERT statements to extract their rows into CSV. Supported syntax includes multi-row VALUES, quoted strings with '' escapes, NULL, and Unicode.
How to use
- Paste your INSERT statements into the SQL input.
- Choose the output delimiter and header option.
- Click Convert to CSV, then copy or download the result.
Frequently asked questions
- Which SQL statements are supported?
- Only INSERT statements, including multi-row VALUES clauses and multiple sequential INSERT statements. SELECT, UPDATE, DELETE, and DDL are not parsed.
- Is the SQL executed?
- No. The tool tokenises the text and reconstructs rows. It never connects to a database or runs any statement.
- What happens to NULL values?
- NULL cells become empty CSV fields. TRUE and FALSE become the literal strings true and false.
- How do I handle multiple tables?
- The tool requires a single table per conversion. If more than one table is detected, it reports this explicitly rather than mixing rows.