Paste an array of JSON objects, such as an API response or an export from MongoDB or Firebase, and get INSERT statements plus a CREATE TABLE. Columns come from every key that appears in any object, missing keys become NULL, and nested objects or arrays are stored as JSON text (JSONB in PostgreSQL, JSON in MySQL).
1 writes one statement per row.
3 rows in 1 INSERT. Columns: id INTEGER, name TEXT, city TEXT, amount NUMERIC, paid BOOLEAN, tags JSONB
SQL generation runs in your browser. What you type never leaves this device.
Columns are the union of keys across all objects, in the order they first appear
Real JSON types are kept: numbers stay numbers, true/false become booleans, null stays NULL
Nested objects and arrays go into a JSONB, JSON or NVARCHAR(MAX) column as JSON text
Accepts a bare array, a single object, or a wrapper like {"data": [ ... ]}
Batch size, transaction wrapping and identifier quoting per database
Clear error messages with the parser's reason when the JSON is invalid
Copy a list of orders or users from Postman or your browser's network tab and load it into a local table to query it with SQL.
Export a collection from MongoDB or Firestore as JSON and create a first relational table from it, nested fields included.
Keep test fixtures as readable JSON and generate the SQL to load them when the test database starts.
Each object in the array becomes a row and each key becomes a column. If the second object has a key the first one lacks, the column is still created and earlier rows get NULL for it.
If you would rather have address.city as its own column than a JSON blob, flatten the objects to dot-path keys first, then convert.
SQL INSERT Generator
Batched INSERTs for PostgreSQL, MySQL, SQLite and SQL Server from CSV or JSON
CSV to SQL
INSERT statements and CREATE TABLE from a CSV or Excel export
JSON Formatter
Format and validate JSON
JSON Schema Generator
Generate JSON Schema or TypeScript interfaces from JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.