Have you ever searched for a recipe and seen cooking times and star ratings right in the results — while other pages just show a plain blue link? That extra information comes from schema markup.
Schema markup is a small block of code that tells Google exactly what your content is — a recipe, a product, an event, a set of questions — instead of leaving Google to guess.
Schema markup in plain English
Think of it like labelling boxes when you move house: without labels, someone has to open every box to find the plates. Google can read your words, but schema markup labels the important parts so there is no guessing.
Schema markup has two pieces: the vocabulary (schema.org), a shared list of labels everyone agrees on, and the format (JSON-LD), the way you write those labels into your page. JSON-LD is a small script block, separate from the words visitors see, and it is Google’s recommended format.
Schema markup is not a direct ranking factor — Google has said so. What it does is make your page eligible for rich results: enhanced listings with stars, prices, dates, or FAQs that take up more space and earn more clicks.
What rich results actually look like
Different types unlock different extras:
- Product — star ratings, price, and stock status under the listing.
- Recipe — cooking time, calories, and ratings, sometimes with a photo.
- Event — date, time, and location shown before you click.
- FAQPage — your questions and answers expanded directly under your result.
- Article — author name and publish date shown more prominently.
None are guaranteed — Google decides whether to show them. But without schema, you are not even in the running.
A simple example
Here is what Article schema looks like for a blog post, written in JSON-LD:
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Write a Meta Description",
"author": { "@type": "Person", "name": "Yusra" },
"datePublished": "2026-11-11"
}Each line is one labelled fact: this page is an Article, its headline is this, its author is that person, it was published on this date. You do not need to write this by hand — a generator builds it from a form.
The 5 most useful schema types for beginners
These five cover most pages:
- Article — for blog posts and news.
- FAQPage — for pages with a Q&A section; most likely to visibly change your listing.
- Product — for anything with a price; unlocks star ratings and price display.
- LocalBusiness — for a business with an address and opening hours.
- BreadcrumbList — for your site’s navigation path.
Start with the single type that best matches the page. One accurate type beats five loosely related ones.
Before and after: plain result vs rich result
Take a page with a FAQ section.
- Before (no schema): a plain blue title and two lines of text. It looks like every other result on the page.
- After (FAQPage schema added): the same listing, plus three of your questions expanded underneath it, each with its answer. Your result is now twice as tall as the ones around it.
Nothing about the content or ranking changed — but the listing now answers the question before the click, and that is why people click it.
How to add schema to your page (3 ways)
- WordPress SEO plugin — Rank Math and Yoast have built-in schema fields; fill them in and the plugin adds the code. No coding needed.
- Generator, then paste — generate the JSON-LD and paste it into your page’s head section. The fastest route for a single page.
- Theme or developer — for sites with many similar pages, a developer can add schema to the template once, so every new page gets it automatically.
Whichever route you take, finish by testing the page in Google’s free Rich Results Test — even a single misplaced comma can invalidate the whole block.
5 mistakes to avoid
- Marking up content that is not on the page. Schema must describe what visitors can actually see — hidden details can get the markup disregarded.
- Using the wrong type. Product schema on a blog post, or Event schema on a page with no date, creates a mismatch Google will not reward.
- Faking reviews or ratings. Only include ratings you really have — adding them without genuine review data violates Google’s guidelines.
- Two conflicting blocks for the same thing. One accurate block per entity.
- Never validating. Schema that has never been tested is a guess. Always run the Rich Results Test before calling it done.
Checklist before you publish
- The single most accurate schema type for the page
- Every field matches something visible on the page
- No invented details, no fake ratings
- One block per entity — no duplicates or conflicts
- Tested in Google’s Rich Results Test with no errors
Try it on your own page
Pick one page, choose the type that fits it best, and generate the code in under a minute with the free Schema Generator — then run the Rich Results Test to see what your page is now eligible for.