Private file tool · SQL text

Extract rows from INSERT statements as text

Read a limited INSERT INTO … VALUES file, choose a table, and download its rows without connecting to a database.

Files stay in your browser. No uploads or sign-in.

Import files

SQL text
Source file

Choose a file on this device.

inserts.sql

SQL INSERT to CSV Converter

Example and result

The example uses fixed teaching data. Your imported file stays in the workspace above.

Input

INSERT INTO items (sku,qty)
VALUES ('00123',7);

Output

sku,qty
00123,7

The header comes from the explicit column names. The SKU keeps its original characters.

Usage steps

  1. Import INSERT text with explicit column names.
  2. Check the column order and make sure the NULL marker does not match any real value.
  3. Check the preview and download the full CSV.

Capabilities and limits

ItemDescription
InputINSERT text with explicit columns and supported VALUES
OutputCSV
Key limitationSQL is parsed as text. SELECT and unsupported statements block the entire export.
How the file is handledFiles are processed in this browser tab. The amount you can handle depends on the device memory.

FAQ

Does the tool connect to a database?

It reads SQL as plain text without connecting to a database.

Does the tool support SELECT statements?

The input must contain INSERT statements with explicit columns and supported VALUES. SELECT is not supported.

What if the file includes an unsupported statement?

The entire file is rejected. A partial result is not exported.

How is NULL written to CSV?

Choose a marker that does not match any value present in the data.

Related tools

Related guides