‹ Back ✦ AI Chat
{S}→{}

JSON Schema Example Generator

Create valid sample JSON from a JSON Schema.

Runs entirely in your browser. Nothing is sent anywhere.

How it works

  1. 1Paste or type your text.
  2. 2Choose the options you need.
  3. 3Copy or download the result.

About this tool

JSON Schema Example Generator: Create valid sample JSON from a JSON Schema. Paste your text and the result appears immediately, ready to copy or download. Everything happens locally in your browser — nothing you paste is uploaded or stored.

Example

Input

{
  "type": "object",
  "required": ["id", "name", "email"],
  "properties": {
    "id": { "type": "integer", "minimum": 1 },
    "name": { "type": "string", "minLength": 2 },
    "email": { "type": "string", "format": "email" },
    "role": { "enum": ["admin", "editor", "viewer"] },
    "tags": { "type": "array", "items": { "type": "string" }, "minItems": 1 },
    "address": { "$ref": "#/$defs/address" }
  },
  "$defs": {
    "address": { "type": "object", "properties": { "city": { "type": "string" }, "zip": { "type": "string", "pattern": "^[0-9]{5}$", "examples": ["10115"] } } }
  }
}

Output

{
  "id": 73,
  "name": "Ana Silva",
  "email": "user57@example.com",
  "role": "admin",
  "tags": [
    "tags 82",
    "tags 64"
  ],
  "address": {
    "city": "Berlin",
    "zip": "10115"
  }
}
How do I use the JSON Schema Example Generator?

Paste or type your text. Choose the options you need. Copy or download the result.

Is the JSON Schema Example Generator free?

Yes. It is completely free with no sign-up, no usage limits and no watermark.

Is my data sent to a server?

No. Everything is calculated locally in your browser. Nothing you enter is uploaded, logged or stored.

Does it work on my phone?

Yes. It works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux — no app needed.