Skip to content
Schema Generator
Menu

Free schema markup generator for JSON-LD structured data

Create JSON-LD schema markup for Google rich results: pick a schema type, answer a few questions, and copy the code. The structured data checks list the properties Google requires and recommends. Everything runs in your browser. For types not listed here, the Schema.org vocabulary has a builder for each one.

product.jsonldProduct
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Trail Runner 2",
  "image": [
    "https://example.com/images/trail-runner-2.jpg"
  ],
  "description": "Lightweight trail shoe with a 6 mm drop and a recycled upper.",
  "brand": {
    "@type": "Brand",
    "name": "Northwind"
  },
  "sku": "TR2-BLK-42",
  "offers": {
    "@type": "Offer",
    "price": 129,
    "priceCurrency": "EUR",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "url": "https://example.com/p/trail-runner-2"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.6,
    "reviewCount": 212
  }
}
</script>
✓ Required fields complete! 1 recommended field empty: gtin

Schema types and Google rich results

Which Schema.org types Google turns into rich results, which are restricted or retired, and which have no visual change in search.

Schema types with Google rich results 25

Valid markup makes the page eligible for a rich result in Google Search.

Restricted and retired rich results 2

Valid Schema.org markup, but Google shows the rich result only to some sites, or no longer shows it.

Schema markup API and MCP server

The same builders and checks over HTTP, and as tools for Claude, Cursor, and other MCP clients. Ask your coding assistant for “Product schema for this page” and it gets markup plus a list of what's missing. No key needed.
API and MCP docs
claude mcp add --transport http schema-generator https://schemagenerator.dev/api/mcp

Schema markup FAQ

Does schema markup improve rankings?
Not directly; Google doesn't treat it as a general ranking signal. It makes a page eligible for rich results such as prices, ratings, and event dates, which change how the result looks and often how many people click it.
I added markup. Why don't I see a rich result?
Google has to recrawl the page first, which can take days. After that it decides per search whether to show one. The markup also has to match what visitors can see on the page, and some types, such as FAQ and Course, are restricted or retired.
Where does the code go?
Anywhere in the page's HTML. The <head> is the usual place. Most CMSs have a field or plugin for custom head code, and frameworks like Next.js can render the script tag directly.
What happens to what I type?
The builders run entirely in your browser. Drafts are saved in your browser's local storage so you can come back to them, and nothing is sent to a server. The API builds markup from your request and doesn't store it.

New to structured data? Start with the help center or look up a term in the glossary.