How to use the Schema Markup Generator
Schema markup tells Google exactly what your page is about — an article, a product, a recipe, a local business. Pages with schema are eligible for rich results that take up 2–3× more SERP real estate.
Pick your schema type
Start with the type that matches your page: Article for blog posts, Product for ecommerce, LocalBusiness for service-area pages, Recipe for food. Don't stack unrelated types on a single page — Google will ignore mismatched schema.
Fill the required fields
Each schema type has required and recommended fields. Required fields are mandatory for rich-result eligibility. The generator highlights which fields are required vs nice-to-have.
Add the publisher block
Most rich-result-eligible types require a publisher Organization with a logo (minimum 112 × 112 px). Skipping this disqualifies the page from rich results even if everything else is correct.
Paste the JSON-LD into your
Wrap the output in <script type="application/ld+json">. Validate with the Rich Results Test before deploying.
Why structured data matters
Schema markup is the single highest-leverage on-page SEO signal because it does two things at once: tells Google what the page is, and qualifies the page for rich results that visually dominate the SERP.
Rich results worth chasing
- Article — bigger thumbnail in news and Discover.
- FAQPage — collapsible Q&As under your snippet.
- HowTo — numbered steps with images.
- Recipe — ratings, cook time, calories — top result on most cooking queries.
- Product — price, rating, availability — eligible for the Shopping carousel.
- Event — date, location, ticket link.
- BreadcrumbList — replaces the URL breadcrumb in your snippet.
- VideoObject — thumbnail with play button + duration.
JSON-LD vs Microdata vs RDFa
Google supports all three formats but recommends JSON-LD for one big reason: it lives in the page's <head> as a single self-contained script, so it doesn't tangle with your HTML or break when content gets edited. Microdata and RDFa attach attributes to existing tags, which means any HTML refactor risks breaking your schema silently.
Common rejection reasons
- Required field missing — datePublished on Article, image on Recipe, address on LocalBusiness.
- Image too small — most types require minimum 1200 × 675 or larger.
- Schema doesn't match what's on the page — Article schema on a category page = penalty risk.
- Multiple conflicting types — don't put both Article and BlogPosting on one page (BlogPosting extends Article — pick one).
- Logo missing or too small — publisher.logo must be at least 112 × 112 px.
Frequently asked questions
What is JSON-LD schema markup?
JSON-LD (JavaScript Object Notation for Linked Data) is a structured-data format that lets you describe what your page is about in a way search engines can parse precisely. Google uses it to qualify pages for rich results — FAQ snippets, recipe cards, product carousels, breadcrumb trails, and dozens of other visual SERP enhancements.
Where do I put the JSON-LD code?
Inside the <head> of your HTML, wrapped in <script type="application/ld+json">. You can also place it in <body>, but head placement is the convention and avoids any risk of layout-shift scripts interfering with the parse.
Can I use multiple schema types on one page?
Yes — you can have multiple <script type="application/ld+json"> blocks, each with a different type. A typical content page might have Article, BreadcrumbList, and FAQPage simultaneously. Don't stack types that conflict (Article + Product on the same URL signals confusion to Google).
How do I validate my schema markup?
Use Google's Rich Results Test (search.google.com/test/rich-results) — it parses your URL or pasted HTML and tells you which rich-result types your page is eligible for. The Schema.org validator (validator.schema.org) is stricter and catches spec violations Google's tool ignores. Run both before deploying.
Will schema markup help me rank higher?
Schema isn't a direct ranking factor, but it's a strong indirect one. Rich results have meaningfully higher CTR (often 30–100% lift), and CTR is a ranking signal. Schema also helps Google understand your content correctly, which reduces the risk of being misclassified for a query.