A glowing blue android in profile under a starry sky
Willis Web Design / 01 of 08

Home / SEO Tips / Structured Data Guide

SEO Tips

Structured Data Guide: Rich Results In Plain English

Structured data is a small block of labelled code that tells Google exactly what a page is about: a product, an article, an event, a business. Get it right and your page can show as a rich result, with stars, prices, dates or images. This guide covers every type Google supports and the rules that keep you eligible.

What Structured Data Is And Why Google Reads It

Google works hard to understand every page it crawls, but it still has to guess. Structured data takes some of the guessing away. It is a standard way of labelling the facts on a page, so Google knows that this number is a price, that date is when an event starts and that name is the author. Most of it uses the shared schema.org vocabulary, but for how Google Search behaves you should follow Google's own documentation, which lists the properties it needs and the ones it ignores.

Google uses these labels in two ways. First, to understand the page itself. Second, to learn about the wider world: the people, books and companies named in the markup. When the labels are complete and match the page, the page can become eligible for a rich result: a search listing with extra detail such as review stars, a price, a date, a thumbnail or a breadcrumb trail. Some features go further and become enriched search results, where people can filter by things like salary, cooking time or event date.

Google's own case studies report sites seeing more clicks and longer visits after adding markup. Treat those as examples, not promises. Google is plain that markup makes a feature possible, not certain. Its systems choose the layout for each search based on the person, their device and location, and sometimes a plain text result wins.

The Three Formats Google Accepts

FormatHow it worksWhen it suits
JSON-LD (recommended)A separate script block in the head or body, not mixed into the visible text. Google can read it even when JavaScript adds it to the page.Almost every site. Easiest to write, check and keep correct at scale.
MicrodataExtra attributes added to your existing HTML tags, usually in the body.Pages where the markup should wrap the visible content, such as long forum posts.
RDFaAn HTML5 extension that also uses attributes on visible content, in the head or body.Sites that already publish linked data this way.

If your site runs on a content management system, you may not be able to edit the HTML directly. A settings page or a plugin can often add the markup for you. On a hand-built site, I add it to the templates as standard, as described on the technical SEO service page.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Ltd",
  "url": "https://www.example.co.uk",
  "logo": "https://www.example.co.uk/logo.png"
}
</script>

Structured Data Guide In The SEO Tips Map

Every part of the SEO tips, on one map. The page you are reading is highlighted.

The General Rules Every Piece Of Markup Must Follow

Before looking at individual types, it helps to know the rules that apply to all of them. Break these and your markup can be ignored, or your pages can be hit with a manual action that removes rich results. A manual action does not change how a page ranks in normal results; it only removes eligibility for the rich treatment. Our guide to Google's spam policies covers the wider rules the markup also sits under.

Technical Rules

  • Use JSON-LD, Microdata or RDFa.
  • Never block marked-up pages from Googlebot with robots.txt, noindex or a login. See the robots.txt guide and the page on meta tags and noindex.
  • Put the markup on the page it describes. Do not build empty pages just to hold markup.
  • If you have duplicate versions of a page, put the same markup on every copy, not only the canonical one.
  • Every image URL in the markup must be crawlable and indexable, and the image must relate to that page.

Quality Rules

  • Visible: only mark up what visitors can see on the page. Hidden facts do not count, even when they are true.
  • Relevant: the markup must truly represent the page. Calling instructions a recipe, or a live stream a local event, is misuse.
  • Honest: no fake reviews, no impersonating people or organisations, no misleading claims about who you are or what you do.
  • Up to date: Google will not show a rich result for time-sensitive content that has passed.
  • Original: content you or your users created, not copied from elsewhere.
  • Complete: include every required property. Recommended properties help, but a few accurate ones beat many sloppy ones.
  • Specific: use the most specific type and property names that fit.

Several Items On One Page

A page can describe more than one thing, such as an article with a video and a breadcrumb trail. You can nest the extra items inside the main one, or list them as separate blocks and link related ones with an @id. Either way, include the type that reflects the main purpose of the page, and if you mark up reviews, mark up all the reviews visitors can see, not just the best ones.

Common reasons a rich result does not show: the markup does not reflect the main content, it is misleading, it has an error the testing tool missed, the marked-up content is hidden, or the page breaks a guideline. Google may also simply decide another layout suits the search better.

Rich Result Types For Business, Brand And Shop Pages

Google's search gallery lists every structured data feature it supports. These are the ones most business websites meet first. Each entry below says what the feature does in plain terms and the one rule most worth knowing. Some types, such as Article and Organization, have no required properties at all; you add whatever applies.

