🎲 Mock JSON Generator

Generate realistic mock JSON data for testing APIs and UIs. Define a schema with types, arrays, and nested objects. Free online mock data generator — no signup needed.

How to Use

1

Build your schema

Click "Add Field" to add fields. Set a name for each field and choose a data type.

2

Set record count

Enter the number of records to generate (1–100) in the Records input.

3

Generate and copy

Click Generate to produce your mock data. Click Copy JSON or Download to use the output.

Frequently Asked Questions

What is mock data used for? +
Mock data is used during development and testing when real data is unavailable. It lets you build and test UI components, populate databases for demos, test APIs with sample payloads, and create presentations without using sensitive production data.
What field types are available? +
Available types: firstName, lastName, fullName, email, phone, address, city, country, date, dateTime, number, float, boolean, UUID, username, URL, IP address, color, and lorem ipsum text.
How many records can I generate? +
You can generate 1 to 100 records at a time. Each record is a JSON object with the fields you defined.
Is the generated data realistic? +
Yes — names, emails, and phones follow realistic patterns. Names are drawn from a built-in dataset of common first and last names. Emails are generated using the first/last name if those fields exist in your schema.
Can I download the generated JSON? +
Yes — click Download JSON to save the output as a .json file. You can also click Copy to copy it to your clipboard for pasting into your project or API testing tool.


Guide : Générateur de Données Mock JSON

Qu'est-ce que c'est ?

Le Générateur de Mock JSON crée des données JSON réalistes (noms, emails, dates, adresses) basées sur un schéma que vous définissez — idéal pour le développement frontend et les tests.

Évitez de coder en dur des données de test — générez des jeux de données complets en quelques secondes.

Comment utiliser

  1. Définissez la structure souhaitée avec les types de champs (string, number, email…).
  2. Spécifiez le nombre d'enregistrements à générer.
  3. Cliquez sur Generate pour obtenir le JSON mock.
  4. Copiez ou téléchargez le résultat.

Conseils professionnels

🧰 50+ Tools