Technical

Schema Markup

Structured data code added to web pages that helps search engines understand content and enables rich results like star ratings, FAQs, and recipe cards. Learn how to implement schema markup for better search visibility.

Quick Answer

  • What it is: Structured data code added to web pages that helps search engines understand content and enables rich results like star ratings, FAQs, and recipe cards. Learn how to implement schema markup for better search visibility.
  • Why it matters: Ensures search engines can crawl, index, and trust your site at scale.
  • How to check or improve: Check crawling directives, canonical tags, and response codes.

When you'd use this

Ensures search engines can crawl, index, and trust your site at scale.

Example scenario

Hypothetical scenario (not a real company)

A team might use Schema Markup when Check crawling directives, canonical tags, and response codes.

Common mistakes

  • Confusing Schema Markup with Canonical URL: The preferred version of a web page specified using the rel=canonical tag, telling search engines which URL to index when duplicate or similar content exists.
  • Confusing Schema Markup with Indexability: The ability of a web page to be added to a search engine's index, determined by technical factors like robots directives, canonical tags, and crawlability.

How to measure or implement

  • Check crawling directives, canonical tags, and response codes

Check your site's indexability with Rankwise

Start here
Updated Jan 11, 2025·8 min read

What is Schema Markup?

Schema markup (also called structured data) is code you add to your web pages that helps search engines understand your content. It uses a standardized vocabulary from Schema.org to provide explicit information about what's on your page.

Think of it as a translator: You tell search engines exactly what your content means, rather than relying on them to figure it out.

Example: Without schema, Google sees "4.5" as just text. With schema, Google knows "4.5" is a review rating out of 5 stars.

Why Schema Markup Matters

1. Enables Rich Results

Schema can trigger enhanced search appearances:

FeatureSchema TypeVisual Enhancement
Star ratingsReview, AggregateRating⭐⭐⭐⭐⭐ under title
FAQ dropdownsFAQPageExpandable questions in SERP
How-to stepsHowToStep-by-step preview
Recipe cardsRecipeImage, time, calories
Event listingsEventDate, location, tickets
Product infoProductPrice, availability

2. Improves Click-Through Rate

Rich results stand out visually and provide more information, leading to higher CTR:

  • Review snippets can increase CTR by 30%+
  • FAQ snippets expand SERP real estate
  • Visual elements attract attention

3. Helps Search Engines Understand Content

Explicit meaning helps Google:

  • Categorize content correctly
  • Match content to relevant queries
  • Understand relationships between entities

Structured data helps voice assistants:

  • Provide accurate answers
  • Extract specific information
  • Cite your content in voice responses

5. Powers AI and GEO

For AI-powered search:

  • Clear data structure aids AI understanding
  • Explicit information helps AI cite accurately
  • Entity recognition improves with schema

Schema Markup Formats

JavaScript Object Notation for Linked Data. Google recommends this format.

<script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "Article",
    "headline": "Understanding Schema Markup for SEO",
    "author": {
      "@type": "Person",
      "name": "Jane Smith"
    },
    "datePublished": "2025-01-15",
    "image": "https://example.com/article-image.jpg"
  }
</script>

Advantages:

  • Doesn't mix with HTML content
  • Easy to generate dynamically
  • Can be placed anywhere in HTML
  • Easier to maintain

Microdata

Schema embedded directly in HTML tags.

<article itemscope itemtype="https://schema.org/Article">
  <h1 itemprop="headline">Understanding Schema Markup</h1>
  <span itemprop="author">Jane Smith</span>
  <time itemprop="datePublished" datetime="2025-01-15"> January 15, 2025 </time>
</article>

Advantages:

  • Integrated with HTML
  • Validates content matches markup

Disadvantages:

  • More complex to implement
  • Harder to maintain
  • Can clutter HTML

RDFa

Another embedded format, less common.

Recommendation: Use JSON-LD unless you have specific reasons for other formats.

Common Schema Types

Article Schema

For blog posts, news articles, and content pages.

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Complete Guide to Schema Markup",
  "description": "Learn how to implement schema...",
  "image": "https://example.com/image.jpg",
  "author": {
    "@type": "Person",
    "name": "Jane Smith",
    "url": "https://example.com/author/jane"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Example Site",
    "logo": {
      "@type": "ImageObject",
      "url": "https://example.com/logo.png"
    }
  },
  "datePublished": "2025-01-15",
  "dateModified": "2025-01-20"
}

