Schema Markup Generator

JSON-LD for 13 schema types, checked against Google's required fields and formats as you type.

Runs in your browserNo sign-up required
A news, blog or magazine article.

Google has no required fields for articles; fill in the ones that apply. Fields marked * are required.

Google suggests large images in 16:9, 4:3 and 1:1.
Added to the dates as an offset, as Google recommends.
A page about the author, such as their profile page.
Recommended by Google: Headline, Image URLs (one per line), Published, Author name.
JSON-LD code

Paste it into the page's <head> or <body>. The details must match what visitors can see on that page.

Google Rich Results Test

Structured Data That Qualifies, Not Just Parses

Most schema generators hand back JSON whatever you type. This one checks each entry against the fields Google's documentation lists as required or recommended for that type, and writes dates, durations, prices and opening hours in the formats Google expects. You find problems before publishing, not weeks later in Search Console.

How to Use This Tool

  1. 1Choose a schema typePick what the page is about: an article, a product, your business, an event, a recipe, a video and so on.
  2. 2Fill in the formDates, times, opening hours and lists have their own inputs, so the code comes out in the format Google expects.
  3. 3Fix what the checks flagRed means Google requires it or the value is in the wrong format; amber means Google recommends it.
  4. 4Copy, then testCopy the script tag into your page, or send it to the Schema Checker or Google's Rich Results Test in one click.

Why the Validation Actually Matters

  1. 1Missing fields fail quietlyMarkup without a field Google requires is still valid JSON, so nothing warns you. The page just never gets the rich result. The checks here use the required and recommended lists from Google's documentation for each type.
  2. 2Formats matter as much as valuesGoogle asks for dates with a time zone offset (2026-11-08T18:30+05:30), durations like PT1H30M, three-letter currency codes and full URLs. The form writes these for you and flags anything that doesn't fit.
  3. 3No made-up dataSome generators fill in a review count of 1 when you only give a rating. Google's review guidelines require a real count, so this tool asks for one instead of inventing it.

Frequently Asked Questions

What is JSON-LD?

JSON-LD is the structured data format Google recommends. It describes the page in a way machines can read: what it is, who made it, what it costs, when it happens. Search engines use it for rich results, and AI assistants use it to understand and cite pages.

Where do I put the code?

Paste the whole <script type="application/ld+json"> block into the page's <head> or <body>. It isn't shown to visitors. Everything in it must match what visitors can see on that page.

Does this guarantee a rich result?

No. Correct markup makes a page eligible, but Google decides whether to show a rich result. After publishing, test the live page in the Rich Results Test and watch the Enhancements reports in Search Console.

Why can't I add star ratings to a local business?

Google doesn't show review stars for a business or organization that collects reviews about itself on its own site, including embedded review widgets. Ratings are available for products and apps.

Why do FAQ and HowTo show a notice?

In 2023 Google limited FAQ rich results to well-known government and health websites and stopped showing How-to rich results. The markup is still valid, and other search engines and AI assistants can read it.

When should I combine types in a @graph?

When one page describes several things, for example an Article, its BreadcrumbList and the Organization behind it. Google accepts either one @graph or separate script tags; one block is simply tidier to manage.

Where does the Website type go?

On your home page only. Google reads WebSite markup from the home page to choose the site name shown in search results.

Is it free?

Yes: no sign-up and no limit. Everything runs in your browser.