Mock JSON generator
Generate made-up JSON records for testing, from a schema you can edit.
Start from
Format
10 rows of made-up data. Up to 5,000 at a time.
Types you can use
- id
- A number that counts up from 1
- uuid
- A version 4 UUID
- firstName
- A first name
- lastName
- A family name
- fullName
- First and family name
- An address at example.com, matching the name
- username
- A short handle, matching the name
- phone
- A phone number from the range kept for fiction
- company
- A company name
- jobTitle
- A job title
- street
- A street address
- city
- A city
- country
- The country of that city
- date
- A date in the last five years
- datetime
- A date and time in the last five years, in UTC
- boolean
- true or false
- integer
- A whole number from 0 to 1000
- price
- An amount with two decimals
- product
- A product name
- category
- A product category
- status
- An order status
- word
- One word
- sentence
- A short sentence
- color
- A hex colour
- ip
- An IPv4 address from the ranges kept for documentation
- url
- A link on example.com
Missing a feature or found a bug in Mock JSON generator? Tell me on X (@_andrewtran) or by email.
How to use Mock JSON generator
- Start from Users, Orders or Products, then edit the fields.
- Set how many records you want.
- Copy the JSON or download it as a file.
Questions and answers
Is my data sent anywhere?
No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.
Is any of the data real?
No. Names come from short lists, emails end in example.com, and phone numbers come from a range kept for examples.
Where are the other options?
This page opens Mock data generator with one choice already made. Every option of that tool is still here, and its own page says more about it.
Related tools
Mock data generator
Generate made-up users, orders and products as JSON, CSV or SQL, from a schema you can edit.Mock CSV generator
Generate made-up CSV data for testing spreadsheets and imports, from a schema you can edit.Gitignore generator
Build a .gitignore by combining templates for your languages, frameworks, editors and system.Key pair generator
Generate Ed25519, RSA and ECDSA key pairs as PEM, JWK and an OpenSSH public key.