FAQ Schema

For pages with frequently asked questions. Can create expandable FAQ rich results.

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is schema markup?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Schema markup is structured data code that helps search engines understand your content."
      }
    },
    {
      "@type": "Question",
      "name": "Does schema help SEO?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, schema can improve visibility through rich results and better content understanding."
      }
    }
  ]
}

Product Schema

For e-commerce product pages.

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Wireless Headphones",
  "image": "https://example.com/headphones.jpg",
  "description": "Premium wireless headphones with noise cancellation",
  "brand": {
    "@type": "Brand",
    "name": "AudioTech"
  },
  "offers": {
    "@type": "Offer",
    "price": "149.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "seller": {
      "@type": "Organization",
      "name": "TechStore"
    }
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.5",
    "reviewCount": "1247"
  }
}

HowTo Schema

For instructional content with steps.

{
  "@context": "https://schema.org",
  "@type": "HowTo",
  "name": "How to Add Schema Markup",
  "description": "Step-by-step guide to implementing schema markup",
  "totalTime": "PT20M",
  "step": [
    {
      "@type": "HowToStep",
      "name": "Choose schema type",
      "text": "Identify the appropriate schema type for your content"
    },
    {
      "@type": "HowToStep",
      "name": "Generate JSON-LD",
      "text": "Create the structured data code in JSON-LD format"
    },
    {
      "@type": "HowToStep",
      "name": "Add to page",
      "text": "Insert the JSON-LD script into your page's HTML"
    }
  ]
}

Organization Schema

For your business/website.

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Company",
  "url": "https://example.com",
  "logo": "https://example.com/logo.png",
  "sameAs": [
    "https://twitter.com/example",
    "https://linkedin.com/company/example",
    "https://facebook.com/example"
  ],
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+1-555-123-4567",
    "contactType": "customer service"
  }
}

LocalBusiness Schema

For businesses with physical locations.

{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Joe's Coffee Shop",
  "image": "https://example.com/joes-coffee.jpg",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "Portland",
    "addressRegion": "OR",
    "postalCode": "97201"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 45.5231,
    "longitude": -122.6765
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "07:00",
      "closes": "18:00"
    }
  ],
  "telephone": "+1-555-123-4567"
}

Review Schema

For review content and ratings.

{
  "@context": "https://schema.org",
  "@type": "Review",
  "itemReviewed": {
    "@type": "Product",
    "name": "Product Name"
  },
  "author": {
    "@type": "Person",
    "name": "John Reviewer"
  },
  "reviewRating": {
    "@type": "Rating",
    "ratingValue": "4",
    "bestRating": "5"
  },
  "reviewBody": "This product exceeded my expectations..."
}

How to Implement Schema Markup

Step 1: Identify Appropriate Schema Types

Match schema to your content:

Content TypeSchema Type
Blog postArticle, BlogPosting
Product pageProduct
FAQ pageFAQPage
RecipeRecipe
EventEvent
VideoVideoObject
CourseCourse
Job postingJobPosting
ServiceService

Step 2: Create the JSON-LD

Use tools to generate:

Or code manually following Schema.org specifications.

Step 3: Add to Your Page

Place JSON-LD in the <head> or <body> of your HTML:

<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
    <script type="application/ld+json">
      {
        "@context": "https://schema.org",
        "@type": "Article",
        ...
      }
    </script>
  </head>
  <body>
    <!-- Page content -->
  </body>
</html>

Step 4: Validate Your Schema

Test before publishing:

Google Rich Results Test: https://search.google.com/test/rich-results

  • Shows eligibility for rich results
  • Identifies errors and warnings
  • Previews appearance

Schema Markup Validator: https://validator.schema.org/

  • Validates against Schema.org spec
  • Catches syntax errors

Step 5: Monitor in Search Console

After implementation:

  1. Go to Search Console → Enhancements
  2. View reports for each schema type
  3. Monitor errors and valid items
  4. Track rich result impressions

Schema Markup Best Practices

1. Only Mark Up Visible Content

Schema should describe content users can see on the page. Don't add schema for content that isn't present.

2. Be Accurate and Complete

  • Include all required properties
  • Add recommended properties when possible
  • Ensure data is accurate and up-to-date

3. Keep Schema Updated

  • Update prices when they change
  • Update availability status
  • Refresh dates and time-sensitive info

