CSV to SQL INSERT

Turn CSV rows into INSERT statements — table name, column mapping, type detection, batch size.

Rows are parsed and rewritten in this browser — nothing is sent anywhere.

Up to 300,000 characters and 20,000 rows. Values are escaped for standard SQL ('' inside strings). Ragged rows are rejected instead of producing malformed statements.

How to use

  1. Paste CSV data.
  2. Set the table name and options.
  3. Copy the INSERT statements.

What it supports

Strings are single-quoted with '' escaping; numbers and empty-as-NULL are unquoted. Quoted CSV fields work. No CREATE TABLE, dialect-specific functions, or binary data. Up to 300,000 characters / 20,000 rows.

Related tools

Related guides