JSON to SQL Converter

Generate INSERT INTO Statements • MySQL, PostgreSQL, SQLite, SQL Server

Convert JSON to SQL INSERT
Output updates live as you type or change settings
About
Notes on Escaping & Types
Contact

About JSON to SQL Converter

This tool converts JSON data — especially an array of objects, like rows exported from an API — into SQL INSERT INTO statements ready to run against a database. It supports MySQL, PostgreSQL, SQLite, and SQL Server identifier quoting styles, can generate either one multi-row insert or a separate statement per row, and can optionally generate a starter CREATE TABLE statement with column types inferred from your data. All conversion happens locally in your browser; your data is never uploaded to a server.