marcus.li ~/schema
built with claude nothing uploaded runs entirely in your browser

the lab

Schema Markup Generator & Validator

Build valid JSON-LD structured data for LocalBusiness, Article, FAQ, Product, or Service, or paste in schema you already have and check it against the fields Google and AI tools actually require, not just whether it's valid JSON. Nothing is uploaded, it all runs in your browser.

why this matters

Structured data is how a page tells search engines and AI tools exactly what it is, not just what it says. A business with no LocalBusiness schema, a blog post with no Article schema, an FAQ section with no FAQPage markup: all of it still reads fine to a human, and all of it is invisible in the specific machine-readable way that AI Overviews, citation engines, and rich results lean on. Most generic validators online only check that your JSON parses. This one checks the actual required and recommended fields per type, sourced from what Google's own structured data guidelines and the schema.org spec expect, the same checks this site's own schema had to pass.

Generate markup
Validate existing markup
how this works
  1. The generator builds a standard JSON-LD object for the type you pick, only including fields you actually fill in.
  2. The validator parses your input (a bare object, a full @graph, or a pasted <script> tag all work), then checks it against the required and recommended fields for whatever @type it finds, the same list Google's structured data documentation and the schema.org spec define per type.
  3. It also flags likely @type typos (like "LocalBuisness"), catches common structural mistakes such as an FAQ answer written as plain text instead of an Answer object, and warns on dangling @id references in a shared @graph.
  4. Everything runs client-side. Nothing you type or paste is sent anywhere.