How the schema markup generator works
Choose a type, fill in the form, and the JSON-LD updates as you type. Each field is marked Required, Recommended or Optional according to Google’s documentation, formats such as ISO 8601 dates and durations are checked, and errors and warnings appear in a list beside the output. When it looks right, copy the JSON-LD, the complete script tag or a Next.js snippet.
Each type also has its own page with the full property table, the mistakes people make with that type and a worked example, linked below.
Which schema types does Google still show?
Google changes which structured data features it supports. Each generator page shows the current status and the date it was verified. In short:
- FAQ (FAQPage): rich result limited to a narrow set of sites.
- Local Business (LocalBusiness): eligible for a rich result.
- Product (Product): eligible for a rich result.
- Article (Article): eligible for a rich result.
- Event (Event): eligible for a rich result.
- Recipe (Recipe): eligible for a rich result.
- HowTo (HowTo): rich result no longer shown.
- Breadcrumb (BreadcrumbList): eligible for a rich result.
- Organization (Organization): eligible for a rich result.
- Video (VideoObject): eligible for a rich result.
- Job Posting (JobPosting): eligible for a rich result.
How to add JSON-LD to your page
JSON-LD goes in a script tag with the type application/ld+json, in the head or the body of the page. It does not change how the page looks. In Next.js, render the tag with dangerouslySetInnerHTML from a server component, escaping any less-than signs, which the generator’s Next.js tab does for you.
After adding it, test the page with Google’s Rich Results Test and watch the Enhancements reports in Search Console for errors.
Structured data guidelines that apply to every type
- Mark up only what is visible on the page. Hidden or misleading markup can lead to a manual action.
- Use the most specific type that fits, and fill in the recommended properties, not just the required ones.
- Keep the markup accurate as the page changes: prices, dates and availability that no longer match the page are worse than no markup.
- Valid markup makes a page eligible for a rich result; it does not guarantee one.
How to use it
- Pick the schema type that matches your page.
- Fill in the form, or edit the worked example.
- Fix any errors in the validation list.
- Copy the markup into your page and test it.
Frequently asked questions
What is JSON-LD?
JSON-LD is a way of writing structured data as a block of JSON in a script tag. It is the format Google recommends for schema.org markup, and it sits separately from your visible HTML.
Which schema types should I use?
The ones that describe what the page really is: Article for a blog post, Product for a product page, Event for an event, Recipe for a recipe, and so on. Do not add a type only to try to get a rich result.
Does schema markup improve rankings?
Google does not say that structured data is a ranking factor. It helps Google understand a page and can make it eligible for rich results, which can improve how the result looks and how often it is clicked.
How do I test my structured data?
Use Google’s Rich Results Test on the page URL or the code, and the Search Console Enhancements reports after the page is live. This generator also validates fields as you type.
Why does the generator say some rich results are no longer shown?
Because Google has retired or restricted some of them: HowTo rich results were removed in 2023 and FAQ rich results are limited to well-known authoritative government and health sites. The generator warns you rather than letting you expect a result that will not appear.
Is my data sent anywhere?
No. The markup is generated in your browser from what you type, and nothing you enter is uploaded or stored.
Valid markup makes a page eligible for a rich result; it does not guarantee one. Google decides what to show.