Database & SQL

SQL INSERT Generator

Paste tabular data or a JSON array and get escaped, ready-to-run INSERT statements. Name your table, pick a dialect, and copy the SQL. Everything runs locally in your browser, so your data never leaves the page.

Runs in your browser v1.0.0

Table & options

live
Advanced options
Statement shape

Your data

CSV, TSV, or JSON

Paste a header row plus data, or a JSON array of objects. Blank lines are ignored. Press Ctrl/Cmd + Enter to copy the SQL.

INSERT statements

0 rows


                

How it works

Delimited input is parsed with quote-aware CSV parsing, so embedded commas, doubled quotes, and line breaks inside quoted fields survive. With a header row, each column is named from the header; duplicate or blank headers get safe unique names. JSON input accepts an array of objects, an array of arrays, or an object with columns and rows. In auto mode, numbers stay unquoted, true/false become the dialect’s boolean literal, NULL becomes a SQL NULL, and leading-zero values like ZIP codes stay text so nothing is corrupted. Text values are escaped safely ('' for standard SQL, backslash escaping for MySQL), and identifiers are quoted only when needed. Nothing is uploaded — all processing happens in your browser.