Free, independent guides since 2010

SEO

Structured data and schema markup for beginners

What structured data is, why search engines use it, how to add schema.org markup with JSON-LD and which types make sense for a small website.

<guide section="SEO" type="article" read="2 min"/>

Search engines are good at reading text, but they still appreciate a little help. Structured data is a standard way to say: “this page is an article, written by this person, about this topic”, or “this is a shop with these opening hours”. It is invisible to visitors, but search engines use it to understand your pages and sometimes to show richer search results.

Schema.org and JSON-LD

The vocabulary is schema.org, created jointly by the major search engines. The format Google recommends is JSON-LD: a block of JSON inside a script tag, usually in the head of the page. It does not interfere with your HTML layout at all.

HTML
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Webdesign Example",
  "url": "https://www.example.com/",
  "telephone": "+32 3 000 00 00",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "Example Street 1",
    "addressLocality": "Antwerp",
    "postalCode": "2000",
    "addressCountry": "BE"
  },
  "openingHours": "Mo-Fr 09:00-17:00"
}
</script>

Types that make sense for small sites

TypeUse it on
Organization / LocalBusinessHomepage or contact page: name, logo, address, contact details
WebSiteHomepage: site name, optionally a search action
Article / BlogPostingBlog posts and news articles
BreadcrumbListEvery page with breadcrumbs
Product with OfferProduct pages in a webshop
FAQPagePages with real questions and answers
Event, Recipe, Course…When your content is exactly that

This very website uses Organization, WebSite, Article, BreadcrumbList, FAQPage and DefinedTermSet markup – view the source of any page to see it in action.

Rules to follow

  • Only mark up content that visitors can actually see on the page.
  • Be honest: fake reviews or ratings in markup can lead to a manual penalty.
  • Keep it in sync: when prices or opening hours change, update the markup too.
  • One correct, complete block is better than many half-filled types.

Testing your markup

Use Google’s Rich Results Test to see which rich results a page is eligible for, and the Schema Markup Validator for a general check. In Search Console you find reports per rich result type. Google’s own introduction to structured data lists all supported features.

Frequently asked questions

Does structured data improve rankings?

Not directly. It helps search engines understand your page and can make it eligible for rich results, such as breadcrumbs or product information in the search results, which can improve click-through rates.

Will Google always show rich results if I add markup?

No. Google decides per search whether to show them. Correct markup makes your page eligible, nothing more.