Schema Markup Generator

Generates JSON-LD structured data markup for five schema types: Article (with author, publisher, dates, and image), FAQPage (with multiple question and answer pairs), Product (with pricing, availability, brand, SKU, and aggregate rating), LocalBusiness (with address, phone, opening hours, and geo-coordinates), and BreadcrumbList (with ordered page hierarchy). Output is a complete script block with type application/ld+json ready to paste into the HTML head section. All fields update the output in real time.

S. Siddiqui

Edited by

S. SiddiquiFounder & Editor-in-Chief
Sources:WikipediaWolfram AlphaUpdated Jul 2026

JSON-LD output (paste into <head>)

Quick Answer: Schema markup is structured data added to a webpage's HTML that helps search engines understand your content and display rich results in search. Select the schema type above, fill in the fields, and copy the generated JSON-LD script block into the head section of your page. Validate with Google's Rich Results Test before publishing.

What Is Schema Markup?

Schema markup, also called structured data, is a standardised vocabulary of tags added to HTML that helps search engines understand the meaning and context of page content. While search engines can read and interpret plain text, structured data provides explicit, machine-readable labels that eliminate ambiguity. Instead of inferring that a number on a page is a price, structured data explicitly declares it as a product price in a specific currency. Instead of guessing whether a block of text is a review or a description, structured data labels it precisely.

The schema.org vocabulary, developed collaboratively by Google, Bing, Yahoo, and Yandex, is the standard used by all major search engines. It defines hundreds of content types and their properties, from simple things like Article and Person to complex types like MedicalCondition and ChemicalSubstance. For most websites, a small set of schema types covers the vast majority of practical use cases: Article for blog and news content, FAQPage for pages with question-and-answer sections, Product for e-commerce listings, LocalBusiness for service businesses, and BreadcrumbList for site navigation hierarchy.

The primary benefit of implementing schema markup is eligibility for rich results in Google Search. Rich results are enhanced search listings that include additional visual elements beyond the standard title, URL, and description: star ratings, price and availability for products, expandable FAQ panels, recipe preparation times, event dates, and more. Rich results occupy more visual space on the search results page and typically achieve significantly higher click-through rates than standard listings for equivalent ranking positions. According to schema.org, the vocabulary is actively maintained and extended by the major search engines. Google's structured data documentation explains which schema types support rich results and the specific properties required for each type to be eligible.

JSON-LD (JavaScript Object Notation for Linked Data) is the recommended format for implementing schema markup. It is added as a script block in the page head with type="application/ld+json" and is completely separate from the visible HTML content of the page. This separation makes it easy to add, modify, and validate without touching the page's visible markup. Google has explicitly recommended JSON-LD as its preferred format over the older Microdata and RDFa approaches, which required embedding attributes within the visible HTML elements.

How to Use the Schema Markup Generator

  1. Select the schema type that matches your page content: Article for blog posts and news, FAQPage for pages with question-and-answer sections, Product for e-commerce product pages, LocalBusiness for physical business locations, or BreadcrumbList for navigation paths.
  2. Fill in the fields for the selected schema type. All fields are optional in the generator but required fields for rich result eligibility are noted in the placeholder text.
  3. For FAQPage, add each question and answer pair using the Add FAQ button. Google requires at least one FAQ pair and recommends including all FAQs present on the page.
  4. For BreadcrumbList, add each breadcrumb level in order from parent to child. Include the full absolute URL for each breadcrumb item.
  5. The JSON-LD output panel on the right updates in real time as you fill in the fields. Review the output to confirm it matches the content on your page.
  6. Copy the complete script block using the Copy button and paste it into the head section of your page's HTML.
  7. Validate the implementation using Google's Rich Results Test by pasting the page URL or the code snippet directly into the tool before publishing.

Schema Types and Their Rich Result Eligibility

