Skip to content
Convertto

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?

They are inferred from the generated values. Whole numbers become INTEGER, decimals become NUMERIC or DECIMAL, ISO timestamps become TIMESTAMPTZ or DATETIME2, and strings become VARCHAR sized to fit or TEXT when long.

Why batch the inserts?

A single multi-value INSERT is dramatically faster to load than one statement per row, because the database parses and commits once instead of thousands of times. For seeding a few thousand rows the difference is seconds versus minutes.

How to use the sample sql data generator

  1. 1Choose the table.
  2. 2Choose the sql dialect.
  3. 3Set the rows.
  4. 4Set the rows per insert.
  5. 5Choose the locale.
  6. 6Enter or paste your table name.
  7. 7Enter or paste your seed.
  8. 8Turn "Include CREATE TABLE" on or off as needed.
  9. 9Turn "Add DROP TABLE IF EXISTS" on or off as needed.
  10. 10Turn "Wrap in a transaction" on or off as needed.
  11. 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

Last updated

More samples & mock data