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.

    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
    FAQPageExpandable Q&A below listingSupport pages, info articlesHigh, takes up more SERP space
    ProductPrice, availability, ratingsE-commerce product pagesVery high, purchase intent
    HowToStep-by-step instructionsTutorials, recipes, guidesMedium, informational intent
    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 and FAQPage. A local business needs LocalBusiness schema first.

    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 for expandable Q&A in Google results
    • 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 show expandable Q&A in Google?
    Yes, when Google displays FAQPage rich results, your questions appear as expandable accordions directly in search results. This takes up significant SERP space and can dramatically increase visibility.
    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.