From Nested Objects to Flat Rows: Making JSON Behave in a Table
You exported records from an API, a NoSQL store, or a config dump, and now they need to live in MySQL, PostgreSQL, or SQLite. Writing hundreds of INSERT statements by hand is how afternoons disappear. Converting turns each JSON object into a row of SQL you can run straight against your database.
The catch: JSON is nested, SQL tables are flat. Arrays and deep objects may get flattened, stringified, or skipped, and types like dates arrive as plain strings. Check the column names, data types, and NULLs before you run anything on production. A quick test on a scratch database saves real pain.
What are JSON and SQL?
JSON: structured data used by most web applications
SQL: fmt.sql
How it works
- Choose your JSON file.
- Check that SQL is selected and press convert.
- Download your new file. We delete both files automatically.
