SQL Seed Data Generator — Postgres, MySQL, SQLite & SQL Server
Generate CREATE TABLE and INSERT statements with realistic seed data for four SQL dialects.
A SQL seed data generator produces CREATE TABLE and INSERT statements filled with realistic values. Choose a table shape, a row count and a dialect — PostgreSQL, MySQL, SQLite or SQL Server — and column types, identifier quoting and boolean handling are all adjusted to match that dialect.
Runs in your browser- Dialects
- PostgreSQL, MySQL/MariaDB, SQLite and SQL Server, each with correct quoting and types
- Batching
- Up to 1,000 rows per multi-value INSERT, optionally wrapped in a transaction
- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
How are column types chosen?
Why batch the inserts?
How to use the sample sql data generator
- 1Choose the table.
- 2Choose the sql dialect.
- 3Set the rows.
- 4Set the rows per insert.
- 5Choose the locale.
- 6Enter or paste your table name.
- 7Enter or paste your seed.
- 8Turn "Include CREATE TABLE" on or off as needed.
- 9Turn "Add DROP TABLE IF EXISTS" on or off as needed.
- 10Turn "Wrap in a transaction" on or off as needed.
- 11The result appears immediately — copy or download it.
Embed this tool
Put the working sample sql data generator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
SQL FormatterFormat and indent SQL queries for MySQL, PostgreSQL, SQLite, SQL Server and BigQuery.SQL IN Clause BuilderTurn a pasted column of values into a safely quoted SQL IN clause, batched if needed.Mock Data GeneratorGenerate realistic fake test data in 14 formats from 100+ field types, with reproducible seeds.Sample Dataset GeneratorDownload ready-made sample datasets — users, orders, products, transactions — as CSV, JSON, SQL or Excel-ready TSV.Wrap Lines in Quotes or BracketsAdd a prefix and suffix to every line and join them — build SQL IN lists, arrays and CSV rows.Excel to SQL ConverterGenerate CREATE TABLE and INSERT statements from a sheet.
Last updated
More samples & mock data