Skip to content
JS

JSON Schema Generator

Infer draft-07 JSON Schema from a sample.

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "active": {
      "type": "boolean"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "id",
    "name",
    "active",
    "tags"
  ]
}

About JSON Schema Generator

Infer draft-07 JSON Schema from a sample. Everything runs in your browser.

How to use

  1. Paste JSON
  2. Review schema
  3. Copy

FAQ

Free?

Yes.

Uploaded?

No.