4. Follow Google's Guidelines

Google has specific rules:

  • No spammy or misleading content
  • Schema must reflect page content
  • Don't mark up hidden content
  • Follow format specifications

5. Use Specific Types

Use the most specific schema type available:

  • Recipe instead of just Article
  • SoftwareApplication instead of Product
  • MedicalClinic instead of LocalBusiness

6. Test After Changes

Always validate schema after:

  • Creating new pages
  • Updating content
  • Changing site templates
  • CMS or plugin updates

Schema and Rich Results

Eligible Rich Results by Schema Type

SchemaPossible Rich Result
ArticleArticle rich result
ProductProduct snippet, price
ReviewStar ratings
FAQPageFAQ accordion
HowToHow-to steps
RecipeRecipe card
EventEvent listing
VideoVideo carousel
LocalBusinessBusiness panel

Why Rich Results May Not Show

Even with valid schema, rich results aren't guaranteed:

  • Google decides based on query
  • Page must rank well already
  • Some niches have less rich result display
  • Manual actions can prevent display
  • A/B testing by Google

Schema and GEO

For AI-powered search optimization:

Why schema helps GEO:

  • AI systems understand structured data
  • Clear entity definitions aid citation
  • Explicit relationships help AI connect concepts
  • Schema provides context AI can use

GEO-focused schema tips:

  • Use Organization schema for brand recognition
  • Include author schema for E-E-A-T
  • Add sameAs for entity disambiguation
  • Be comprehensive with properties

Common Schema Mistakes

1. Invalid JSON Syntax

Missing commas, brackets, or quotes break schema entirely.

2. Wrong Schema Type

Using Product schema for a blog post, or Article for a recipe.

3. Missing Required Properties

Each schema type has required fields. Omitting them causes errors.

4. Marking Up Non-Visible Content

Schema must describe content actually on the page.

5. Self-Serving Reviews

Adding fake review schema or reviews for your own products violates guidelines.

6. Ignoring Errors in Search Console

Errors prevent rich results. Fix them promptly.

Frequently Asked Questions

Does schema markup directly improve rankings?

Schema itself isn't a direct ranking factor. However, it can improve CTR through rich results, and better search engine understanding may indirectly help relevance.

Is schema markup required?

No, but it's highly recommended. It's one of the few ways to actively communicate with search engines about your content.

How long until rich results appear?

After valid schema is implemented and indexed, rich results can appear within days to weeks. There's no guaranteed timeline.

Can I have multiple schema types on one page?

Yes. A recipe page might have Recipe, Article, and Organization schema. Use an array or multiple script blocks.

What if my schema is valid but I'm not getting rich results?

Rich results aren't guaranteed. Factors include: page quality, rankings, Google's algorithms, and A/B testing. Keep schema valid and focus on overall SEO.

Why this matters

Schema Markup influences how search engines and users interpret your pages. When schema markup is handled consistently, it reduces ambiguity and improves performance over time.

Common mistakes

  • Applying schema markup inconsistently across templates
  • Ignoring how schema markup interacts with canonical or index rules
  • Failing to validate schema markup after releases
  • Over-optimizing schema markup without checking intent
  • Leaving outdated schema markup rules in production

How to check or improve Schema Markup (quick checklist)

  1. Review your current schema markup implementation on key templates.
  2. Validate schema markup using Search Console and a crawl.
  3. Document standards for schema markup to keep changes consistent.
  4. Monitor performance and update schema markup as intent shifts.

Examples

Example 1: A site standardizes schema markup and sees more stable indexing. Example 2: A team audits schema markup and resolves hidden conflicts.

FAQs

What is Schema Markup?

Schema Markup is a core concept that affects how pages are evaluated.

Why does Schema Markup matter?

Because it shapes visibility, relevance, and user expectations.

How do I improve schema markup?

Use the checklist and verify changes across templates.

How often should I review schema markup?

After major releases and at least quarterly for critical pages.

  • Guide: /resources/guides/robots-txt-for-ai-crawlers
  • Template: /templates/definitive-guide
  • Use case: /use-cases/saas-companies
  • Glossary:
    • /glossary/canonical-url
    • /glossary/indexability

Put GEO into practice

Generate AI-optimized content that gets cited.

Try Rankwise Free
Newsletter

Stay ahead of AI search

Weekly insights on GEO and content optimization.