Schema TypeRich Result FormatKey Required PropertiesTypical CTR Lift
ArticleArticle with date and author in resultsheadline, author, datePublished, publisherModerate: improves publisher trust signals
FAQPageExpandable Q&A panels below resultmainEntity with Question and Answer pairsHigh: increases SERP real estate significantly
ProductPrice, availability, and star rating in resultname, offers (price, currency, availability)High for transactional queries
LocalBusinessKnowledge panel with address, hours, and mapname, address, telephoneHigh for branded and local queries
BreadcrumbListURL shown as path hierarchy below resultitemListElement with position, name, itemLow direct lift, improves user trust

When to Use the Schema Markup Generator

The Content Manager Adding FAQ Schema to Knowledge Base Articles

A content manager at a software company maintains a knowledge base of 80 articles covering common user questions. Several articles are already ranking in positions 3 to 6 for question-format queries but have no structured data. She identifies the 15 articles most likely to qualify for FAQ rich results based on their ranking positions and existing FAQ sections, uses the generator to produce FAQ schema for each, and adds the JSON-LD to the CMS article template head field. She validates each using Google's Rich Results Test before publishing. Within six weeks, 11 of the 15 articles trigger FAQ rich results, gaining additional SERP space and improving click-through rates.

The E-Commerce Developer Implementing Product Schema for a Retailer

A developer is adding product schema to a sporting goods retailer's 200 product pages. She uses the generator to build the product schema structure with name, description, image, price, currency, availability, and aggregate rating fields, then replicates the pattern in the product page template using the CMS's dynamic field system to populate the schema values from the product database automatically. After deploying, she verifies 10 sample product pages with Google's Rich Results Test to confirm price and availability are rendering correctly in the preview. Several product pages begin showing price and availability directly in Google search results within three weeks.

The Local Business Owner Adding Business Schema to a Service Page

A dental practice owner wants his practice to appear in Google's local knowledge panel when users search for his practice by name. He uses the generator to create LocalBusiness schema with the practice's full address, phone number, and opening hours in the correct format. He sets the business type to Dentist and adds the geo-coordinates for the practice location. The generated JSON-LD is added to the practice homepage through the WordPress Yoast SEO plugin's schema section. Within two weeks the practice begins appearing with a structured knowledge panel in branded search results, displaying address, phone, and hours without users needing to click through to the website.

The Technical SEO Auditing Schema Implementation Across a Client Site

A technical SEO is auditing a client site that has schema markup in place but no rich results appearing in Search Console. She uses the generator to recreate what the correct schema should look like for the client's Article and Product pages, then compares the output against the live schema on the site by pasting each page's source into Google's Rich Results Test. The comparison reveals that the live schema has a missing required property on product pages: the offers object is missing the url property, which is required for Product rich results. She uses the generator's correct output as a reference to guide the development team's fix, which is deployed within the week and rich results begin appearing for product pages within four weeks.

Advanced Schema Implementation Guidance

Combining multiple schema types on a single page is a common and recommended practice for pages that have content fitting more than one schema type. An e-commerce product page is a logical candidate for both Product schema (for the product details, pricing, and rating) and BreadcrumbList schema (for the navigation path from the homepage through category pages to the product). A blog post with a FAQ section at the bottom can carry both Article schema and FAQPage schema simultaneously. Google processes each schema block independently and a page can qualify for rich results from multiple schema types at the same time, though in practice Google tends to display one type of rich result per URL in any given search result.

Keeping schema markup synchronised with page content as content changes is an important maintenance discipline. If a product price changes, the Product schema price must be updated to match. If a FAQ section is rewritten, the FAQPage schema must reflect the current questions and answers visible on the page. Schema that does not match visible page content is classified as misleading structured data and risks a manual action. For large sites, connecting schema generation directly to the CMS data source rather than maintaining it separately ensures the two stay in sync automatically. Hardcoded schema blocks that are not connected to the content management system are the most common source of content-schema divergence over time.

