Schema Markup Generator
Generate valid JSON-LD structured data for 20 schema types with built-in validation, rich result previews, and industry templates. Boost your search visibility and qualify for Google rich results.
Blog posts, news articles, editorial content
Properties
{
"@context": "https://schema.org",
"@type": "Article"
}Generate valid schema in three steps
No coding knowledge needed. Select a schema type, fill in your details, and get production-ready JSON-LD code.
Select Schema Type
Choose from 20 schema types organized by category. Each type includes a description of when to use it and what rich results it can trigger.
Fill in Details
Enter your information using the dynamic form. Required fields are marked, and each field includes helper text so you know exactly what to enter.
Copy and Implement
Copy the generated JSON-LD code and paste it into your website. Use the built-in validator to check for errors before implementation.
What Is Schema Markup and Structured Data?
Schema markup is a standardized vocabulary of code that you add to your website to help search engines understand your content. Developed collaboratively by Google, Microsoft, Yahoo, and Yandex through the Schema.org initiative, schema markup provides a shared language for describing web content in a way that machines can reliably interpret.
Structured data is the broader concept of organizing information in a predictable format. Schema markup is the most widely adopted implementation of structured data on the web. When you add schema markup to a page, you are creating a structured description of what that page contains, whether it is an article, a product, a business listing, a recipe, or any of hundreds of other content types.
The practical benefit is straightforward: search engines that understand your content can display it more prominently. Instead of showing a plain blue link with a title and description, Google can show star ratings, prices, availability, FAQ dropdowns, recipe cards, event details, and other enhanced displays known as rich results. These rich results attract more clicks because they provide immediate value to searchers before they even visit your page.
Schema markup lives in your HTML source code but is invisible to visitors. It does not change how your page looks in a browser. Think of it as metadata specifically designed for search engines, a behind-the-scenes layer that makes your content easier to index, categorize, and display.
Why Schema Markup Matters for SEO in 2026
While Google has said that schema markup is not a direct ranking factor, its indirect benefits for SEO are significant and measurable. Here is why schema markup should be part of every SEO strategy.
Higher click-through rates. Rich results consistently outperform standard search listings. Studies show that pages with rich results see 20-30% higher CTR compared to plain listings. FAQ schema can add expandable questions directly in your search result, taking up more visual space and pushing competitors further down the page. Product schema shows star ratings and prices, giving shoppers the information they need to click.
Better content understanding. Schema markup removes ambiguity for search engines. Without structured data, Google has to guess whether "Apple" on your page refers to the company, the fruit, or the record label. Schema markup makes the meaning explicit, which helps Google match your content to the right queries.
Voice search and AI optimization. As voice assistants and AI-powered search features become more prevalent, structured data becomes critical. Google Assistant, Siri, and AI Overviews pull answers from pages with clear structured data. FAQPage schema is particularly effective because its question-and-answer format maps directly to how voice queries work.
Competitive advantage. Despite its benefits, structured data adoption remains low. Most websites either have no schema markup or have incomplete implementations with errors. Properly implementing schema markup across your site puts you ahead of the majority of competitors who are leaving this opportunity untapped.
Future-proofing. Google continues to expand the types of rich results it displays and the schema types it supports. Sites with strong structured data foundations are positioned to benefit from new rich result features as they launch, without needing to scramble for implementation.
JSON-LD vs Microdata vs RDFa: Which Format to Use
There are three ways to add schema markup to your website. Each uses the same Schema.org vocabulary but implements it differently in your HTML.
JSON-LD (recommended). JSON-LD embeds structured data as a JavaScript Object Notation script in your HTML. It is completely separate from your visible page content and can be placed in the head or body of your page. Google explicitly recommends JSON-LD as the preferred format. The main advantages are that it does not require modifying your existing HTML, it is easier to maintain and debug, and it can represent complex nested relationships cleanly. Our generator produces JSON-LD output exclusively because it is the best format for the vast majority of use cases.
Microdata. Microdata adds structured data directly to your HTML elements using attributes like itemscope, itemtype, and itemprop. The advantage is that the structured data is tied directly to the visible content, which can reduce discrepancies. The disadvantage is that it requires modifying your HTML templates, can be fragile when layouts change, and is harder to maintain on complex pages. Microdata is still supported by all major search engines but is less common in new implementations.
RDFa. RDFa (Resource Description Framework in Attributes) is similar to Microdata in that it adds attributes to HTML elements. It uses attributes like typeof, property, and vocab. RDFa is more flexible than Microdata for complex linked data scenarios but is rarely used for basic SEO implementations. Unless you have a specific technical requirement for RDFa, JSON-LD is the better choice.
Here is a comparison of a simple Article markup in JSON-LD format:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Add Schema Markup to Your Website",
"author": {
"@type": "Person",
"name": "John Smith"
},
"datePublished": "2026-01-15",
"publisher": {
"@type": "Organization",
"name": "Your Company"
}
}
</script>Essential Schema Types for Every Website
Not every schema type is relevant to every website. Here is a guide to the most impactful types organized by business need.
For all websites: Organization and WebSite. Every website should have Organization schema on the homepage with your company name, logo, contact information, and social media profiles. WebSite schema enables the sitelinks search box in Google results, letting users search your site directly from the search page. These two types form the foundation of your structured data strategy.
For content publishers: Article and NewsArticle. If you publish blog posts, news, or editorial content, Article schema helps Google understand your content structure, authorship, and publication dates. NewsArticle is specifically for time-sensitive news content. Both can trigger the Top Stories carousel and article-specific rich results.
For e-commerce: Product. Product schema is essential for any page selling a product. It enables rich results showing price, availability, star ratings, and review counts. These rich results significantly improve CTR for commercial queries. Always include Offer (price and availability) and AggregateRating sub-types for maximum impact.
For local businesses: LocalBusiness. If you have a physical location, LocalBusiness schema tells Google your address, phone number, opening hours, price range, and service area. Use the most specific subtype available, such as Dentist, Attorney, Restaurant, or AutoRepair, rather than the generic LocalBusiness type. This improves visibility in local search and Google Maps.
For service providers: Service. Service schema describes what services you offer, your service area, pricing, and provider details. This is valuable for any business that provides services rather than sells products, from plumbers to consultants to SaaS companies.
For Q&A and tutorials: FAQPage and HowTo. FAQPage schema turns your frequently asked questions into expandable dropdowns directly in search results, dramatically increasing your listing size. HowTo schema displays step-by-step instructions with images and time estimates. Both are powerful for capturing featured snippet and People Also Ask positions.
For events: Event. If you host events, workshops, or webinars, Event schema shows dates, locations, ticket prices, and availability directly in search results. Google also includes events in its dedicated Events search feature and Google Maps event listings.
How to Add Schema Markup to Your Website
Once you generate your JSON-LD code, adding it to your website depends on your platform. Here is how to implement schema markup on the most popular website platforms.
Plain HTML. Copy the generated JSON-LD code (including the script tags) and paste it into the <head> section of your HTML page, or just before the closing </body> tag. Either location works, but the head is preferred for consistency.
WordPress. You have several options. The simplest is using an SEO plugin like Yoast SEO or Rank Math, which provides built-in schema settings for common types. For custom schema, you can paste JSON-LD into a Custom HTML block in the page editor, add it via the theme header in Appearance > Theme Editor, or use a dedicated schema plugin like Schema Pro. If you use a page builder like Elementor or Divi, look for custom code or HTML widgets.
Shopify. Edit your theme.liquid file and paste the JSON-LD code in the head section. For product-specific schema, edit the product.liquid template. Many Shopify themes include basic Product schema by default, but you may need to customize it or add additional types. Shopify also has schema apps in the App Store that automate implementation.
Webflow. Go to your page settings, scroll to the Custom Code section, and paste the JSON-LD in the Head Code field. For site-wide schema like Organization, add it to the global custom code in Project Settings > Custom Code. Webflow makes this straightforward because there is a clear separation between page-level and site-level custom code.
Next.js and React. Create a JsonLd component that renders a script tag with type "application/ld+json" and dangerouslySetInnerHTML. In Next.js App Router, you can include this component in your page.tsx files or layout.tsx for site-wide schema. For metadata-only approaches, Next.js also supports JSON-LD through the metadata API.
Wix. Go to Settings > Advanced > Custom Code and add the JSON-LD code. You can choose to apply it to specific pages or all pages. Wix also has built-in schema settings under SEO > Schema Markup for common types like LocalBusiness and Organization.
Schema Markup Best Practices
Following these best practices ensures your schema markup is effective and follows search engine guidelines.
Only mark up visible content. Your schema markup should describe content that is actually visible on the page. Google penalizes schema that describes content users cannot see. If your Product schema includes a price, that price must be visible on the page. If your FAQ schema lists questions, those questions must appear in the page content.
Use the most specific type available. Instead of using the generic LocalBusiness type, use Dentist, Restaurant, or Attorney if applicable. Instead of generic Article, use NewsArticle for time-sensitive news. More specific types give search engines better context and may qualify for type-specific rich results.
Include all recommended properties. While only a few properties are required for each type, Google recommends additional properties for rich result eligibility. For example, Product schema requires name, but Google recommends also including image, description, offers (with price and availability), and aggregateRating for the best rich result display. Our generator marks both required and recommended fields.
Keep data accurate and up to date. Stale schema markup hurts credibility. Update Product prices and availability as they change. Remove Event schema after events end. Update LocalBusiness hours during holidays. Google Search Console will flag discrepancies between your schema and page content.
Test before publishing. Always validate your schema markup before adding it to your live site. Use our built-in Validator tab, then test with Google Rich Results Test to confirm eligibility for specific rich result types. Check Google Search Console after implementation to verify Google has processed your markup correctly.
Do not spam or mislead. Schema markup must accurately represent your page content. Do not add fake reviews, misleading prices, or schema types that do not match your content. Google actively penalizes schema spam and may remove rich results or apply manual actions to sites that violate their guidelines.
Rich Results: What They Are and How to Qualify
Rich results are enhanced search listings that display additional information pulled from your schema markup. They are the primary visual payoff of implementing structured data. Here are the most common rich result types and what schema triggers them.
FAQ rich results. Triggered by FAQPage schema. Shows expandable question and answer pairs directly in your search listing. Each question can be expanded to reveal the full answer without leaving the search page. This dramatically increases the visual space your listing occupies, pushing competitors lower on the page.
Product rich results. Triggered by Product schema with Offer and AggregateRating. Shows star ratings, review count, price, and availability status next to your listing. Essential for e-commerce pages competing in product searches.
Recipe rich results. Triggered by Recipe schema. Shows an image thumbnail, star rating, cooking time, and calorie count. Recipe rich results can also appear in Google Images and the dedicated recipe carousel.
Event rich results. Triggered by Event schema. Shows event dates, times, venue names, and ticket information. Events can also appear in the dedicated Google Events section and Google Maps.
How-to rich results. Triggered by HowTo schema. Shows step-by-step instructions with images and time estimates. Useful for tutorials, guides, and process documentation.
Job posting rich results. Triggered by JobPosting schema. Shows job title, company, location, salary range, and posting date. Jobs appear in the dedicated Google for Jobs section, which is a separate search experience.
Local business knowledge panel. Triggered by LocalBusiness schema combined with a Google Business Profile. Shows your business information including address, hours, phone number, reviews, and photos in a prominent panel on the right side of search results.
To qualify for rich results, your schema must be error-free, follow Google guidelines, and be on a page that meets quality standards. Not every page with valid schema will show rich results since Google ultimately decides based on the query, user location, device, and other factors.
Common Schema Markup Mistakes to Avoid
Even experienced developers make schema markup mistakes. These are the most common errors and how to avoid them.
Missing required properties. Each schema type has properties that Google requires for rich result eligibility. For example, Product schema needs at least a name, and Offer needs price and priceCurrency. Our generator marks required fields and validates completeness before you copy the code.
Invalid JSON syntax. A single missing comma, unclosed bracket, or unescaped quote will break your entire JSON-LD block. Search engines will ignore syntactically invalid JSON. Always validate your code before implementation. Our generator produces clean, valid JSON automatically.
Schema that does not match page content. Adding Product schema to a blog post, or FAQPage schema when your page has no visible FAQ section, violates Google guidelines. This can result in manual actions or removal of rich results across your site. Schema must describe content that users can actually see on the page.
Using generic types instead of specific subtypes. Adding LocalBusiness schema when your business is specifically a Dentist, Restaurant, or Attorney misses an opportunity for more targeted indexing. Google uses the specific type to improve matching for niche queries.
Duplicate schema markup. Having multiple conflicting schema blocks describing the same entity confuses search engines. This often happens when a CMS plugin adds schema automatically and you also add manual schema markup. Audit your pages to ensure there is only one schema block per entity type.
Not updating schema when content changes. A product page with schema showing a price of $29.99 while the visible page shows $39.99 is a mismatch that can trigger warnings in Google Search Console. Automate schema updates where possible, especially for dynamic content like prices, availability, and events.
Schema Markup for Voice Search and AI Answer Engines
As search evolves beyond traditional text results, schema markup becomes even more critical. Voice assistants, AI answer engines, and conversational search interfaces all rely on structured data to extract and present information.
Voice search optimization. When someone asks Google Assistant or Siri a question, the response often comes from pages with clear structured data. FAQPage schema is the most directly applicable because its question-and-answer format matches voice query patterns exactly. Speakable schema (which our generator supports) explicitly marks content that is appropriate for text-to-speech playback.
AI Overview optimization. Google AI Overviews and similar AI-generated answer panels pull information from trusted sources. Pages with comprehensive structured data are easier for AI systems to parse, cite, and reference. HowTo schema provides clear step-by-step information that AI can present as instructional answers. Product schema provides the specific data points (price, availability, ratings) that AI needs for shopping queries.
Answer Engine Optimization (AEO). AEO is the practice of optimizing content to be the source for AI-generated answers. Structured data is foundational to AEO because it provides the machine-readable context that AI systems need. Sites with robust schema markup are more likely to be cited in AI answers, knowledge panels, and featured snippets, which all serve as source material for voice and AI responses.
The trend is clear: as search becomes more conversational and AI-driven, the websites that provide the clearest structured data will capture the most visibility. Implementing schema markup today positions your site for the search landscape of tomorrow.
Schema markup questions answered
Everything you need to know about structured data, JSON-LD, and getting rich results in Google search.
Schema markup is a standardized vocabulary of tags (structured data) that you add to your HTML to help search engines understand your content better. It uses the Schema.org vocabulary, maintained by Google, Microsoft, Yahoo, and Yandex. When search engines understand your content through schema markup, they can display rich results like star ratings, FAQ dropdowns, recipe cards, event details, and product prices directly in search results. Schema markup does not change how your page looks to visitors but provides machine-readable context that improves how search engines interpret and display your pages.
JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding structured data using JSON. Google officially recommends JSON-LD over Microdata and RDFa because it is the easiest to implement, maintain, and debug. JSON-LD is added as a script tag in your HTML head or body, completely separate from your visible page content. This separation means you can add, modify, or remove structured data without touching your HTML templates. It also makes JSON-LD less prone to errors since it does not depend on your page layout or CSS classes.
Google has stated that schema markup is not a direct ranking factor. However, schema markup significantly improves your search appearance through rich results, which increases click-through rates (CTR). Studies show that rich results can boost CTR by 20-30% compared to standard search listings. Higher CTR sends positive engagement signals to Google, which can indirectly improve rankings over time. Additionally, schema markup helps Google understand your content context better, which improves content relevance matching for search queries.
The most impactful schema types for SEO depend on your content. For most websites, Organization and WebSite schema should be implemented site-wide. For content sites, Article or BlogPosting schema is essential. E-commerce sites benefit most from Product schema with offers and reviews. Local businesses should prioritize LocalBusiness schema with address, hours, and ratings. Service businesses need Service schema. FAQ Page and HowTo schema are valuable for any page with question-and-answer or step-by-step content because they trigger expandable rich results that dominate search real estate.
The simplest method is to generate JSON-LD code using this tool, then paste the script tag into your page HTML. For WordPress, you can add it via a plugin like Yoast SEO, Rank Math, or by pasting the code into your theme header.php or a custom HTML widget. For Shopify, add it to your theme.liquid file or use a schema app. For Webflow, use the custom code section in page settings. For Next.js or React, create a component that renders the JSON-LD in a script tag. Always place the JSON-LD script in the head tag or at the top of the body tag for best results.
No. Adding valid schema markup makes your page eligible for rich results, but Google decides whether to display them. Google considers several factors: the markup must be error-free and follow their structured data guidelines, the page must meet their quality guidelines, the page must be indexed, and Google must determine that a rich result is appropriate for the query. Some rich result types like FAQ and HowTo have been restricted in recent Google updates. Even with perfect schema, Google may choose not to show a rich result for every query.
JSON-LD is a standalone script block added to your HTML, separate from the visible content. Microdata uses HTML attributes (itemscope, itemtype, itemprop) added directly to your existing HTML elements. RDFa also uses HTML attributes (typeof, property, vocab) embedded in your markup. Google recommends JSON-LD because it is easier to add, maintain, and troubleshoot. Microdata and RDFa require modifying your HTML structure and can break if you change your page layout. JSON-LD also makes it easier to represent nested relationships and multiple entities on a single page.
Use Google Rich Results Test (search.google.com/test/rich-results) to check if your schema qualifies for rich results. Use Schema Markup Validator (validator.schema.org) to validate against the full Schema.org vocabulary. Our built-in Validator tab checks for required fields, correct data types, valid URLs, and common mistakes before you even add the code to your site. After implementation, check Google Search Console under the Enhancements section to see if Google detected any schema errors on your live pages.
Yes. In fact, it is recommended to use multiple schema types where relevant. A typical page might include Organization schema (site-wide), WebSite schema (for sitelinks search box), BreadcrumbList schema (for navigation), and a content-specific type like Article, Product, or FAQPage. You can add multiple JSON-LD script blocks to the same page, or combine multiple types in a single JSON-LD block using the @graph property. Each schema type should describe a distinct entity or aspect of the page.
Rich results (formerly called rich snippets) are enhanced search result displays that show additional information beyond the standard title, URL, and description. Examples include star ratings for products and recipes, FAQ dropdowns with expandable questions, event listings with dates and prices, recipe cards with images and cooking times, job posting details with salary and location, how-to steps, video thumbnails with duration, and breadcrumb navigation paths. Rich results are triggered by valid schema markup and make your listing more visually prominent, increasing the likelihood of clicks.
Schema markup provides the structured context that voice assistants and AI systems need to extract precise answers. When Google Assistant, Siri, or Alexa answer voice queries, they often pull from pages with clear structured data. FAQPage schema is particularly effective for voice search because it provides question-and-answer pairs that directly match how people speak queries. Additionally, as AI-powered search experiences (like Google AI Overviews) become more prevalent, structured data helps AI systems understand and cite your content accurately in generated responses.
If your schema markup has syntax errors (invalid JSON), search engines will ignore it entirely. If it has structural errors (missing required fields or wrong data types), you will see warnings or errors in Google Search Console under the Enhancements section. Pages with schema errors will not qualify for rich results. Common errors include missing required properties, invalid URL formats, incorrect date formats (must be ISO 8601), and mismatched schema types. Our Validator tab catches these issues before you implement the code.
Google, Bing, Yahoo, and Yandex all support Schema.org vocabulary. However, each search engine supports different schema types and displays rich results differently. Google has the most comprehensive rich result support and is the primary target for most SEO efforts. Bing supports schema markup and uses it for its own rich result formats. Social media platforms like Facebook and Twitter use Open Graph and Twitter Cards respectively, which are separate from Schema.org but serve a similar purpose for social sharing previews.
LocalBusiness is a Schema.org type for businesses with a physical location. It includes properties like name, address, phone number, opening hours, geo coordinates, and price range. The real power of LocalBusiness is its subtypes, which tell Google exactly what kind of business you are. Important subtypes include Dentist, Attorney, Restaurant, AutoRepair, BeautySalon, HealthClub, RealEstateAgent, Plumber, Electrician, and many more. Using the most specific subtype improves your chances of appearing in relevant local searches and Google Maps results.
Update schema markup whenever the underlying data changes. For Product schema, update prices, availability, and reviews regularly. For Event schema, update or remove events after they pass. For LocalBusiness, update hours during holidays or seasonal changes. For Article schema, update the dateModified field when content is revised. Review your schema at least quarterly and whenever Google releases new structured data guidelines or deprecates existing features. Monitor Google Search Console Enhancements reports monthly for any new errors or warnings.
Need help implementing schema markup at scale?
Our SEO team can audit your structured data, implement schema markup across your entire site, and monitor rich result performance. Free consultation, no obligation.
Get Free SEO ConsultationNeed expert help with technical SEO?
Schema markup is just one piece of the SEO puzzle. Our team handles the full technical stack so you can focus on growing your business.
Schema Implementation
Full structured data audit and implementation across your entire site with ongoing monitoring.
Technical SEO Audit
Comprehensive site audit covering crawlability, indexation, Core Web Vitals, and structured data.
Rich Result Monitoring
Track your rich result appearances, fix errors, and optimize for maximum search visibility.