SEO2024-04-28

Schema Markup Tutorial: Get Rich Snippets in Google (Step by Step)

Schema markup gives you stars, FAQs, and breadcrumbs in Google search results. Here's exactly how to add it — no coding required.

#schema#seo#rich-snippets#json-ld#google

你以为写了好内容Google就会给你排名?太天真了。

Schema markup is the difference between a plain search result and one that dominates the page with stars, FAQs, and breadcrumbs. Here's how to implement it.

What Schema Markup Does

Without schema:

My Restaurant - New York
★★★★★ 4.8 · $$ · Italian

Wait — those stars ARE schema markup. Without it, you just get:

My Restaurant - New York
https://www.myrestaurant.com
A great Italian restaurant in the heart of...

See the difference? Schema = rich results = more clicks.

Types of Schema You Need

1. Organization Schema (Homepage)

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Your Company",
  "url": "https://www.yoursite.com",
  "logo": "https://www.yoursite.com/logo.png",
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+1-xxx-xxx-xxxx",
    "contactType": "customer service"
  }
}

2. Article Schema (Blog Posts)

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Your Article Title",
  "author": { "@type": "Person", "name": "Author Name" },
  "datePublished": "2024-02-25",
  "image": "https://www.yoursite.com/featured-image.jpg"
}

3. FAQ Schema (FAQ Pages)

The most powerful schema for CTR. Shows expandable Q&A directly in Google.

4. BreadcrumbList Schema (All Pages)

Shows the navigation path: Home > Blog > Article Title

How to Generate Schema

Option 1: Write JSON-LD manually (tedious, error-prone) Option 2: Use a Schema Generator — select your schema type, fill in the fields, copy the JSON-LD.

Validate Before Publishing

Google is strict. Invalid schema = no rich snippets. Always validate:

  1. Use Google's Rich Results Test
  2. Check for required fields
  3. Verify the JSON is valid with a JSON Formatter

Common Mistakes

  1. Schema doesn't match visible content — Google will penalize you
  2. Missing required fields — Each schema type has mandatory properties
  3. Using microdata instead of JSON-LD — Google prefers JSON-LD
  4. Not updating schema when content changes — Stale schema = stale results

Generate valid schema markup in seconds with our free Schema Generator — supports Article, FAQ, HowTo, Product, and more.

🛠

Try It Yourself

Put what you've learned into practice with our free online tools.

Explore More Developer Tools

Discover more tools and tutorials in this category

Browse Category →