Generate production-ready single-row and bulk multi-row SQL INSERT statements from manual data tables, CSV spreadsheets, and JSON objects for MySQL, PostgreSQL, MS SQL, SQLite, and MariaDB.
Paste comma, tab, or pipe-delimited data below. Header names will automatically map to SQL columns.
Paste a standard JSON array of objects. Keys are converted into table columns and objects into rows.
| Database Engine | Identifier Quote | Multi-Row Syntax | Conflict / Ignore Option | Generated Identity Return |
|---|---|---|---|---|
| `table` (Backtick) | VALUES (...), (...) | INSERT IGNORE / ON DUPLICATE KEY UPDATE | LAST_INSERT_ID() / RETURNING (MariaDB) | |
| "table" (Double quote) | VALUES (...), (...) | ON CONFLICT (col) DO NOTHING / UPDATE | RETURNING * / RETURNING id | |
| [table] (Square bracket) | VALUES (...), (...) (Max 1,000) | MERGE INTO (Upsert) | OUTPUT INSERTED.* | |
| "table" (Double quote) | VALUES (...), (...) | INSERT OR IGNORE / ON CONFLICT | RETURNING id (SQLite 3.35+) | |
| "TABLE" (Double quote) | VALUES (...), (...) (12c+) | MERGE INTO | RETURNING id INTO :var |
Select MySQL, PostgreSQL, MS SQL, or SQLite, and specify your table and optional schema name.
Type records directly into the interactive spreadsheet grid, or paste CSV or JSON data.
Set column data types, NULL toggles, primary keys, and auto-increment identity handling.
Export multi-row batch or single-row INSERT statements to your clipboard or download a `.sql` file.