Schema markup is extra code you add to a page that describes its content to search engines in a language they fully understand. It does not change what visitors see, but it can transform how your page appears in search, unlocking rich results like star ratings, FAQs, recipes and event details. This guide explains what schema is, how it works, which types matter, and how to add it without writing code by hand.
What schema markup actually is
Search engines are good at reading pages, but they still have to guess at meaning. Is “Apple” the fruit or the company? Is a number a price, a rating or a phone number? Schema markup removes the guesswork by explicitly labelling content using a shared vocabulary from Schema.org, a standard backed by Google, Microsoft, Yahoo and Yandex. When you mark up a product with its price, availability and rating, you are handing the search engine structured facts instead of hoping it infers them.
How schema is written: JSON-LD
Schema can be added in three formats, but Google’s clear recommendation is JSON-LD, a small block of JavaScript Object Notation placed in the page <head>. It sits separately from your visible HTML, which makes it easy to add, edit and manage without touching your page layout. A JSON-LD block declares a context (Schema.org), a type (like Product or Article) and a set of properties. Because it is just structured data, a single misplaced comma or bracket can invalidate the whole thing, which is why generating and validating it beats typing it by hand.
What schema markup does for SEO
Schema is not a direct ranking factor, adding it will not push you up the results on its own. Its value is in eligibility and clarity:
- Rich results. Valid markup makes your listing eligible for enhanced appearances, star ratings, FAQ dropdowns, recipe cards, event dates, which take up more space and attract more clicks.
- Understanding. Clear structured data helps search engines and AI answer engines understand and confidently use your content, which matters more every year.
- Knowledge panels. Organization and Person schema feed the entity understanding behind knowledge panels and brand results.
The schema types worth knowing
There are hundreds of types, but a handful cover most sites:
| Type | Use it for |
|---|---|
| Article / BlogPosting | Blog posts and news, with author and dates |
| Product | Product pages, with price, availability and ratings |
| LocalBusiness | Business homepages, with address, hours and phone |
| FAQPage | Pages with genuine questions and answers |
| BreadcrumbList | Showing a clean navigation trail in results |
| HowTo / Recipe / Event | Step guides, recipes and events |
| Organization | Your brand identity and social profiles |
How to add schema markup
You do not need to write JSON-LD from scratch. The reliable process is:
- Pick the type that matches the page, one page can have more than one, but do not mark up content that is not there.
- Generate the JSON-LD. Our free generators cover the common types: the general schema markup generator, plus dedicated tools for FAQ, Product, LocalBusiness, Article, Breadcrumb and more.
- Paste the JSON-LD into the page
<head>, or add it through your SEO plugin. - Validate it with our schema validator and Google’s Rich Results Test before you rely on it.
Common schema mistakes
Two errors cause most problems. First, marking up content that is not visible on the page, Google treats that as spam and can issue a manual action. Only mark up what a visitor can actually see. Second, invalid syntax: a missing bracket or an unescaped quote stops search engines reading the block entirely, so broken schema is worse than none. Always validate after adding or editing markup, and re-check after site migrations, which frequently strip or duplicate it.
The takeaway
Schema markup is structured data, written as JSON-LD, that tells search engines exactly what your content means, making you eligible for rich results and easier for both Google and AI engines to understand. It will not rank you on its own, but on a page that already ranks it can win a far more prominent listing. Start with the schema markup generator, validate the output, and explore the rest of our free SEO tools.