Generators

Mock Data Faker

Define a JSON template with {{faker}} placeholders and generate realistic mock data. The tool replaces placeholders like {{name.fullName}}, {{internet.email}}, {{address.city}}, and {{random.uuid}} with realistic values. Use a seed for reproducible output — same seed always produces the same data, which is useful for consistent test fixtures.

Mock Data Faker — Generate realistic mock data from JSON templates with {{faker}} placeholders

What it does

  • Generates mock data from JSON templates with {{faker}} placeholders
  • Supports name, email, URL, phone, address, company, date, UUID, and more
  • Seeded generation for reproducible mock data
  • Generates single objects or arrays of objects
  • Handles nested objects and arrays in the template

Use cases

  • Generating test data for API development and integration tests
  • Creating realistic mock data for UI prototyping
  • Filling a database with sample data for demos
  • Generating large datasets for performance testing

How it works

1

Write a JSON template with {{faker}} placeholders for the fields you want mocked

2

Set the number of records to generate

3

Optionally set a seed for reproducible output

4

The generated JSON data appears in the output pane

Frequently asked questions

1What placeholders are available?

Name ({{name.firstName}}, {{name.lastName}}, {{name.fullName}}), internet ({{internet.email}}, {{internet.url}}), address ({{address.city}}, {{address.streetAddress}}, {{address.zipCode}}), company ({{company.name}}), phone ({{phone.number}}), date ({{date.past}}, {{date.future}}), random ({{random.uuid}}, {{random.number}}), and more.

2How does the seed work?

The seed initializes a deterministic PRNG (mulberry32). The same seed always produces the same sequence of random values, so the same template with the same seed generates identical output. This is useful for test fixtures that need to be consistent across runs.

3Can I generate nested objects?

Yes. The template can have nested objects and arrays. Placeholders work at any depth. For example, {"user": {"name": "{{name.fullName}}", "address": {"city": "{{address.city}}"}}} works correctly.

Related tools

Use Mock Data Faker offline in Devinity

All 95 tools run locally on your Mac. No internet required, no data sent to servers.

Download Devinity →