FeatureWhat it doesKey rule to know
OrganizationDescribes your organisation: name, logo, address, phone, email, social profiles, founding date and company identifiers. Helps Google pick your logo and tell you apart from similarly named firms.Put it on the home page or about page, not every page. Logo at least 112 by 112 pixels and readable on a white background.
Local businessAdds opening hours, address, phone, map coordinates and departments to the business details Google shows in its knowledge panel.Address and name are required. Use the most specific business sub-type that fits.
BreadcrumbShows the page's place in your site, such as Home, Guides, This Page, in place of a bare URL.At least two items. Reflect a typical visitor path, not just the folder structure of the URL.
ArticleHelps Google show the right headline, images, dates and authors for news, blog and other article pages.No required properties. List every author separately, with a link to a page about them.
ProductShows price, stock, ratings, shipping and returns. Product snippets suit review pages; merchant listings suit pages where people can buy.Pair page markup with a Merchant Center feed for the widest reach.
Review snippetShows stars and a short rating summary for something you review or that your users rate.Reviews must be visible, genuine and about one specific item. Self-serving business reviews are not eligible.
Profile pageMarks a page that is mainly about one person or organisation linked to the site, such as an author bio or a member profile.The page must focus on that one person or organisation. A shop's home page does not qualify.
Software appShows an app's rating, price and category in search results.Needs a name, a price (zero if free) and a rating or review.
Image metadataTells Google Images who created a picture, who to credit and how it can be licensed, which can earn a Licensable badge.Use structured data on each page or embed IPTC data in the image file itself.
VideoSupplies the title, description, thumbnail, upload date and length of a video, and can add a LIVE badge or key moments.Name, thumbnail and upload date are required. Key moments need a video of at least thirty seconds.

Shops have the most to gain here, and the most to get wrong. Our ecommerce on Google guide covers product data in depth, and the ecommerce SEO package is where I do this work for online shops. For images and video, see image and video SEO. Local business markup sits alongside your Google Business Profile, which our local search features guide explains.

A Closer Look At Review Stars

Review markup causes more trouble than any other type. Google wants the reviews to be easy to see on the page, about one specific thing rather than a list, and written by real people. It asks you not to pull in reviews from other websites and not to hide paid or incentivised reviews. If you show several reviews, add an aggregate rating too. Ratings default to a one-to-five scale; use best and worst values for any other scale, and use a dot, not a comma, for decimals.

Rich Result Types For Communities, Learning And Research

The next group covers sites where visitors post content, where people learn, or where data and claims are published. Even if your site does none of these, it helps to know they exist, because using the wrong one is a common mistake. A frequently asked questions block written by you, for example, is not a Q&A page.

FeatureWhat it doesKey rule to know
Q&AFor a page built around one question with answers from users. Can show the top answers in results and improve the normal snippet.Users must be able to add answers. Not for your own FAQ, how-to guides or pages with many questions.
Discussion forumHelps Google find genuine discussions and show them in its Discussions and Forums feature.Only for posts written by users, not by the site owner. Use Q&A markup if threads are mostly questions and answers.
Education Q&APuts flashcard questions and answers into a learning carousel in Search, Assistant and Lens.Every question must use the Flashcard type and be visible on the page, not only in a file.
Course listLists courses from one provider, with title, provider and a short description.At least three real courses with a clear learning outcome, led by instructors. English only.
Math solverLets a step-by-step maths tool appear for maths problems, linking straight to the worked answer.Goes on the home page. The first solution must not sit behind a login or paywall.
DatasetMakes data tables and files easier to find in Google Dataset Search.Name and a description of fifty to five thousand characters are required. Mark up the main landing page for each dataset.
Fact checkShowed a summary of a check on someone else's claim. Google is phasing this out of Search, though its Fact Check Explorer still reads it.Not worth adding for Search results now.
Speakable (beta)Flags the short parts of a news page best suited to being read aloud by voice assistants.English only, for US users. Pick two or three sentences per section, not the whole article.
Subscription and paywalled contentTells Google which parts of a page sit behind a paywall or sign-up, so showing Google more than visitors is not mistaken for cloaking.Mark the page as not free and point to each locked section by its class name.

Two newer properties appear across the forum, Q&A and comment types: a digital source type, which tells Google when content was produced by an AI model or an automatic reply bot, and interaction counts, such as likes, replies and shares. If you leave the source type out, Google assumes a person wrote the content.

Paywalls And Previews

