Random SQL INSERT Generator (Postgres/MySQL/SQLite)

Generate SQL INSERT statements from a table schema.

Runs locally in your browser. Do not include real personal data in schemas. Share URLs contain settings only (no SQL output).

Generated SQL is for testing. Validate safety in your own environment.

Not for secrets. For secure strings, use the Token generator or Password generator.

Other languages 日本語 | English | Español | Français

Why this SQL INSERT generator?

Quick presets

Load a preset table to start quickly.

Generate

Random SQL INSERT generator

Define a table schema, then generate INSERT statements as SQL.

Schema (columns)
Name Type Params Null rate Unique Order Actions
More

Preview


            

Preview shows the first 20 lines.

Output

Copy or download the full SQL output.

Dialect notes

How to use Random SQL INSERT Generator well

Start by fixing the table name, SQL dialect, and row count. Once that baseline looks right, adjust one option at a time so you can tell whether changes come from insert mode, quoting, or random generation.

Choose the table shape first

Define column names and data types before you worry about file size. The preview is most useful when the schema already matches the table you expect to import.

Pick the INSERT mode for your next step

Use multi-row INSERTs when you want smaller files and faster imports. Use single-row INSERTs when you need clearer diffs, line-by-line debugging, or compatibility with stricter loaders.

Decide quoting and seeded mode deliberately

Turn on quoted table and column names when your schema uses reserved words, mixed case, or dashes. Use seeded mode only when you need reproducible test fixtures; secure mode is better for less predictable samples.

Preview before you export

See also

FAQ

Is my data uploaded?

No. Everything runs locally in your browser.

What does quote table/column names do?

It wraps table and column names in quotes so reserved words, mixed case, or dashes are handled correctly.

Is seeded mode secure?

No. Seeded mode is for reproducibility only.

When should I use multi-row vs single-row INSERT mode?

Use multi-row when you want smaller files and faster imports. Use single-row when you need easier diffs, line-by-line debugging, or compatibility with a loader that expects one INSERT per row.

What is included in the share URL?

The share URL stores settings only, such as dialect, row counts, schema, and optional seed flags. It never includes generated SQL output.

Import schema JSON

Paste schema JSON here. Nothing is uploaded.