Tools

CSV to SQL INSERT

Build INSERT INTO … VALUES from CSV in your browser. Nothing is uploaded or executed.

Text helper only. Nothing is executed against a database.

How to use the CSV to SQL INSERT

  1. Set the table name.
  2. Paste CSV with a header row. Comma, tab, or semicolon.
  3. Copy INSERT. Cap is 500 data rows.

How cells are quoted

Strings get SQL single quotes with '' escapes. Tick unquoted numbers for integer/float columns. Empty as NULL is optional. Clean dates and trims on the CSV cleaner first if the sheet is messy. This is not a migration tool and does not infer types beyond that tick.

Nothing is uploaded

1.5 MB cap. No database connection.

CSV to SQL INSERT FAQ

Who owns the header?

The first row becomes column names. Rename cells if your sheet uses labels with spaces.

Postgres COPY?

That is a different format. This page emits INSERT.

Related tools