Skip to main content

How to Generate Schema Markup for Rich Results

Create valid JSON-LD schema markup for your web pages with our free Schema Generator. Get rich results in Google for articles, FAQs, products, and more.

Loading tool...

Steps

1

Choose your schema type

Select the schema type that matches your content. Common types: Article or BlogPosting for editorial content, Product for e-commerce, FAQ for pages with questions and answers, HowTo for instructional content, LocalBusiness for physical businesses, Recipe, Event, JobPosting, or Review. Each type enables specific rich result features in Google.

2

Fill in the required fields

Complete the mandatory fields for your chosen schema type. For Article: headline, author name, date published, date modified, image URL, and publisher. For Product: name, description, image, price, currency, and availability. For FAQ: each question and its answer. Required fields are clearly marked.

3

Add optional fields for richer data

Add as many additional properties as are accurate for your content. More complete schema gives Google more information to display in rich results. For LocalBusiness, add phone, address, opening hours, and geo-coordinates. For Product, add brand, SKU, and aggregate review rating.

4

Generate and validate

Click Generate to produce the JSON-LD code. Click Validate to open Google's Rich Results Test with your generated schema pre-loaded, or paste the schema into schema.org's validator. Fix any errors or warnings before implementing.

5

Implement in your HTML

Copy the generated JSON-LD and paste it inside a <script type='application/ld+json'> tag in the <head> or <body> of your page. For CMS platforms like WordPress, use an SEO plugin (Yoast, Rank Math) to add schema through the plugin interface instead of directly editing templates.

High-Impact Schema Types for Common Web Pages

Different schema types unlock different rich results features. FAQ schema is among the most impactful for content sites: it adds expandable question-and-answer dropdowns directly in the SERP, significantly increasing the space your result occupies. HowTo schema creates step-by-step instruction rich results with images for each step — highly effective for instructional content. Product schema enables review stars, price, and availability display in product search results. Article schema helps Google identify editorial content and enables Top Stories rich results for news sites. LocalBusiness schema enables the Knowledge Panel with business information, opening hours, and reviews. BreadcrumbList schema replaces the URL with a clean breadcrumb display. Implementing the most relevant schema for your primary content type is one of the highest-ROI technical SEO activities available.

Schema Markup Best Practices and Common Mistakes

The most important rule for schema markup is accuracy: only mark up content that is actually on the page and visible to users. Google's quality guidelines explicitly prohibit using schema to claim properties that are not reflected in the page content — marking a page as having 5-star reviews when there are no reviews, or using FAQ schema with questions that do not appear on the page. Other common mistakes: using the wrong schema type (using Recipe for a cooking blog post that is not a specific recipe), marking up pages that are blocked by robots.txt (Google cannot crawl them to verify the schema), implementing schema that contradicts the visible content, and using deprecated schema properties. Always validate with Google's Rich Results Test before and after implementation.

Frequently Asked Questions

Related Tools