Mock JSON Generator

Fake test data in JSON.

Free tools that run in your browser. Nothing you type, open or create is uploaded to NerdBible or anyone else.

Fields
Output

  

All data is made up in your browser from built in word lists. Names are common first and last names combined at random, email addresses use the reserved example.com domain, phone numbers use the 555 01xx range set aside for fiction, and IP addresses come from the documentation ranges, so nothing points to a real person or system. With a seed, the same settings always give the same data.

How to use it

  1. Add the fields you need, name each one and choose its type, with a range or a list of values where it applies.
  2. Set how many records you want, up to 1,000, and pick JSON, JSON lines or CSV.
  3. Press Generate, then copy or download the data. Enter a seed to get the same data every time.

Questions

Is any of this real personal data?

No. First and last names are drawn separately from lists of common names and joined at random, and every email uses example.com, a domain reserved for examples that cannot receive mail.

What does the seed do?

It makes the output repeatable. Type any word or number and the same fields and record count always produce exactly the same data, which helps when tests compare against saved results.

Can I make nested JSON?

Name a field with dots, such as address.city, and it is placed inside an address object in JSON output. CSV keeps the dotted name as the column header.

How do I get a value from a fixed list?

Choose the One of a list type and type the values separated by commas, such as active, paused, cancelled.

About this tool

About the mock JSON generator

Tests, demos and design mock-ups need data that looks real without belonging to anyone. Define the fields you want and this generator fills them with believable values.

Building a data set

  • Add fields, name each one and choose its type: names, emails, numbers in a range, dates, booleans, IDs, addresses, a value from your own list and more.
  • Name a field with dots, such as address.city, to nest it inside an object in the JSON output.
  • Set the number of records, up to 1,000, and choose JSON, JSON lines or CSV.
  • Copy or download the result.

Repeatable output

Type any word or number as a seed and the same settings always produce exactly the same data. That helps when a test compares against saved results, or when a teammate needs to recreate your fixture.

Safe by design

Nothing points to a real person or system. First and last names are drawn separately from lists of common names and joined at random. Email addresses use example.com, a domain reserved for examples that cannot receive mail. Phone numbers use the 555 01xx range set aside for fiction, and IP addresses come from the documentation ranges.

All data is made up in your browser from built-in word lists.

Related tools