Mock JSON API Generator

Generate realistic mock data from JSON schemas for API testing, development, and prototyping. Create multiple records with customizable fake data instantly.

Generated mock data will appear here

Generation Options

How to Use the Mock JSON Generator

Step-by-Step Guide

  1. Enter your JSON schema in the left panel or load a template
  2. Configure generation options (number of records, formatting, etc.)
  3. Click "Generate Mock Data" to create realistic test data
  4. Copy the generated data or download it as a JSON file
  5. Use the mock data in your applications, tests, or prototypes

Supported Data Formats

Personal Data

name, email, phone, address, city

Business Data

company, url, uuid

Date/Time

date, datetime

💡 Pro Tips

  • Use the "format" field in your schema for realistic data types
  • Generate multiple records to test pagination and lists
  • Use nested objects to create complex data structures
  • Enable timestamps to track when data was generated

Schema Examples

Basic User Schema

{
  "type": "object",
  "properties": {
    "id": {"type": "integer"},
    "name": {"type": "string", "format": "name"},
    "email": {"type": "string", "format": "email"},
    "isActive": {"type": "boolean"}
  }
}

Complex Product Schema

{
  "type": "object",
  "properties": {
    "id": {"type": "integer"},
    "name": {"type": "string"},
    "price": {"type": "number"},
    "tags": {
      "type": "array",
      "items": {"type": "string"}
    },
    "vendor": {
      "type": "object",
      "properties": {
        "name": {"type": "string", "format": "company"},
        "contact": {"type": "string", "format": "email"}
      }
    }
  }
}