ToolsCandy

JSON to SQL INSERT — Free & Private

Generate SQL INSERT statements from JSON with dialect-aware quoting for PostgreSQL, MySQL, SQLite, and SQL Server. Optional CREATE TABLE from inferred column types.

Your data never leaves your browser

JSON input
SQL output

About this tool

JSON→SQLMulti-dialectCREATE TABLEMulti-row INSERTDownload .sql

How to use

  1. Paste a JSON array of objects.
  2. Set the table name and SQL dialect.
  3. Toggle CREATE TABLE or multi-row INSERT as needed, then copy or download.

Examples

INSERT rows

[{"id":1,"name":"Alice"},{"id":2,"name":"Bob"}]
INSERT INTO users ("id", "name") VALUES (1, 'Alice'), (2, 'Bob');

FAQ