# JSON-LD schema generator

> Fill a form, get valid schema.org JSON-LD for Article, FAQ, Product, Organization, and more.

Free JSON-LD schema markup generator. Build Article, BlogPosting, FAQPage, HowTo, Product, Organization, Person, LocalBusiness, BreadcrumbList, SoftwareApplication, WebSite, and Event schema, then copy the script tag or a Next.js component.

- Page: https://benchline.fabwaseem.com/t/schema-generator
- Runs: in the browser. Input stays on the device.
- Price: free, no account
- Input: A schema type and the fields that type needs, including repeaters for FAQ, steps, and breadcrumbs.
- Output: A script tag, raw JSON, a Next.js snippet, and a pass or warn checklist.
- Keywords: JSON-LD generator, schema markup generator, FAQ schema, structured data, schema.org
- Updated: 2026-10-16
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Choose a schema type.** Pick Article, FAQ, HowTo, Product, Organization, Person, LocalBusiness, breadcrumbs, software, WebSite, or Event.
2. **Fill the fields and fix warnings.** Required fields are marked. The checklist flags missing recommended fields, broken URLs, and dates that are not ISO.
3. **Paste the script into your page.** Copy the script tag, the raw JSON, or the Next.js component and place it in the page head or body.

## Use it from an AI agent

MCP tool name: `build_json_ld`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/schema-generator with the input as the JSON body
This call does not fetch anything. It runs on the arguments you send.

Build schema.org JSON-LD for one type, plus a script tag and a list of missing fields. Use this when you already know the fields. It does not fetch a page.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "Article",
        "BlogPosting",
        "FAQPage",
        "HowTo",
        "Product",
        "Organization",
        "Person",
        "LocalBusiness",
        "BreadcrumbList",
        "SoftwareApplication",
        "WebSite",
        "Event"
      ]
    },
    "values": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "q": {
                  "type": "string"
                },
                "a": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        ]
      },
      "description": "Fields for the chosen schema.org type. Repeatable fields are arrays of objects."
    }
  },
  "required": [
    "type",
    "values"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "build_json_ld",
    "arguments": {
      "type": "Article",
      "values": {}
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### What is JSON-LD?

JSON-LD is a JSON format for schema.org facts. A script tag with type application/ld+json tells crawlers the page's type, author, dates, price, or questions without making them guess from the prose.

### Where do I put the script tag?

In the page head or body. Google reads either. In the Next.js App Router, render it from a server component. One page can carry more than one script.

### Does schema help AI search?

It makes entities and facts explicit and machine-readable, which helps a system that quotes the page. It does not guarantee a citation.

### Which types get Google rich results in 2026?

Product, Article, Event, breadcrumbs, and software apps can still qualify when the required fields are present. FAQ rich results have been limited to authoritative government and health sites since 2023. HowTo rich results were removed. The markup is still valid.

### How do I add JSON-LD in Next.js App Router?

Copy the Next.js snippet. It sets dangerouslySetInnerHTML to JSON.stringify(data) with < escaped as \u003c, so a string in your content cannot close the script tag.

### Can I combine types on one page?

Yes. Turn on Combine into @graph, add each entity, and paste one script. A product page often wants Product plus BreadcrumbList.

## Related tools

- [AI SEO checker](https://benchline.fabwaseem.com/t/ai-seo-checker): Score crawler access, llms.txt, structured data, and the on-page signals AI search uses.
- [Meta tags inspector](https://benchline.fabwaseem.com/t/meta-tags-inspector): Read title, description, canonical, robots, Open Graph, Twitter, and JSON-LD types from one public URL.
- [llms.txt generator](https://benchline.fabwaseem.com/t/llms-txt-generator): Read a public sitemap and write an llms.txt index, plus an optional llms-full.txt.
- [OG image generator](https://benchline.fabwaseem.com/t/og-image-generator): Pick a template, watch the card update, then download the PNG or copy the Next.js file.
