Schema markup: which types matter, and how to add them
Schema markup states the facts on a page in a format machines read without guessing. It does not raise rankings by itself. It makes you eligible for richer results and easier to describe correctly.
Key points
- Schema is a shared vocabulary for describing what a page is about.
- JSON-LD is the format Google recommends.
- Markup must match what a visitor can see on the page.
- Start with Organization, then add the type that fits each page.
What it is
Schema markup, also called structured data, is code that describes a page using the vocabulary at schema.org. Instead of leaving a search engine to work out that “$599” is a price and “Toponrank” is a company, the markup says so.
It is used for rich results in search, such as prices, review stars and breadcrumbs, and it helps assistants understand who you are and what you offer.
The format to use
There are three formats: JSON-LD, Microdata and RDFa. Google recommends JSON-LD, which sits in a script tag and is kept separate from the visible HTML. A minimal example:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Your Brand",
"url": "https://yourbrand.com",
"logo": "https://yourbrand.com/logo.png"
}
</script>The types worth adding
| Type | Use it on | What it does |
|---|---|---|
| Organization | Your homepage | States your name, logo and official profiles |
| LocalBusiness | Location and contact pages | Address, hours and phone number for local results |
| Product | Product pages | Price, availability and review stars in results |
| Article | Guides, news and blog posts | Headline, author and dates understood correctly |
| BreadcrumbList | Every page below the homepage | A readable path shown in place of the address |
| FAQPage | Pages with questions and answers | Makes each question and its answer unambiguous to machines |
| Service | Service pages | Describes what you offer and who provides it |
| Event, Course, Recipe, JobPosting | Pages of those kinds | Rich results specific to each |
Google has narrowed which rich results it shows over time. FAQ rich results, for example, were limited in 2023 to well-known government and health sites. The markup is still worth having, because it removes ambiguity for every system that reads the page.
Three rules
- Mark up only what is visible. If the page does not show a rating, the markup must not claim one.
- Be accurate and current. Prices, hours and stock in the markup must match the page.
- Do not mark up reviews you wrote about yourself. Google does not show stars for self-serving reviews on Organization and LocalBusiness pages.
Breaking these can lead to a manual action that removes rich results from the whole site.
Connect the pieces
Give each thing an @id and refer to it from other items. Your articles can then point to your organisation as publisher, and your products to the same organisation as seller. One connected description is easier for a machine to trust than several loose blocks.
How to test it
- Google’s Rich Results Test shows which rich results a page is eligible for.
- The Schema Markup Validator at validator.schema.org checks the syntax of any schema.org markup.
- Search Console reports errors across the whole site once pages are indexed.
Our free audit checks whether a page has JSON-LD, organisation details and FAQ markup. Run it.
Want this done for you?
This is the work inside our technical SEO service.