Fake Data Generator — Realistic Mock Data for JSON, CSV, SQL, TypeScript
Generate realistic mock test data with 25+ field types (name, email, phone, UUID, address, company, IPv4, date, enum, and more). Output as JSON, JSONL, CSV, SQL INSERT statements, or TypeScript. Seeded, reproducible, and 100% local — a faker.js-style generator that runs entirely in your browser.
Last updated:
CommentsFrequently Asked Questions
What field types are supported?
Over 25 built-in types: IDs (sequential, UUID v4), personal (first / last / full name, email, username, phone), address (street, city, country), business (company, job title), primitives (integer, float, boolean, enum), dates (date, datetime, ISO timestamp with range), network (IPv4, IPv6, MAC address, URL, user agent), text (Lorem sentence / paragraph), and colors (hex). Each field has type-specific config — e.g. integer min/max, date range, enum choices.
How do I get reproducible data (same output every time)?
Every run uses a numeric seed. Same seed + same field config = identical output, byte for byte. Copy the seed to your clipboard, share it with a teammate, and they'll see the same rows. Click the reset icon next to the seed field to randomize it, or type any integer you like.
Is my data sent to any server?
No. The whole generator — data lists, PRNG, formatter — runs in your browser. You can verify with DevTools Network panel: clicking Generate produces zero network traffic. The tool is safe to use for sensitive schemas (like PII-shaped tables) because nothing ever leaves your device.
What output formats work?
Five formats, one click to switch: (1) JSON array — the most common, use for fixtures / mocks; (2) JSONL / JSON Lines — one object per line, good for BigQuery / streaming ingest; (3) CSV — with correct quoting for values containing commas or newlines; (4) SQL INSERT — one INSERT per row with a configurable table name and proper string / NULL / boolean escaping; (5) TypeScript — a `type Row = {...}` declaration plus a typed array literal you can paste straight into code.
How is this different from faker.js?
Same idea, different constraints. faker.js is a Node / npm library with thousands of locales and edge cases. This tool is a browser-only version with a curated set of ~50 items per category — enough to look realistic for testing without the 500KB bundle. If you need more variety or specific locales (Japanese names, German addresses), install faker directly. For 90% of test-data needs — 'give me 100 fake users I can paste into my Postgres seed file' — this is faster.
Can I customize field types beyond the presets?
Yes. Click 'Add field', pick a type, and set a name. For integer / float, set min / max. For dates, set from / to. For enum, provide a comma-separated list of your own values (like 'admin, member, guest'). Fields can be added, removed, and reordered — the output reflects the row schema you build in real time.
Related Tools
UUID Generator
Generate random UUIDs (v4) and time-ordered UUIDs (v7) online. Bulk generate up to 1000 at once and copy with one click.
UUID v7 Generator
Generate UUID v7 identifiers online (RFC 9562). The first 48 bits encode a Unix millisecond timestamp, so v7 UUIDs sort lexicographically by creation time — dramatically better as a database primary key than v4. Bulk generate up to 1000 and inspect the embedded timestamp for each. 100% local.
NanoID
Generate NanoID strings online — 21 characters, URL-safe alphabet (a-Z, 0-9, -, _), same collision safety as UUID v4 in 40% less space. Bulk generate up to 1000 with custom length. 100% local.
ULID
Generate ULID (Universally Unique Lexicographically Sortable Identifier) strings — 26 characters, 48-bit millisecond timestamp + 80-bit randomness, Crockford Base32. Bulk generate up to 1000. 100% local.
CUID2
Generate CUID2 strings online — a modern, secure, collision-resistant ID format designed for horizontal scale and safe use in URLs, cookies, and databases. 100% local, no dependencies.
Snowflake ID
Generate Twitter Snowflake IDs online — 64-bit integers with 41-bit timestamp, 10-bit worker ID, 12-bit sequence. Preview and inspect how Snowflake IDs are structured. 100% local.