Schema Markup Generator
Generate JSON-LD structured data for Google rich results. Local Business, Article, FAQ, and Product schemas.
Choose a schema type, fill in the details, and copy the generated JSON-LD code to paste into your HTML.
Paste the copied script into your page's <head>, then check it with Google's Rich Results Test before publishing.
What Is Schema Markup?
Schema markup is structured data you add to your HTML that tells search engines exactly what your content means, not just what it says. When Google reads "4.5", it doesn't know if that's a price, a rating, or a shoe size. Schema markup says "this is a rating out of 5 stars for a product called X".
The payoff is rich results, those enhanced search listings with star ratings, prices, FAQs, recipe cards, event dates, and more. Pages with rich results get significantly higher click-through rates because they take up more visual space and provide more information before the click.
Schema Types and Their Rich Results
| Schema Type | Rich Result | Best For | Impact on CTR |
|---|---|---|---|
| LocalBusiness | Knowledge panel, map pack | Local shops, restaurants, services | High, appears in local pack |
| Article | Top Stories carousel, article cards | Blog posts, news articles | Medium, carousel visibility |
| FAQPage | No rich result (removed May 2026) | Helps Google understand Q&A content; was restricted to government/health sites from Aug 2023 | None (rich result no longer shown) |
| Product | Price, availability, ratings | E-commerce product pages | Very high, purchase intent |
| HowTo | No rich result (removed Sept 2023) | No longer produces rich results on desktop or mobile; schema remains valid for comprehension | None (rich result removed from all devices) |
| Review / AggregateRating | Star ratings in search | Product/service review pages | Very high, social proof |
| Event | Date, location, ticket info | Concerts, conferences, meetups | High, time-sensitive |
| BreadcrumbList | Breadcrumb trail in URL line | Any multi-level site | Low but improves UX |
What this means for you: Start with the schema type that matches your primary content. An e-commerce site should prioritise Product schema. A blog should start with Article schema. A local business needs LocalBusiness schema first. Note that FAQPage and HowTo schema no longer produce visible rich results in Google Search (removed in 2026 and 2023 respectively), though the markup remains valid and may still aid content comprehension.
JSON-LD vs Microdata vs RDFa
JSON-LD (recommended)
A JavaScript block in your HTML. Google's preferred format. Easy to add without modifying your HTML structure. This tool generates JSON-LD.
Microdata
HTML attributes woven into your existing markup. Harder to maintain and more error-prone. Still supported but JSON-LD is preferred.
RDFa
Similar to Microdata but with its own attribute names. Used primarily in academic and government contexts. Not commonly used for commercial websites.
Common Schema Mistakes
Missing required properties
Every schema type has required fields. Product needs name + either offers or review. FAQPage needs at least one Question with acceptedAnswer. Google's Rich Results Test will flag what's missing.
Schema doesn't match visible content
If your schema says "4.8 stars" but the page shows "4.2 stars", Google considers that spammy structured data. Every schema claim must be verifiable on the page itself.
Self-serving reviews on your own pages
Google doesn't allow Review schema on your own product pages anymore. Use AggregateRating with verified third-party reviews instead. Self-reviews will get a manual action.
Related Tools
Meta Tag Generator
Generate meta tags alongside your schema markup.
Google SERP Preview
Preview how your page looks in search results.
JSON Formatter
Pretty-print and validate your JSON-LD schema code.
Sitemap Generator
Help search engines discover your schema-enhanced pages.
Keyword Density Checker
Optimise the content that your schema markup describes.
Robots.txt Generator
Ensure search engines can crawl your schema-enriched pages.
How to use this tool
Select a schema type (Business, Article, FAQ, or Product)
Fill in the relevant fields for your content
Click Generate Schema, then copy the JSON-LD with script tags
Common uses
- Adding LocalBusiness schema for local SEO visibility
- Generating FAQPage schema to help Google understand your Q&A content (note: FAQ rich results are no longer shown in Google Search as of May 2026)
- Creating Product schema with pricing for e-commerce rich snippets
- Building Article schema for blog post structured data
Share this tool
Frequently Asked Questions
What is schema markup?
Does schema improve SEO?
Where do I put the JSON-LD code?
How do I test schema markup?
What's the difference between JSON-LD and Microdata?
Which schema type should I start with?
Can I have multiple schema types on one page?
Does the FAQPage schema still produce rich results in Google?
What is LocalBusiness schema used for?
Is there a limit to how much schema I can add?
Does the copy button include the script tags?
Is my data sent to a server?
Results are for general informational purposes only and should be checked before use. They are not professional advice. See our Disclaimer and Terms of Service.