Schema markup is a small block of structured data you add to a page so search engines do not have to guess what the content is. Done properly it can earn rich results — star ratings, prices, FAQ dropdowns, breadcrumbs — that make your listing larger and more visible. This beginner guide explains the vocabulary, the JSON-LD format, and the exact types worth adding first.
What schema markup is
Schema.org is a shared vocabulary created by Google, Microsoft, Yahoo and Yandex. It defines thousands of named things — Article, Product, Recipe, Event, LocalBusiness, FAQPage — each with properties such as name, datePublished, aggregateRating or offers. You attach that vocabulary to a page in a machine-readable format, and every search engine reads it the same way instead of parsing your prose for clues.
Markup does not guarantee a rich result. Google still decides whether to render one based on relevance and quality. What markup does guarantee is clarity: your page stops being a guess and starts being a typed record.
Why JSON-LD is the format to learn
Three formats exist: microdata (inline HTML attributes), RDFa (similar, older) and JSON-LD (a script block in the page head). Google recommends JSON-LD, and it is by far the easiest to maintain because it sits in one place rather than being scattered through your markup:
<script type="application/ld+json">{ "@context": "https://schema.org", "@type": "Article","headline": "How to Repot a Monstera", "datePublished": "2026-03-14" }</script>
If your content changes, you edit one object. With microdata, a template change can silently break half your annotations.
Which types to add first
| Schema type | Best for | Rich result potential |
|---|---|---|
| Article | Blog posts and news pages | Headline, image, date, author |
| Product | Shops and catalogues | Price, availability, rating |
| FAQPage | Pages with visible question lists | Dropdown questions in results |
| HowTo | Step-by-step tutorials | Step snippets with images |
| BreadcrumbList | Multi-level site navigation | Pretty breadcrumb path in the URL line |
| LocalBusiness | Physical premises | Hours, address, phone in knowledge panels |
Pick the type that describes the page honestly. Marking up a blog post as a Product because products show prices will be ignored and can trigger a manual action.
A worked example: an article page
- Choose @type Article and fill headline, image, datePublished and dateModified.
- Add author as an Organization or Person object with a name and url.
- Add publisher with a logo no smaller than 112 by 112 pixels.
- Copy the object into your page head and keep it in sync with the visible byline and date.
The rule that catches most beginners: markup must match visible content. If the schema says 4.8 stars and the page shows 4.2, Google treats the whole block as untrustworthy.
Validate before you publish
Paste the finished page URL into the Rich Results Test to see which eligible features Google can render, then run the Schema Validator for full syntax coverage. Fix every error and warning, reload the page, and re-test. Warnings about missing optional fields are safe to ignore; errors about wrong types or non-matching content are not.
Build the object with the Schema JSON-LD Generator so the syntax is valid from the start, confirm your title and description in the Meta Tag Generator, and check how the card will look when shared with the Open Graph Preview.
Frequently asked questions
Does schema markup improve rankings? There is no confirmed direct ranking boost. Rich results raise click-through, and cleaner entity data helps Google understand your page — both indirect but worthwhile.
How much markup should one page carry? Usually one or two objects. Markup every distinct thing on the page only if each object describes content a visitor can actually see.
Should I add schema sitewide with a plugin? Templates work well for Article and Organization defaults. Review the output once per template — automated plugins frequently emit the same date or an empty image on every page, which weakens the signal.