Schema Markup Generator
Fill in a form and copy a JSON-LD block for one of eight Schema.org types. It writes what you type; whether a rich result can show is for Google's Rich Results Test.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": []
}
</script>How to use this schema generator
From choosing a type to confirming Google found the markup.
Pick the type that describes the page
Article for a post, Product for a product page, LocalBusiness or Organization for who you are, BreadcrumbList for where the page sits. WebSite markup belongs on the home page only.
Fill in only what the page shows
Google's guidelines say structured data must be a true representation of the page and must not describe content readers cannot see. Leave a field empty rather than invent a value.
Copy the script tag into the page
Paste it in the head or the body. Google reads JSON-LD in either place, including when a script or a CMS widget injects it.
Test before and after publishing
Paste the code into Google's Rich Results Test first. Once the page is live, the URL Inspection tool in Search Console shows whether Google found the markup on the real URL.
What does schema markup do in Google Search now?
It tells Google what a page is in a shared vocabulary, and for a shrinking set of page types it makes the page eligible for a rich result, such as a product's price and rating or a breadcrumb trail. Google says it "uses structured data that it finds on the web to understand the content of the page," in its introduction to structured data, and its general guidelines add that it "does not guarantee that your structured data will show up in search results, even if your page is marked up correctly." Its page on AI features says no special schema is needed to appear in AI Overviews or AI Mode. Treat schema markup as a precise description of the page that sometimes earns a richer listing.
The vocabulary comes from Schema.org, which Google, Microsoft, Yahoo and Yandex founded and which, by its own count, more than 45 million web domains used as of 2024. The generator writes it as JSON-LD, the format Google recommends "in most cases" because it sits in its own script tag instead of being threaded through the visible HTML. Microdata and RDFa, the other two formats Google reads, put attributes on the page's own elements, which makes them harder to keep in step with a template.
Which schema types still earn rich results?
Six of the eight types this generator writes still have a documented use in Google Search; two earn nothing. The table gives what each can earn as of November 2026 and the minimum Google asks for, from Google's own documentation for each type.
| Type | What Google can do with it | What Google asks for |
|---|---|---|
| Article | Show better title text, images and dates | No required properties; author and dates recommended |
| Product | Product snippets with ratings, price and availability | name, plus one of review, aggregateRating or offers |
| LocalBusiness | Business details such as opening hours and departments | name and address |
| Organization | Influence which logo Google shows in results and the knowledge panel; tell your organization apart from others | No required properties; home page or one page about you |
| WebSite | Your preferred site name in results | name and url, on the home page |
| BreadcrumbList | A breadcrumb trail, on desktop results only since January 2025 | At least two ListItems |
| FAQPage | Nothing: FAQ rich results stopped for all sites from 7 May 2026 | Not applicable |
| HowTo | Nothing: dropped from mobile in August 2023 and from desktop on 13 September 2023 | Not applicable |
The WebSite form also has a search URL field, which adds a SearchAction for the sitelinks search box. Google removed that box from results from 21 November 2024 and said leftover markup "won't cause issues," so leave the field empty. The site name part of WebSite markup is still supported.
Should I still add FAQPage or HowTo markup?
Only where it describes content that is on the page, and never in the hope of a rich result. When Google cut both features back in August 2023 it said "structured data that's not being used does not cause problems for Search," so existing blocks can stay. Its documentation updates log records the end of FAQ results on 7 May 2026 and the removal of the FAQ documentation on 15 June 2026. The generator still offers both types because the markup is valid Schema.org, but in Google they earn nothing you can see. Our schema markup guide has the full timeline of retired features and the JSON-LD still worth writing for each kind of page.
What does the generator not check?
It writes what you type and validates nothing. It does not know which properties Google requires, so a Product with only a name, or an Article with an empty headline, comes out looking finished. It does not check formats either. The opening hours field is written as schema.org's openingHours text, such as Mo-Fr 09:00-17:00, which is valid markup; Google's LocalBusiness documentation shows the structured OpeningHoursSpecification form with dayOfWeek, opens and closes, which you can switch to if you prefer to match its examples exactly. And the LocalBusiness block uses the generic type, where Google asks for "the most specific LocalBusiness sub-type possible," such as a restaurant, a day spa or a health club; change the @type line before you publish.
Two rules no form can enforce matter more than syntax. Google's guidelines say markup must be "a true representation of the page content" and warn that reviews or ratings not by actual users can lead to a manual action. Its review snippet guidelines add that an aggregate rating must be visible on the page, and that a business marking up reviews it controls about itself is ineligible for review stars.
How do I test schema markup?
Start with the Rich Results Test. Google's page on testing structured data calls it "the official Google tool for testing your structured data to see which Google rich results can be generated" from it, and points to the Schema Markup Validator for generic Schema.org checks "without Google feature specific warnings." After the page is live, the URL Inspection tool in Search Console lists the rich result types Google found on the real URL, with any errors. To check whether an existing page's JSON-LD even parses, paste its source into the AIO readiness checker, which lists the types it finds.
Schema markup questions.
JSON-LD, retired rich results, testing, and which type to use.
What is JSON-LD?
JSON-LD is a way of writing linked data in JSON, standardized by the W3C, whose JSON-LD 1.1 became a Recommendation on 16 July 2020. For schema markup it means a block of JSON inside a script tag that describes the page in Schema.org terms. Google recommends it in most cases because it sits apart from the visible HTML and is easy to add and maintain.
Does Google still show FAQ and HowTo rich results?
No. Google stopped showing HowTo rich results on mobile in August 2023 and on desktop from 13 September 2023. FAQ rich results were limited to well-known government and health sites in August 2023 and, according to Google's documentation updates log, stopped appearing for all sites from 7 May 2026. This generator still writes both types, but neither earns a rich result.
Does schema markup improve rankings?
Google says it uses structured data to understand a page and to decide whether it is eligible for rich results, and that it does not guarantee markup will show up in results even when it is correct. Its guidance on AI Overviews and AI Mode says no special schema is needed to appear in them. Add markup to describe the page accurately and to qualify for the rich results that still exist, such as product snippets and breadcrumbs.
How do I test my schema markup?
Paste the code or the URL into Google's Rich Results Test, which shows which Google rich results the markup can produce. The Schema Markup Validator at validator.schema.org checks any Schema.org markup without Google-specific warnings. After publishing, the URL Inspection tool in Search Console confirms that Google found the markup on the live page.
Which schema type should a local business use?
LocalBusiness, or better its most specific subtype: Google's documentation asks for the most specific type possible, with examples such as Restaurant, DaySpa and HealthClub. Google requires only name and address and recommends opening hours, a phone number, a URL and coordinates to at least five decimal places. This generator writes the generic LocalBusiness type, so change the @type line by hand if a subtype fits.
Adding schema to a whole site, not one page?
This generator builds one block at a time. Our schema markup guide covers which JSON-LD types still earn rich results, with code examples and how to generate markup at scale.
What to do next.
Run these next
All 25- AIO Readiness CheckerCheck a page for noindex and snippet blocks, valid schema and the structure AI answers quote from
- llms.txt GeneratorGenerate an llms.txt file, and see what it does and does not do
- Meta Tag AnalyzerValidate title tags, meta descriptions, and Open Graph markup
- SERP Preview ToolPreview how your page appears in Google search results
Read next
Every page, not one
Check the whole site
The monthly plan crawls every page of the site and prices each fix by what the page earns, so the one that matters comes first.
See the monthly plan