DT Dev Tools

Mock Data Generator

Generate fake JSON rows with names, emails, cities, dates, booleans, phone numbers, and CSV export.

🔒 Runs entirely in your browser — nothing is uploaded
Fields

Advertisement

What Mock Data Generator does

Mock Data Generator creates small fake datasets for prototypes, UI states, demos, tests, documentation, and import experiments. You can choose fields such as id, name, email, phone, city, date, and boolean values, set a row count, and export the result as formatted JSON or CSV. The data comes from embedded first names, last names, domains, and cities, so no external data service or package is required. The generated rows are intentionally simple and predictable enough to inspect, with incrementing IDs, derived emails, plausible cities, ISO-style dates, and random boolean values.

This is useful for filling tables, testing empty and populated UI states, creating API examples, checking CSV import flows, or making quick fixtures without exposing real users. It keeps the field set explicit so you only generate the columns you need. The same rows can be viewed as JSON for API-shaped work or CSV for spreadsheet and import testing.

Private browser-based workflow

All processing happens inside your browser with client-side JavaScript. The tool does not upload snippets, configuration values, generated data, query text, or copied examples to a server, and it does not require an account. That local-only model matters for developer utilities because the content pasted into them often looks like real application data: API responses, logs, environment-shaped samples, database queries, markup from drafts, or values copied from production debugging sessions. Keeping the transformation local reduces risk and keeps the interaction fast because there is no network round trip.

The interface is intentionally compact so you can paste input, adjust options, inspect output, copy it, and move back to your editor. Results should still be reviewed before being committed, shared publicly, or used in a production workflow. Browser tools are excellent for quick inspection and preparation, but they cannot understand every project convention, data classification rule, or application-specific validation requirement.

Practical tips

Mock data should never be mistaken for production-quality anonymization. If you need privacy-safe analytics, compliance-grade de-identification, or statistically realistic synthetic data, use a dedicated process. This tool is for lightweight placeholder rows where convenience, local generation, and easy export matter more than modeling a real population. Keep row counts modest so the browser remains responsive and the output stays readable. Review generated field names and formats before feeding the data into strict schemas or demos that imply real customer records.

How to use

  1. Select fieldsChoose the columns you want in each generated row.
  2. Set countEnter how many rows to create.
  3. Generate and exportReview JSON or CSV, then copy or download the result.

Frequently asked questions

Does this use an external fake-data service?
No. It uses small embedded lists and random generation directly in the browser.
Can I export CSV?
Yes. The generated rows are available as JSON and CSV, with copy and download buttons.
Is the data realistic?
It is realistic enough for prototypes and fixtures, but it is randomly generated placeholder data.
Advertisement