🎲 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.
Guía: Generador de Datos JSON Ficticios
¿Qué es?
Genera JSON estructurado con datos realistas para desarrollo frontend antes de que la API esté lista, tests unitarios reproducibles, demos de productos y prototipado. Datos realistas revelan bugs de UI que datos mínimos no muestran.
Cómo usar
- Define el esquema con los campos y tipos necesarios.
- Ajusta la cantidad de registros.
- Genera y copia los datos para tu proyecto.
Consejos
- Genera 20-50 registros para probar paginación y rendimiento.
- Incluye casos edge: strings muy largos, valores nulos, fechas extremas.
- Para tests unitarios, usa semillas fijas para datos reproducibles.