Skip to main content

    Schema Markup Generator

    Generate JSON-LD structured data for Google rich results. Local Business, Article, FAQ, and Product schemas.

    Free to use. Runs in your browser.

    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 TypeRich ResultBest ForImpact on CTR
    LocalBusinessKnowledge panel, map packLocal shops, restaurants, servicesHigh, appears in local pack
    ArticleTop Stories carousel, article cardsBlog posts, news articlesMedium, carousel visibility
    FAQPageNo rich result (removed May 2026)Helps Google understand Q&A content; was restricted to government/health sites from Aug 2023None (rich result no longer shown)
    ProductPrice, availability, ratingsE-commerce product pagesVery high, purchase intent
    HowToNo rich result (removed Sept 2023)No longer produces rich results on desktop or mobile; schema remains valid for comprehensionNone (rich result removed from all devices)
    Review / AggregateRatingStar ratings in searchProduct/service review pagesVery high, social proof
    EventDate, location, ticket infoConcerts, conferences, meetupsHigh, time-sensitive
    BreadcrumbListBreadcrumb trail in URL lineAny multi-level siteLow 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

    Bug

    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.

    Bug

    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.

    Bug

    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

    How to use this tool

    1

    Select a schema type (Business, Article, FAQ, or Product)

    2

    Fill in the relevant fields for your content

    3

    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?
    Schema markup (JSON-LD) is structured data you add to your HTML to help search engines understand your content and display rich results like star ratings, prices, and FAQ dropdowns.
    Does schema improve SEO?
    Schema doesn't directly affect rankings but enables rich snippets in search results, which can significantly improve click-through rates. Pages with rich results take up more SERP real estate.
    Where do I put the JSON-LD code?
    Place the <script type="application/ld+json"> tag in the <head> or <body> of your HTML page. Google recommends the head for best practice.
    How do I test schema markup?
    Use Google's Rich Results Test to validate your structured data and see which rich result types are eligible. The Schema.org validator is also useful for general validation.
    What's the difference between JSON-LD and Microdata?
    JSON-LD is a separate script block, easy to add without changing your HTML. Microdata is woven into your HTML attributes, making it harder to maintain. Google recommends JSON-LD.
    Which schema type should I start with?
    Start with the type that matches your primary content. E-commerce sites: Product. Local businesses: LocalBusiness. Blogs: Article. FAQ pages: FAQPage. You can use multiple types on one page.
    Can I have multiple schema types on one page?
    Yes. It's common to have Article + FAQPage + BreadcrumbList on a single blog post, or Product + AggregateRating on a product page. Each gets its own script block.
    Does the FAQPage schema still produce rich results in Google?
    No. As of May 2026, Google removed FAQPage rich results from Search entirely. They had already been restricted since August 2023 to well-known government and health websites only. The markup itself is harmless to leave in place and Google may still use it to understand your content, but it will not generate visible expandable accordions or any other rich result in search listings.
    What is LocalBusiness schema used for?
    It tells Google your business name, address, phone, hours, and location. This information can appear in the knowledge panel and map pack, critical for local SEO.
    Is there a limit to how much schema I can add?
    No hard limit, but only add schema that accurately represents your page content. Google may penalise misleading or spammy structured data. Don't add Product schema to a page that doesn't sell anything.
    Does the copy button include the script tags?
    Yes. The Copy button wraps your JSON-LD in proper <script type="application/ld+json"> tags so you can paste it directly into your HTML.
    Is my data sent to a server?
    No. Schema generation happens entirely in your browser. Nothing is uploaded or stored.

    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.