JSON to SQL INSERT
Turn an array of JSON objects into SQL INSERT and CREATE TABLE statements.
Your input is processed locally in this browser tab.
How to use JSON to SQL INSERT
Paste a JSON array of objects (or upload a .json export) with JSON input preselected.
Choose target SQL dialect, batch size, and optional CREATE TABLE statement.
Copy or download the batched INSERT SQL.
Frequently asked questions
What if different JSON objects have slightly different keys?
The union of keys across all rows becomes the column list, filling missing cells cleanly with NULL.
How are booleans serialized across SQL dialects?
PostgreSQL and MySQL use TRUE/FALSE while SQLite and T-SQL use 1/0.