Random JSON Generator

Generate random JSON data for testing, development, and prototyping. Create structured test data with realistic values for APIs, databases, or any application that needs sample JSON. Customize fields, array sizes, and data types to match your requirements.

Templates
Custom JSON Schema
Schema Library
Generation Options

Select a Template

Define your JSON schema here. Use JSON Schema format with additional 'faker' properties for generating realistic data.
Generation Options

JSON Schema Examples

Here are some example schemas to help you get started. Click on an example to view the schema and generate data.

Saved Schemas

How to Use the JSON Generator

Our JSON generator offers three ways to create random JSON data:

  1. Templates: Choose from pre-defined templates for common data structures like users, products, or blog posts.
  2. Custom Schema: Define your own JSON schema using JSON Schema format with extended faker properties.
  3. Schema Library: Browse example schemas and your saved custom schemas for quick access.

JSON Schema Syntax

Our generator supports standard JSON Schema with additional properties for generating realistic data:

{
  "type": "object",
  "properties": {
    "id": {"type": "string", "format": "uuid"},
    "name": {"type": "string", "faker": "name.fullName"},
    "email": {"type": "string", "format": "email"},
    "age": {"type": "number", "minimum": 18, "maximum": 100},
    "tags": {
      "type": "array", 
      "items": {"type": "string"},
      "minItems": 1,
      "maxItems": 5
    }
  }
}

Supported Data Types and Formats

Type Formats/Properties Example
string format: uuid, email, date-time, date, phone, url "550e8400-e29b-41d4-a716-446655440000"
string (faker) faker: name.fullName, address.city, lorem.paragraph "John Doe"
number/integer minimum, maximum, multipleOf 42
boolean - true
array items, minItems, maxItems ["tag1", "tag2"]
object properties, required {"key": "value"}
null - null