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
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:lengthonly accepts a fixed length, and the inner type can't itself be a ranged type — in testing, something likearray:number:18-65:3fails 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
fullNameand anemailmeant to describe the same fake person) usually won't actually correspond to each other.