Skip to content
IEDE Data processing & engineering
  1. Home
  2. Tools
  3. JSON to SQL
Runs in your browserData

JSON to SQL converter

Paste a JSON array of objects; the SQL is generated in your browser.

Runs locally — nothing is uploaded
Result
Nothing yet — enter data or press Example.

How to use

  1. 1Paste a JSON array of objects (or an object holding one such array).
  2. 2Set the table name and choose the dialect.
  3. 3Choose how many rows go into each INSERT.
  4. 4Check the inferred types, then copy the SQL.

From all rows: integers → INTEGER or BIGINT, decimals → DOUBLE/REAL (NUMERIC or DECIMAL beyond 15 digits), true/false → BOOLEAN, ISO dates and timestamps → DATE/TIMESTAMP, objects and arrays → JSON, mixed values → text.

A column named id whose values are present and unique in every row.

Single quotes are doubled, and for MySQL backslashes are escaped too. Identifiers that are reserved words or contain special characters are quoted.

No, the SQL is generated in your browser.

Messy data?

Send a sample — we reply within one business day with an approach and a quote.