What does this tool do?
Paste a JSON array of objects below to generate a SQL INSERT statement. Everything runs locally using JavaScript in your browser — nothing you paste or upload is ever sent to a server.
How to use this tool
- Paste your your json into the left-hand box.
- Fill in the table name field above the input.
- Click Convert to SQL.
- Copy the sql output from the right-hand box.
Frequently asked questions
How do I set the table name?
Enter it in the table name field above the input — it's used directly in the generated INSERT INTO statement.
What JSON structure does this expect?
An array of flat objects — each object becomes one row (value tuple) in the generated INSERT statement, with the union of all keys used as the column list.
How are strings and special characters escaped?
String values are wrapped in single quotes with any internal quotes doubled, following standard SQL string-escaping rules.
