Schema Markup Generator (JSON-LD)
JSON-LD for 11 schema types, checked against Google's rules. Runs in your browser.
About this schema markup generator (json-ld)
This schema markup generator writes JSON-LD structured data for 11 common page types and checks it against Google's current rules as you type. Fill in a form for an article, product, local business, event, recipe, video or another type, and copy a ready <script> block into your page.
Each field is marked required or recommended, based on Google Search Central's documentation as it stood in October 2026. Problems show up straight away with the property name: a price written as "$28", a date with no time zone, a breadcrumb with only one level. A second mode checks markup you already have, including whole HTML pages with several blocks.
It's built for site owners, SEOs and developers who want correct markup without reading the spec. Every value stays in your browser. If you also need title and Open Graph tags, the meta tag generator covers those.
Features
11 types with real examples
Article (and BlogPosting or NewsArticle), FAQPage, HowTo, Product, LocalBusiness with 28 subtypes, Organization, BreadcrumbList, Event, Recipe, VideoObject and Person. Each opens with a filled-in example that passes with zero errors.
Honest status for each type
A note at the top says what Google does with the type today. FAQ rich results stopped on May 7, 2026 and How-to results in September 2023, so those forms say so instead of promising rich results.
Live validation with property paths
Errors, warnings and notes name the exact property, such as offers.priceCurrency or itemListElement[1].item, and say how to fix it. Checks cover missing required fields, URL format, ISO 8601 dates and durations, currency codes, rating counts and more.
Friendly inputs, correct output
Type a recipe time as 1h 15m or a video length as 4:32 and the tool writes PT1H15M or PT4M32S. Date-times get your device's UTC offset. Availability becomes the full https://schema.org/InStock value.
Check existing JSON-LD
Paste a JSON object, an @graph or a page's HTML. Every application/ld+json block is parsed, syntax errors are explained, and each node is checked against the same rules as the generator.
Repeating groups that keep order
Add authors, questions, steps, reviews, opening hours, contact points or breadcrumb levels. Steps and breadcrumbs can be moved up and down, and positions are numbered for you.
How to use the schema markup generator (json-ld)
- 1Pick a schema type such as Product, Recipe or LocalBusiness.
- 2Fill in the form; required and recommended fields are marked and checked live.
- 3Copy the JSON-LD block into your page, or paste existing markup in Check mode.
When to use it
Getting stars and prices on product pages
Fill in the Product form with price, currency, stock and your real review average. The checker makes sure you have the one-of offers, review or aggregateRating that Google needs. You can preview the result with stars and price before you publish.
Putting a shop or clinic on the map
LocalBusiness with address, phone, opening hours and coordinates helps Google match your site to your Business Profile. The tool warns if the latitude has fewer than five decimals.
Marking up a recipe blog
Recipe needs a name and a photo, and does best with times, ingredients, steps, calories and ratings. The form flags calories without a serving count, which Google treats as an error.
Checking what a plugin wrote
View your page source, copy everything, and paste it into Check mode. You'll see every block your CMS or plugins added and which ones have problems. For a single minified block, format the JSON first so it's easier to read.
What is JSON-LD schema markup?
JSON-LD is a way of describing a page's content to machines, using the schema.org vocabulary inside a <script type="application/ld+json"> tag. It says "this page is a recipe, the name is X, it takes 20 minutes" in a form search engines and AI systems can read without guessing.
Google recommends JSON-LD over Microdata and RDFa because it sits in one block, separate from your HTML. You can put it in the head or the body. The values must match what visitors see on the page; markup for content that isn't there breaks Google's guidelines.
Which schema types still get rich results in Google?
Google's search gallery, updated in October 2026, lists 25 features. Of the types in this tool, Article, Product snippets, Local business, Organization, Breadcrumb, Event, Recipe, Video and Profile page are all on it. Valid markup makes a page eligible. It doesn't guarantee the feature will appear.
Two popular types have lost their Google features. How-to rich results were dropped on mobile in August 2023 and on desktop on September 13, 2023. FAQ rich results, already limited to government and health sites since 2023, stopped showing for everyone on May 7, 2026. The markup is still valid schema.org, other search engines and AI tools can read it, and Google says there's no need to remove it.
Required vs recommended properties
"Required" here means Google won't consider the page for the feature without it. "Recommended" means the feature can work without it, but more complete markup tends to be shown more often and with more detail. schema.org itself marks nothing as required.
A few rules from Google's pages that catch people out:
- Product needs a name plus at least one of offers, review or aggregateRating.
- An aggregateRating needs ratingValue and either ratingCount or reviewCount.
- LocalBusiness requires name and address. Event requires name, startDate and a physical location with an address.
- Recipe requires name and image. VideoObject requires name, thumbnailUrl and uploadDate.
- A breadcrumb needs at least two items. Only the last one may leave out its URL.
- Reviews a business collects about itself aren't eligible for stars on LocalBusiness or Organization markup.
How do I add the code and test it?
Copy the block and paste it into the page template, ideally in the <head>. In WordPress, a header-scripts plugin or your theme's custom code box works. Publish, then run the live URL through Google's Rich Results Test, which renders JavaScript and shows which features the page qualifies for. The Schema Markup Validator at validator.schema.org checks the vocabulary for every type.
After a few days, Search Console's enhancement reports show how many pages Google found with each type and any errors it saw while crawling.
Why use Mavros
| Mavros | Typical upload sites | |
|---|---|---|
| Rules source | Google's docs, checked October 2026 | Unclear, often years old |
| FAQ and How-to | Generated, with a clear retired notice | Still sold as a rich result trick |
| Validation | Live, with property paths and fixes | Send the code to another site |
| Existing markup | Paste JSON or full HTML to check | Not supported |
| Durations and dates | Typed naturally, written as ISO 8601 | You type PT1H30M yourself |
| Privacy | Runs in your browser | Form data sent to a server |
Tips
- Write dates with a time zone. 2026-12-05T17:00+00:00 is clear; 2026-12-05T17:00 makes Google assume its own zone.
- Write prices as plain numbers: 28.00 with priceCurrency USD, never "$28".
- Use absolute URLs for images and links. A relative path like /img/mug.jpg is an error.
- Keep one main type per page. A product page is a Product, not also an Article.
- Check the visible text matches. If the page says 4.6 stars, the markup can't say 4.8.
- Link your Organization's sameAs to real profiles. Then check how the page looks when shared on social apps too.
Questions
Is JSON-LD better than Microdata?
For most sites, yes. Google recommends JSON-LD because it sits in one script block and doesn't tangle with your HTML. All three formats (JSON-LD, Microdata, RDFa) are supported, and the meaning is the same.
Does schema markup improve rankings?
Not directly. Structured data helps Google understand the page and makes it eligible for rich results, which can lift clicks. It isn't a ranking boost on its own.
Does FAQ schema still work in 2026?
Not in Google. FAQ rich results stopped showing on May 7, 2026. FAQPage is still valid schema.org that other search engines and AI tools can read, and Google says existing markup doesn't need to be removed.
Where do I put the JSON-LD code?
Anywhere in the HTML, usually inside the <head>. Google reads it in the body too, and it can be injected with JavaScript, though server-rendered markup is more reliable.
Can I have more than one schema type on a page?
Yes. A product page can carry Product and BreadcrumbList, and a home page often has Organization and WebSite. Use separate script blocks or an @graph. The checker reads both.
Why doesn't Google show my rich result even though there are no errors?
Valid markup only makes the page eligible. Google decides per search whether to show the feature, based on quality, relevance and the device. Check Search Console for errors, and give it time after publishing.
Can I mark up reviews of my own business?
You can, but Google won't show stars for them. Reviews a LocalBusiness or Organization controls about itself are self-serving under Google's review snippet rules, even through a third-party widget.
Does this tool send my data anywhere?
No. The forms, the JSON-LD and the checker all run in your browser. Nothing is uploaded, so you can draft markup for pages that aren't public yet.