If you lock some content but still want it indexed, wrap each locked section in a class, set the page as not freely accessible and reference those classes in the markup. Make sure Googlebot can reach the full page. To keep parts out of snippets and AI previews, use the data-nosnippet attribute or the max-snippet rule rather than hiding text. Our title links and snippets guide covers those controls.

Carousels, Events, Jobs And Partner-Only Features

The last group is about lists, dated listings and features that need an invitation. Several of these power enriched search results, which let people filter by detail such as salary or start time. For enriched results, Google says completeness is one of the strongest signals, and the markup must sit on the detailed page for a single item, not on a page that lists many.

FeatureWhat it doesKey rule to know
CarouselShows several items from one site as swipeable cards. Works alongside Course, Movie, Recipe and certain local business types.Use a summary page linking to detail pages, or one all-in-one page. Every item must be the same type.
RecipeShows a dish's image, timings, rating and nutrition, and can join a host carousel from your site.Only for making a specific dish. Write steps as separate steps without "Step 1" labels.
Movie carouselShows a list of films from one site, on phones only, with title, director and image.Needs carousel markup plus a name and an image for each film.
EventPuts dated, bookable events into Google's event experience and Maps.One event per page, at a physical place, open to the public. Keep the start date even if it is cancelled.
Job postingPuts a vacancy into Google's job search, with logo, salary, location and remote options.One job per page, a real way to apply, and remove or expire the posting once filled.
Employer aggregate ratingShows the average rating users have given an employer, within job search.Users must be able to post ratings on your site, and the score must come from those ratings.
Book actionsLets people buy or borrow a book straight from its search result.Limited to large book providers by invitation, using a data feed rather than page markup.
Vacation rentalShows short-stay rental listings with photos, rating, location and amenities.Only for invited partners already working with Google. At least eight photos per listing.

Getting Dates Right For Events

Dates trip up many sites. Give a time zone offset with every time, or Google uses the event location's zone. If you do not know the start time, give the date only rather than midnight. When plans change, set the event status to cancelled, postponed or rescheduled and keep the other details; for a reschedule, add the previous start date as well. Do not list opening hours, coupons or flash sales as events.

Keeping Job Listings Clean

Job markup comes with strict content rules: no fake vacancies, no listings that charge applicants, no keyword-stuffed titles, no expired jobs and no job descriptions hidden behind a login. Google recommends its Indexing API to tell it about new and removed jobs quickly, plus a sitemap for everything else. Our XML sitemaps guide explains the sitemap side.

Adding Structured Data With JavaScript Or Tag Manager

Many modern sites build pages with JavaScript, and markup can be added the same way. Google can read structured data that is present once the page has been rendered. There are three common routes.

  1. 01

    Google Tag Manager

    Add a Custom HTML tag containing a JSON-LD block, then publish the container. Use variables that read values from the page, such as the title, rather than typing them into the tag, so the markup cannot drift away from the visible content.

  2. 02

    Custom JavaScript

    Fetch the data or build it in the browser, then add a script tag of type application/ld+json to the page head. This works for whole blocks or for adding detail to markup the server already sends.

  3. 03

    Server-Side Rendering

    If your framework renders pages on the server, output the JSON-LD with the page. This is the most dependable option and the one I use on hand-built sites.

  4. 04

    Test The Live URL

    Check the result in the Rich Results Test using the URL, not pasted code, because pasted code has JavaScript limits. If a type is not supported by the tool, check that the rendered HTML contains your markup.

A warning for shops: Google says product markup generated by JavaScript can make shopping crawls less frequent and less reliable. That matters when prices and stock change often. If you sell online, serve product markup in the page itself and make sure your server can handle extra crawling. Our JavaScript SEO guide covers rendering in more detail.

Testing, Launching And Monitoring Your Markup

Google gives the same process for almost every type. It is worth following in order, because a template mistake can copy one error across hundreds of pages.

  • Add the required properties for your chosen type, then any recommended ones that genuinely apply.
  • Read the guidelines for that type, not just the general ones.
  • Run the Rich Results Test and fix critical errors. Non-critical warnings are worth fixing but do not block eligibility.
  • Publish a few pages, then use the URL Inspection tool to see how Google renders them. Make sure nothing blocks Googlebot.
  • Ask Google to recrawl, and keep your sitemap up to date so future changes are found.
  • Allow several days for Google to crawl and index the pages before judging the result.

Watching The Search Console Reports

