JSON & Data

Mock Data Generator (JSON & CSV)

Generate realistic synthetic datasets in JSON, CSV, or SQL INSERT format locally.

Runs 100% locally in your browser

Schema Fields (6)

Chain mock dataset to:

What Does the Mock Data Generator (JSON & CSV) Do?

The Mock Data Generator synthesizes structured, realistic test fixtures from a customizable column schema without relying on external APIs or uploading your table definitions.

Choose from 14 engineering-focused data types—including UUID v4, auto-increment IDs, full names, work emails, usernames, companies, roles, countries, IPv4 addresses, ISO 8601 timestamps, USD amounts, booleans, statuses, and HTTP methods.

Switch seamlessly between pretty-printed JSON arrays, RFC 4180 CSV spreadsheets, and ready-to-run SQL INSERT statements, or chain your mock dataset directly into JSON → TypeScript.

How to Use This Tool

  1. Pick a starter preset (SaaS Users, E-Commerce Orders, or API Gateway Logs) or customize columns using 'Add Column'.
  2. Set the desired row count (1 to 250) and select JSON Array, CSV Table, or SQL INSERT output.
  3. Click 'Regenerate' for fresh values, copy/download the dataset, or send it directly to JSON → TypeScript.

Common Engineering Use Cases

  • Populating UI tables, pagination states, and chart prototypes before backend endpoints are ready.
  • Creating deterministic seed scripts for local PostgreSQL/SQLite development databases or automated integration tests.
  • Testing CSV import pipelines with realistic multi-column records.

Practical Developer Examples

Generating SQL Seed Rows for Local Integration Tests

Export synthetic records directly as a multi-row SQL INSERT statement.

Input
Table: users, Columns: id (id_increment), email (email), status (status), Rows: 2
Output
INSERT INTO users (id, email, status)
VALUES
  (1, 'ada.lovelace1@summitcloud.io', 'active'),
  (2, 'linus.torvalds2@northstar.dev', 'active');

Common Mistakes & Pitfalls to Avoid

  • Testing frontend UI layouts against production customer PII instead of synthetic mock data.
  • Hardcoding a single repeated dummy row in UI tests, which hides sorting, filtering, and text-truncation bugs.

Frequently Asked Questions

Are the generated emails or IP addresses real?

No. All names, fictional company domains, IPv4 octets, and UUIDs are synthesized locally using a deterministic pseudo-random generator strictly for software testing.