Mock SQL Rows Generator

Ready-to-run INSERT statements with realistic fake data for any table

Ad placeholder (leaderboard)

Generate seed data without hand-typing rows

The Mock SQL Rows Generator turns a quick table definition into a block of ready-to-run INSERT statements filled with realistic fake data. Instead of writing seed rows by hand, you declare each column and its type, pick a SQL dialect, and copy out as many rows as you need to populate a development or staging database.

How it works

You build a lightweight schema in the browser: a table name plus a list of columns, each with a chosen type. For every requested row the tool walks your columns and emits an appropriate value — an incrementing integer for an auto id, an RFC 4122 version-4 string for a uuid, a name drawn from a curated pool for full name, and so on. String values are wrapped in single quotes with any internal quote doubled (O'Brien becomes 'O''Brien'), which is the SQL-standard way to escape literals and keeps the output safe to run.

Identifier quoting follows the dialect you select: MySQL uses backticks around table and column names, while PostgreSQL and SQLite use double quotes. You can emit one compact multi-row INSERT or a separate statement per row. A seeded random source keeps results reproducible until you press Reshuffle.

Tips and notes

  • Put your primary key first as an auto id column so the rows number cleanly from 1.
  • Use the datetime type for created_at and updated_at columns — values come out in YYYY-MM-DD HH:MM:SS form that all three dialects accept.
  • For large seeds, the single multi-row mode is faster to execute than hundreds of individual statements.
  • Everything runs locally, so you can safely paste real internal table and column names without leaking anything.
Ad placeholder (rectangle)