Running on your device · 0 bytes uploaded

CSV to SQL INSERT generator

Turn pasted CSV into INSERT statements — header row becomes the column list, quotes double per standard SQL, empty cells are NULL by your choice. Statements are generated, never run.

CSV
First row is the header; CSV quoting rules honored
Options
What this tool does not do
  • Generated, never executed — no database connection exists here, and none will.
  • Every value is a quoted string or NULL; the tool cannot know your column types. Cast in the INSERT or fix types on import.
  • Backslash escapes are not assumed — '' doubling only, the PostgreSQL/MySQL-strict dialect. MySQL’s default backslash mode would need a rewrite.
Nothing in yet

Paste, drop, or type to begin. Everything stays on this device.

CSV + table name in, INSERTs out