Schema markup for content that changes frequently, such as product prices, event dates, or opening hours, needs a content management workflow that updates the structured data at the same time as the visible page content. Event schema with past dates still in the structured data causes Google's Rich Results Test to flag warnings. Product schema with out-of-stock items still marked InStock causes misleading availability signals. Building the schema update into the same workflow as the content update, whether through a CMS template, a scheduled script, or an API-driven generation process, prevents these synchronisation failures from accumulating.

Common Schema Markup Mistakes

Using structured data to mark up content that is not visible on the page is a violation of Google's structured data policies and can result in a manual action. Schema markup must accurately reflect the actual content users see on the page. Adding product schema with a price that is not displayed on the page, or FAQ schema for questions that do not appear in the visible content, is treated as misleading structured data and penalised accordingly. Always mark up only what is genuinely present and visible on the page.

Missing required properties for the specific schema type causes the structured data to be technically valid but ineligible for rich results. Each rich result type has a set of required properties documented in Google's rich results guidelines. For FAQPage, every Question must have an acceptedAnswer. For Product, the offers property must contain a price and priceCurrency. Review the required properties for your specific schema type before assuming the implementation is complete.

Not validating before deploying means errors that prevent rich result eligibility are not discovered until weeks later when the expected rich results fail to appear. Google's Rich Results Test provides immediate feedback on whether the structured data is valid, which properties are present, and which are missing. Run every implementation through the tester on the test URL before deploying to production, and retest after deployment using the live URL.

Using relative URLs in schema properties instead of absolute URLs causes validation errors and prevents correct processing. All URL properties in schema markup must use complete absolute URLs including the protocol: https://example.com/product/ not /product/. This applies to image URLs, product URLs, breadcrumb item URLs, publisher logo URLs, and all other URL-type properties across every schema type.

Last reviewed: July 26, 2026
Founder's Real-World Experience
S. Siddiqui

S. Siddiqui

Founder & Editor-in-Chief, YourToolsBase

How I added FAQ schema markup to 12 tool pages and gained featured snippet placements for 8 of them within six weeks

In February 2026 I identified an opportunity to pursue featured snippet placements for YourToolsBase tool pages. Several of our tool pages were ranking in positions 4 to 8 for question-format queries: "how does a keyword density checker work", "what is Flesch reading ease", "how to generate hreflang tags". These were strong candidates for featured snippets, which typically pull from pages ranking in the top ten.

The pages already had well-structured FAQ sections in their content, but none had FAQ structured data in the page head. I used the schema markup generator, selected the FAQPage schema type, and entered the existing FAQ questions and answers from each tool page. The generator produced the complete JSON-LD block ready to paste into the page's head section.

I implemented FAQ schema on 12 tool pages by adding the JSON-LD output to the head injection field in the CMS. I validated each implementation using Google's Rich Results Test before pushing to production to confirm the structured data was being parsed correctly without errors.

Within three weeks, 6 of the 12 pages had triggered rich results in Google: the FAQ schema appeared as expandable question panels below the main result. By week six, 8 of the 12 pages had FAQ rich results active. The expanded SERP footprint pushed competing results further down the page and increased click-through rate on those pages by an average of 31 percent compared to the six weeks prior to implementation. The entire process for all 12 pages took under two hours using the generator to produce the structured data quickly.

FAQ schema implemented on 12 tool pages using generated JSON-LD8 of 12 pages showing FAQ rich results in Google within 6 weeksAverage click-through rate on affected pages up 31 percent post-implementation
Also used alongside: Hreflang Tag Generator

Frequently Asked Questions

