SEO Tools

Schema Markup for Beginners (Structured Data Guide)

Structured data explained for beginners: what schema markup is, how JSON-LD works, which types to use, and how to validate your markup without errors.

3 min read·Updated 2026-04-12

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 typeBest forRich result potential
ArticleBlog posts and news pagesHeadline, image, date, author
ProductShops and cataloguesPrice, availability, rating
FAQPagePages with visible question listsDropdown questions in results
HowToStep-by-step tutorialsStep snippets with images
BreadcrumbListMulti-level site navigationPretty breadcrumb path in the URL line
LocalBusinessPhysical premisesHours, 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

  1. Choose @type Article and fill headline, image, datePublished and dateModified.
  2. Add author as an Organization or Person object with a name and url.
  3. Add publisher with a logo no smaller than 112 by 112 pixels.
  4. 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.

Tools used in this guide

Related guides