JSON to SQL Inserts
Turn a JSON list of objects into CREATE TABLE and INSERT statements. Quotes are escaped for you.
How it works
Turns a JSON list of objects into CREATE TABLE and INSERT statements. Quotes are escaped for you.
Good to know
- Column types are guessed from the values. Check them before you run the SQL.
Common questions
- Which databases work?
- Pick Standard (PostgreSQL and SQLite) or MySQL, which changes how names are quoted.
- What happens to nested objects?
- Lists and objects inside a row are stored as JSON text in one column. Flatten the JSON first if you want separate columns.
- Is it uploaded?
- No. Everything runs in your browser and nothing leaves your device.
More in Data.
ASCII Table
The full ASCII chart with decimal, hex, octal and binary codes. Search by character, number or name.
OPEN →CSV AnalyzerSee what is inside a CSV: each column's type, missing values, unique values, and min, max and average.
OPEN →CSV CleanerTidy a messy CSV: trim spaces, drop empty rows and columns, and even out short rows.
OPEN →