What is JSON-LD and why is it preferred for schema markup?
JSON-LD (JavaScript Object Notation for Linked Data) is a format for encoding structured data as a JavaScript object in a script tag rather than embedding attributes within HTML elements. Google recommends JSON-LD because it is easier to add, remove, and maintain without touching the visible page HTML, easier to validate with automated tools, and works correctly even when the marked-up content is loaded dynamically. The alternative formats, Microdata and RDFa, require attributes embedded within the HTML content elements, which is harder to maintain and more error-prone.
Does schema markup improve my Google rankings?
Schema markup does not directly improve rankings. Google has confirmed that structured data is not a ranking factor. However, it enables rich results, which typically achieve significantly higher click-through rates than standard results at the same ranking position. Higher click-through rates send positive engagement signals to Google, which can indirectly support rankings over time. The primary immediate benefit is increased SERP visibility and click-through rate, not a direct ranking boost.
How do I validate my schema markup?
Use Google's Rich Results Test (search.google.com/test/rich-results) to validate your schema. Enter the page URL or paste the JSON-LD code directly. The tool shows which properties are detected, which are valid, and which are missing or incorrectly formatted. It also shows a preview of how any qualifying rich results would appear in search. Validate before deploying to production and again after deployment to confirm the live page implementation is working correctly.
Can I have multiple schema types on the same page?
Yes. A page can contain multiple schema blocks in separate script tags. For example, an article page might have Article schema for the content, BreadcrumbList schema for the navigation, and FAQPage schema if the page includes a FAQ section. Each schema type is evaluated independently. There is no limit to the number of schema blocks a page can contain, though each should accurately reflect content visible on the page.
What is the difference between Article, NewsArticle, and BlogPosting schema?
All three are types within the Article hierarchy in schema.org. Article is the broad parent type. NewsArticle is specifically for news content published by journalism organisations. BlogPosting is specifically for blog posts. For most content websites, Article is appropriate. NewsArticle should be used by established news publishers. BlogPosting can be used for personal or brand blog content. Google's Article rich result supports all three types.
How long does it take for schema markup to produce rich results?
There is no guaranteed timeline. After deployment, Google needs to recrawl the page and process the structured data. Rich results typically begin appearing within two to six weeks for frequently crawled pages. You can accelerate recrawling by submitting the URL for inspection in Google Search Console and requesting indexing. Note that meeting the technical requirements does not guarantee rich results will appear; Google uses additional quality signals to determine eligibility.
What is aggregate rating in Product schema?
AggregateRating is a property of Product schema that marks up the overall rating and review count for a product. It is what produces the star rating display in Google search results. The required properties are ratingValue (a number between 1 and 5) and reviewCount (the total number of reviews). The rating must reflect genuine user reviews, not be fabricated or represent editor ratings presented as user reviews. Fake or misleading ratings violate Google's structured data policies.
Do I need to add breadcrumb schema if my site already shows breadcrumbs?
Adding BreadcrumbList schema to pages that display visible breadcrumbs is recommended. Google can sometimes infer breadcrumb structure from URL patterns and visible breadcrumb navigation, but explicit schema markup ensures the breadcrumb path is interpreted correctly and displayed in search results consistently. The schema breadcrumbs and visible breadcrumbs should match. Mismatches between what the schema says and what users see on the page can cause Google to ignore the schema.
Can schema markup cause a Google penalty?
Yes. Using schema markup to misrepresent page content, marking up content that is not visible to users, using fake reviews in aggregate rating schema, or spam-marking non-existent content can all result in manual actions from Google's spam team. The penalty removes rich results eligibility for the affected pages. Structured data must accurately reflect real content and must not be used to manipulate search results or mislead users about the nature of the page content.
Should I implement schema markup on every page?
Implement schema markup on pages where it is applicable and where it accurately reflects visible content. Not every page has content that maps to a schema type. A contact page does not need Article schema. A purely navigational page without FAQ content does not need FAQPage schema. Focus schema implementation on pages where the appropriate type matches the content: product pages for Product schema, pages with real FAQ sections for FAQPage schema, and so on. Implementing schema on inappropriate pages is at best ignored and at worst treated as misleading.

Rate This Tool

Was this tool helpful?

Be the first to rate this tool

About the Author

S. Siddiqui

S. Siddiqui

Founder & Editor-in-Chief

LinkedIn Profile

S. Siddiqui is the founder and editor-in-chief of YourToolsBase, overseeing all content, tool accuracy, and editorial standards.

View full profile

Authoritative Sources

Formulas and data in this tool are based on guidelines from the above sources.