Category: Developer tools

SQL INSERT to CSV converter

System ideaMissing a tool?

Parse SQL INSERT statements into CSV rows

Parse INSERT INTO ... VALUES statements into CSV rows locally, including quoted strings, numbers, and NULL.

SQL error: Unsupported value: true

CSV
The result will appear here.

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

Paste one or more INSERT INTO ... VALUES statements, parse quoted strings, numbers, and NULL, and copy the CSV result locally in your browser. When column names are omitted, the tool creates col1, col2, and so on; functions, expressions, and sub-selects are reported as unsupported. It does not execute SQL, process files or batches, or provide accounts, cloud storage, server processing, or external integrations.

How to use it

  1. Paste one or more INSERT INTO ... VALUES statements or load the example.
  2. Review the parsed row count and any error message.
  3. Copy the CSV result.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

Which SQL INSERT statements can this tool convert?
It parses one or more INSERT INTO ... VALUES statements with quoted strings, numbers, and literal NULL values, then outputs their rows as CSV.
How are NULL values written in the CSV?
A literal NULL is represented as an empty CSV field; quoted text and numbers are preserved as values.
What happens when an INSERT has no column names?
The tool creates col1, col2, and so on based on the number of values in each row; statements with columns use those names.
Is my SQL input or CSV output uploaded?
No. Your input, settings, and result stay in the browser and are not uploaded to LocalTools.
What does this SQL INSERT to CSV converter not support?
It does not execute SQL or process functions, expressions, or sub-selects; it also does not import files or batches or provide accounts, cloud storage, server processing, or external integrations.