Skip to main content

Dummy Data Generator

Generate mock JSON data from presets or your own custom schema for testing APIs, UIs and demos. Create many records at once and copy the output instantly.

Generated JSON

Choose a data type and press Generate.

Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)

Free Online Dummy JSON Data Generator

Generate a JSON array of mock Users, Products, Orders, or records from a custom schema with a custom count — useful for prototyping a UI or seeding a test database without writing data by hand. It helps frontend developers, QA engineers, and API authors populate tables, demos, fixtures, and local databases before production data is available.

Why use mock data?

When building a UI or testing an integration, you often need realistic-looking data before the real backend or database is ready — a table needs rows to render properly, a chart needs numbers to plot, and pagination needs enough records to actually paginate. Hand-writing dozens of fake user records is tedious; this tool generates a ready-to-use JSON array instantly.

How to use this generator

Choose Users, Products, Orders, Custom Schema, or Schema builder, set how many records you want (up to 1,000, or 10,000 in the Schema builder), and click Generate. In the Schema builder you add your own fields, pick a type for each, choose JSON, CSV, SQL INSERT or NDJSON, and can save the schema as a file to load again later. Custom schemas support nested objects, arrays, realistic text, contact details, dates, numbers, and more while staying entirely in your browser.

Common use cases

  • Populating a UI component (table, list, dashboard) with realistic-looking data before the real API is ready
  • Seeding a local development database with test records
  • Generating sample data for a demo or presentation

Worked example

The built-in "User profile" example schema (id: uuid, name: fullName, email: email, age: number:18-65, nested address, and tags: array:word:3) produces records like { "id": "a1b2c3...", "name": "James Smith", "email": "sarah.jones42@example.com", "age": 42, "isActive": true, "address": { "city": "New York", "country": "United States" }, "tags": ["bright", "swift", "quiet"] } — note how name and email come from different first/last names, since each field is filled in independently rather than describing one consistent fake person.

Common mistakes and edge cases

  • Users, Products, Orders and Custom Schema use fixed Western/English lists. For Indian or mixed data, use the Schema builder and choose India or Mixed under "Data from". All values are in the Latin alphabet, so this is not suited to testing non-Latin text.
  • In the Schema builder, each field name must be different, a "One of a list" field needs at least one value, and nested objects become dotted columns (for example address.city) in CSV and SQL output.
  • array:type:length only accepts a fixed length, and the inner type can't itself be a ranged type — in testing, something like array:number:18-65:3 fails to match the expected pattern and silently falls back to an array of random filler words instead of numbers in that range.
  • An inverted range like number:65-18 (min greater than max) doesn't produce an error — as tested, it silently falls back to a random filler word instead of a number, since the range check rejects it but nothing downstream catches that rejection.
  • Fields in a schema are generated independently, so related fields (like a fullName and an email meant to describe the same fake person) usually won't actually correspond to each other.

Frequently asked questions

Is this data realistic enough for testing?
It's plausible-looking placeholder data — realistic shapes and value ranges (names, emails, prices, statuses) — but randomly generated, not sourced from any real data set. It's meant for UI prototyping, seeding a test database, or mocking an API response, not for anything requiring statistically representative data.
Can I get the same data again later?
Yes, in the Schema builder: type a seed (any word or number) and the same seed with the same fields gives exactly the same data every time. The Users, Products, Orders and Custom Schema types are freshly randomized each time, and nothing is saved on our side. Copy or download the output you want to keep.
What is the maximum number of records I can generate?
Up to 10,000 in the Schema builder and 1,000 in the Users, Products, Orders and Custom Schema types. For more, generate a few batches with different seeds and combine them.
Is this data uploaded anywhere?
No — everything is generated entirely in your browser using JavaScript's random number generator. Nothing is sent to a server.
Can I generate data with my own fields?
Yes — choose Custom Schema and enter a JSON object whose values are type keywords such as fullName, email, number:18-65, or array:word:3. Nested objects are supported too.
Is the generated data available in languages other than English?
The Schema builder can make Indian data (names, cities, states, 6-digit PIN codes, +91 phone numbers, prices in rupees) or US data, or a mix of both; pick it under "Data from". All values are written in the Latin alphabet, so it is not meant for testing non-Latin text. The Users, Products, Orders and Custom Schema types use fixed Western/English lists.
Do related fields like "name" and "email" match each other?
No — in practice, each field in a custom schema is generated independently. If your schema has both a fullName field and an email field, they're drawn from the name list separately and usually won't describe the same fake person (e.g. the email might reference "Sarah" while the name says "James Smith").
How do I generate fake JSON data for testing?
Pick a preset (users, products or orders) for a familiar shape, or choose Custom Schema to describe your own fields. The schema can have nested objects, arrays and value types such as names, emails, dates and numbers. Set how many records you want and copy the JSON into your test, mock server or seed script.

Related tools

More Data Generation & Utilities

View all Data Generation & Utilities tools →