SQL INSERT Generator
Convert CSV / TSV / JSON into INSERT INTO statements — multi-row VALUES or one statement per row.
Generated SQL (3 rows)
Output styles
- One per row — easiest to diff, slowest to load
- Multi-row VALUES — one INSERT, many tuples (MySQL / PostgreSQL / SQLite)
- Per-row, with column list — most explicit; survives column re-ordering
Type handling
Numbers are emitted bare. Booleans become TRUE/FALSE. Empty cells become NULL when the column allows it; otherwise an empty string. Everything else is single-quoted with ' escaped per ANSI.
You might also like
- SQL Result → Table PreviewPaste CSV, TSV, pipe-delimited, or JSON results and preview them as a styled table with inferred column types.
- CSV ↔ JSON ConverterConvert CSV to JSON or JSON to CSV with quoted fields and configurable delimiters.
- JSON → Code ObjectRender a JSON sample as a literal in JS, TS, Python, PHP, Ruby, Go, Rust, and Java side by side.
- JSON → Struct / ClassGenerate typed declarations from JSON in TypeScript, Python @dataclass, PHP class, Ruby Struct, Go struct, Rust serde, and Java POJO.