SQLite Fake Data Generator
Generate dummy rows as SQLite INSERT statements, with a matching CREATE TABLE. Pick fields or paste a JSON Schema.
Define your fields above and hit Generate
Example output
CREATE TABLE "users" (
"id" TEXT,
"full_name" TEXT,
"email" TEXT,
"city" TEXT,
"is_active" INTEGER,
"created_at" TEXT
);
INSERT INTO "users" ("id", "full_name", "email", "city", "is_active", "created_at") VALUES
('1fd591a5-5319-4e6c-9706-962b382eed3c', 'Hiroshi Lewis', 'elizabeth.martin3@mail.com', 'Seoul', 0, '2025-03-11T14:41:45.387Z'),
('06cad7d7-4479-4793-b556-fef376ef0235', 'Margaret Moore', 'robert.andersen48@demo.io', 'Dubai', 0, '2025-11-27T01:34:30.998Z'),
('31fc0766-e696-4493-8a4a-1faaab0df0cf', 'Betty Taylor', 'elizabeth.thompson66@mail.com', 'Sydney', 1, '2025-10-27T07:10:59.172Z');Loading it
sqlite3
sqlite3 app.db < mock-data.sql
Node
import { DatabaseSync } from "node:sqlite";
import { readFileSync } from "node:fs";
new DatabaseSync("app.db").exec(readFileSync("mock-data.sql", "utf8"));How the SQLite output is built
- →Columns use SQLite's type affinities: TEXT, INTEGER, REAL, and TEXT holding JSON for nested values.
- →Booleans become 0 and 1, and dates ISO 8601 text, which SQLite's date functions read directly.
- →The statements are valid for sqlite3, better-sqlite3, node:sqlite, Python's sqlite3 module and libSQL / Turso.
Frequently asked
How do I load the SQL into an SQLite database?
Run sqlite3 app.db < mock-data.sql. The database file is created if it doesn't exist.
Can I use this for seeding tests?
Yes. Set a seed so every test run gets the same rows, then execute the file in your test setup, or generate JSON and insert through your ORM.
Everything is generated in your browser. Need the data in another shape? Convert it with CSV ↔ JSON, or describe its structure first with the JSON Schema Generator.