Schema Markup Generator
Fill in a form and get JSON-LD for the eight rich result types most business sites can use — all ones Google supports today. Every field is checked against Google's own documentation as you type, because a structured data mistake doesn't break anything you can see — the rich result just never appears.
What are you marking up?
Hours, address and contact details for a business people visit or call. Google’s spec
Nothing here is uploaded — the markup is built and checked in your browser.
Paste into the page's HTML — the <head> or the <body>, Google reads either.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Restaurant",
"name": "Dave's Steak House",
"url": "https://www.example.com/locations/midtown",
"telephone": "+1-212-555-0100",
"priceRange": "$$$",
"servesCuisine": "Steakhouse",
"menu": "https://www.example.com/menu",
"address": {
"@type": "PostalAddress",
"streetAddress": "148 W 51st St",
"addressLocality": "New York",
"addressRegion": "NY",
"postalCode": "10019",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.76132,
"longitude": -73.98256
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "11:30",
"closes": "22:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Saturday",
"Sunday"
],
"opens": "16:00",
"closes": "23:30"
}
]
}
</script>Paste it into Google’s Rich Results TestWill Google read this?
Nothing Google requires is missing or malformed
Valid markup makes a rich result possible, not guaranteed — Google decides per search.
13 of 13 recommended properties
Every property Google recommends is filled in.
There's no star-rating field here on purpose. Google doesn't show review stars for a business that hosts reviews of itself — including ones pulled in through a Google or Facebook reviews widget.
One block per location, on that location's own page.
What schema markup does — and what it doesn’t
Structured data tells Google, in a format it doesn’t have to guess at, what a page is about: this is a restaurant open until 22:00, this shoe costs $89 and is in stock, this race starts at 9am on 18 April. Google uses that to make the page eligible for a rich result — the stars, prices, dates and breadcrumbs you see under some search listings.
Eligible is the important word. Google’s structured data guidelines are explicit that valid markup doesn’t guarantee a rich result, and nothing in them presents schema as a way to rank higher. It changes how your listing looks on searches where you already appear. That’s worth having — it just isn’t a ranking strategy.
Why there’s no FAQ or HowTo option
They’re the two most-searched schema generators, and this one deliberately doesn’t make them. In August 2023 Google limited FAQ rich results to well-known, authoritative government and health sites, and retired HowTo results altogether. Neither appears in Google’s list of supported features today. A generator that still offers them is handing you code that does nothing for almost every site.
The eight types above are the ones in that list that fit most business sites. Each tab links to Google’s page for it, and the required and recommended labels on every field are copied from those pages.
The mistakes that quietly cost the rich result
Structured data errors don’t break your page. Google reads the markup, finds a value it can’t use, and skips the feature — and you find out weeks later in Search Console, if you look. The “Show common mistakes” button on each tab loads the ones we see most:
- A price with a currency symbol.
"price": "$89.00"is a string, not a number. The price is89.00; the currency isUSD, in its own property. - UK as a country code. The ISO code for the United Kingdom is
GB.UKlooks right, and is invalid. - Relative URLs.
/images/shoe.jpgworks in your HTML. In structured data Google asks for the full address, withhttps://and the domain. - A time without a time zone.An article published at 08:00 with no offset is read in Googlebot’s time zone, which can put the date a day out. (Events are the exception: Google uses the venue’s time zone.)
- Stars on your own business.Reviews of a business hosted on that business’s own site aren’t eligible for review stars, widget or not. It’s why the Local business tab has no rating field.
Check it, then ship it
This tool checks what Google’s documentation says. It isn’t Google’s validator, and doesn’t pretend to be: paste the output into the Rich Results Test before it goes live. Then make sure everything the markup says is visible on the page — a price, rating or opening time that visitors can’t see is against Google’s guidelines, and can earn a manual action that removes rich results from the whole site.
Once it’s live, Search Console reports errors per feature across every page. Errors there are worth fixing; warnings about missing recommended properties usually aren’t — our guide to the audit issues that matter sorts which is which.
What about AI Overviews?
Google says structured data isn’t required for its AI features, and there’s no special schema.org markup that gets you into them. Schema is still worth adding for the rich results above. It’s just not the lever for AI answers — our guide to ranking in AI Overviews covers what is, and AI Visibility tracks whether assistants mention you at all.
Questions
- What is schema markup?
- Schema markup — also called structured data — is a block of code that states facts about a page in a format search engines read directly: this is a product, it costs $89, it's in stock, it averages 4.6 stars. It uses the shared schema.org vocabulary. Google uses it to understand the page and to decide whether it's eligible for a rich result, such as stars, prices or event dates under the blue link.
- JSON-LD, microdata or RDFa — which should I use?
- JSON-LD. Google supports all three but recommends JSON-LD, because it sits in one script block instead of being woven through your HTML attributes, so it's easier to add, read and keep in sync. This tool only generates JSON-LD.
- Does schema markup improve rankings?
- Nothing in Google's documentation presents structured data as a way to rank higher. What it does is make a page eligible for a richer listing on searches it already ranks for — and a listing with stars or a price can earn more clicks than a plain one. Treat it as presentation, not position.
- Can I generate FAQ or HowTo schema here?
- No, on purpose. In August 2023 Google limited FAQ rich results to well-known government and health sites and dropped HowTo results entirely, and neither appears in its list of supported structured data features today. Generating that markup would give most sites code that changes nothing in search.
- How do I test my schema markup?
- Paste the code or the page URL into Google's Rich Results Test — it tells you which rich results the page is eligible for and flags anything Google can't use. For checking against the schema.org vocabulary in general, rather than Google's features, the Schema Markup Validator at validator.schema.org does that. After the page is live, Search Console's enhancement reports show errors across the whole site.
- Where do I put the code?
- Anywhere in the page's HTML — the head or the body; Google reads either. On WordPress, Shopify or Webflow, use the custom-code or header-scripts setting, or the schema field of your SEO plugin, which may want the JSON-LD only tab without the script tag. One block per item, on the page that item lives on.
- Can I add review stars to my own business's website?
- Not in a way Google will show. Its review snippet guidelines make reviews of a LocalBusiness or Organization ineligible when the business controls them — and that includes reviews pulled in through a Google or Facebook reviews widget. Stars on a product you sell, from your customers, are a different case and are allowed.
- My markup is valid. Why isn't the rich result showing?
- Valid markup makes a page eligible; it doesn't make Google show anything. Google decides per search, the page has to be indexed first, and the markup has to describe content visitors can actually see on the page. Some features are also limited by country or device — events by region, breadcrumbs to desktop.
- Do I need schema markup for AI Overviews?
- No. Google's own guidance is that structured data isn't required for generative AI search and there's no special schema.org markup to add for it. Schema is still worth having for regular rich results — it just isn't an AI Overviews lever.
- Is this tool free?
- Yes — no signup, no limit, and nothing you type leaves your browser. The markup is built and checked locally.
More free tools
- SERP Snippet PreviewSee where Google cuts your title and meta description — measured in pixels, not characters.
- Hreflang Tag GeneratorBuild the tags for every language version of a page, with the codes checked against the standards Google actually reads.
- Keyword Clustering ToolTurn a keyword export into groups you could write a page for — in your browser, with the list never leaving it.
- Striking Distance Keyword FinderDrop in a Search Console export and see the queries sitting just off page one, sorted by what they're already earning.
- Keyword Cannibalization CheckerFind the queries where two of your own pages are competing, and see how the impressions are split between them.
- Robots.txt Tester & GeneratorCheck whether a URL is blocked, and see which rule decided it — the test Search Console stopped offering.
- CTR Curve CalculatorBuild a click-through-rate curve from your own Search Console data instead of trusting someone else's study.
A rich result only helps on a search you already rank for.
Organic Keywords shows every query your site ranks for and the page ranking for it — so you know which pages are worth marking up first, and which need to rank before any markup will matter.