SQL to JSON Converter
Convert SQL INSERT statements to JSON, or switch modes to generate SQL from JSON.
Read a SQL Dump - or Build One - Without a Database
Database exports and API payloads speak two different languages: SQL and JSON. This tool switches between both directions in one place — parse SQL INSERT statements into readable JSON, or turn a JSON array into ready-to-run SQL, without needing a database running to test either direction.
Everything happens locally in your browser. Your SQL statements and JSON data are never uploaded anywhere.
Built for Real SQL Dumps and Real APIs
SQL → JSON correctly handles multi-row INSERT statements, quoted strings with commas or escaped quotes, NULL values, and multiple tables in one paste — the kind of formatting you get from mysqldump, pg_dump, or a database GUI's export feature. JSON → SQL infers sensible column types for an optional CREATE TABLE statement and supports MySQL, PostgreSQL, SQLite, and standard SQL identifier quoting.