Search Console has a rich result report for each supported type. Check it after your first launch, after any new template or code release, and from time to time as part of normal reporting. A rise in invalid items usually means a template broke. A drop in valid items with no matching rise in errors often means the markup has vanished from the pages altogether. Fix the problem, inspect a live URL, then ask Google to validate the fix. The Performance report shows how often pages appear as rich results and how often people click. Our Search Console guide walks through these reports.

Measuring Whether It Was Worth It

Google suggests a simple before-and-after test. Pick a few steady, well-visited pages without markup that have several months of data, add structured data, confirm Google has found it, then compare the next few months in the Performance report. Choose pages that are not seasonal so the comparison is fair.

When Things Go Wrong

  • Check the structured data error list and the unparsable structured data report.
  • Check the Manual Actions report. If a manual action applies, the markup is ignored until you fix it and ask for review.
  • Re-read the guidelines: spammy markup is not a syntax error, so testing tools will not catch it.
  • If someone else runs your site or plugin, send them the Search Console message.

Where A Typical Business Website Should Start

You do not need every type. Most service and local business websites get the most value from a short list, done properly and kept accurate. I include this on every managed website, and a website redesign is a good moment to clean up old or broken markup left by previous plugins.

Organization On The Home Page

Name, logo, address, phone and links to your official profiles, all matching what visitors see.

Breadcrumbs Sitewide

A short trail on every inner page so Google and visitors can see where it sits.

Article On Guides And News

Headline, dates and a real author with a link to their profile page.

Product On Shop Pages

Price, stock, shipping and returns, matched to your Merchant Center feed.

Video Where You Have It

Title, description, thumbnail and date for any video that plays on the page.

Not sure what your site already has? The free website audit scores your home page on phones and computers, and the Pro audit adds a crawl that flags missing or broken markup. For the full picture of how Google shows business details, continue to the local search features guide, see the other Google search features, or go back to the SEO Tips map. If you would rather hand the whole job over, our local SEO service covers markup alongside your profile.

Based on Google Search Central documentation: Introduction to structured data markup, General structured data guidelines, Enriched search results, Generate structured data with JavaScript, Structured data markup that Google Search supports, Article, Breadcrumb, Carousel, Event, Image metadata, Organization, Product, Profile page, Q&A, Review snippet, Software app, Video, Discussion forum, Dataset, Fact check, Speakable, Subscription and paywalled content, Book actions, Course list, Education Q&A, Employer aggregate rating, Job posting, Math solver, Movie carousel, Recipe, Vacation rental. Licensed under CC BY 4.0. Rewritten in plain English by Willis Web Design; last checked 13 October 2026.

Questions

Questions About Structured Data Guide

Will adding structured data improve my rankings?

Google does not say structured data is a ranking boost. What it does is help Google understand the page and make it eligible for richer results, such as stars, prices or breadcrumbs. Those can make your listing more useful to searchers. Google is clear that markup only makes a feature possible. It never promises the feature will appear, even when the code passes every test.

Which format should I use: JSON-LD, Microdata or RDFa?

Google treats all three as equally valid when they are correct. It recommends JSON-LD for most sites because it sits in its own script block, away from the visible text, so it is easier to write, read and maintain across many pages. The one exception is forum posts, where Google suggests Microdata or RDFa so long posts are not copied twice.

Can I mark up reviews from my Google Business Profile on my own site?

Not for star results. Google says that when a business controls the reviews about itself, its pages using LocalBusiness or Organization markup are not eligible for review stars. That includes reviews shown through an embedded widget. You can still show genuine reviews on the page for visitors. Just do not expect them to produce stars in Google results.

What happens if my structured data breaks the rules?

Google can issue a structured data manual action. The page then loses its chance of rich results and the markup is ignored, although the page can still rank as a normal result. You will see it in the Manual Actions report in Search Console. Once you have fixed the problem, you can ask Google to look again with a reconsideration request.

My WordPress plugin adds structured data. Do I need to check it?

Yes. Plugins save a lot of time, but they can add markup for things that are not visible on the page, use the wrong type or leave out required properties. Run a few key pages through the Rich Results Test and check the reports in Search Console after any template or plugin update. I check this as part of every technical review.

How long before rich results appear after adding markup?

Google first has to recrawl and reindex the pages, which can take several days or longer. You can speed things up by testing a live page with the URL Inspection tool and asking for it to be recrawled, and by keeping your XML sitemap up to date. Even then, Google decides each time whether a rich result suits the search.

Next step

See where your website stands, free.

Run a free test of your current site, or call me for a straight answer about what you need.