SQL insert statement generator
Generate ready-to-run SQL INSERT statements from a column schema, without touching a real database.
SQL insert statement generator
Describe a table and this tool writes the INSERT statements for you. Name the table, list its columns as "name:type" pairs — id, name, email, uuid, boolean, date or incrementing-date — set how many rows you want, and it generates a complete, ready-to-paste SQL script: one INSERT INTO statement per row, with every value already quoted or left bare correctly.
Each column type maps to a realistic generator. "id" counts up from 1 for a primary key column. "name" and "email" produce plausible fake people (and a matching lowercase email). "uuid" generates a fresh RFC 4122 identifier per row. "boolean" alternates between TRUE and FALSE. "date" picks a random day from a fixed multi-year range, while "incrementing-date" advances one day per row — useful for seeding created_at columns in order. String values are wrapped in single quotes with embedded quotes doubled, so the output is safe to run as-is; numbers and booleans are left unquoted, exactly as a SQL engine expects.
This is a generator, not a converter: it doesn't read an existing CSV or JSON file and doesn't call out to any database to inspect a real schema — it fabricates rows from the shape you describe, which is exactly what you want when you need a few hundred throwaway rows to seed a dev database, populate a demo, or stress-test a migration before running it against real data. If you already have data and want it turned into SQL, use the CSV to SQL converter instead; if you want JSON test data rather than SQL, use the mock JSON data generator.
Everything runs locally in your browser — the schema you describe and the SQL it produces never leave your device, so it's safe to use for internal table names and column structures you'd rather not paste into a third-party service. Copy the result, download it as a .sql-ready .txt file, or tweak the row count and regenerate instantly.