🗃️
JSON to SQL
Generate SQL CREATE TABLE and INSERT statements from JSON. Supports PostgreSQL, MySQL, and SQLite.
JSON Input
SQL Output
SQL output will appear here...
How to Use
- Paste your JSON array in the left panel
- Select your SQL dialect (PostgreSQL, MySQL, SQLite)
- Customize table name and options
- Copy or download the generated SQL
- Review the inferred schema below
Features
- ✓PostgreSQL, MySQL, and SQLite support
- ✓Automatic type inference
- ✓CREATE TABLE generation
- ✓INSERT statement generation
- ✓NULL/NOT NULL detection
- ✓Primary key support
- ✓Date/timestamp detection
- ✓Download as .sql file