What Is Schema Markup? A Plain Guide to JSON-LD, Rich Results and AI Answers
Schema markup is code added to a page that labels what the page is about, such as a business, an article or a product, using the shared schema.org vocabulary. Google recommends JSON-LD. It can make a page eligible for some rich results and helps machines read the page, but it promises no ranking, rich result or AI citation.
Prabhu SolutionsPublished 24 October 2026Last reviewed 24 October 202614 min read
On this page
- What is schema markup?
- What does JSON-LD schema markup actually look like?
- What does schema markup do for rich results?
- Does schema markup help you appear in AI answers?
- Which schema types do business websites use most?
- Rich result features come and go
- How do you add schema markup to a website?
- How do you test and validate schema markup?
- What are the most common schema markup mistakes?
- Do you need schema markup, and when can you skip it?
- What does Prabhu Solutions do with schema markup, and what does it leave alone?
- Sources
What is schema markup?
Schema markup is extra code on a web page that states, in a format machines can read, what the page is about: a business with an address, an article with an author and a date, a product with a price. It uses the shared schema.org vocabulary, and Google calls the general practice structured data. It describes the page. It does not change what a visitor sees.
A search engine can read your page without any of this. It reads the words, works out that a paragraph with a postcode is probably an address, and guesses at the rest. Markup removes the guessing for the facts you choose to label. Instead of inferring that a string of digits is a telephone number, the engine is told so, and told which business it belongs to.
Three formats exist: JSON-LD, Microdata and RDFa. Google's documentation says all three are fine as long as the markup is valid and properly implemented, but it recommends JSON-LD where your site's setup allows it, mainly because it is easier to implement and maintain at scale. That is the format this guide uses. If you want the wider picture of how markup fits into the other work that keeps a site findable, what technical SEO covers puts it in order.
The point
If you want the wider picture of how markup fits into the other work that keeps a site findable, what technical SEO covers puts it in order.
What does JSON-LD schema markup actually look like?
JSON-LD is a block of structured text placed inside a script tag on the page it describes. It names a type, such as Organization, then lists properties for that type, such as a name, a web address and a logo. The block sits apart from the visible HTML, so editing it never disturbs the layout.
| Line in the block | What it tells the search engine |
|---|---|
| <script type="application/ld+json"> | Opens the block. The script type marks the contents as JSON-LD rather than code to run. |
| "@context": "https://schema.org" | Says that every term that follows comes from the schema.org vocabulary. |
| "@type": "Organization" | Names the kind of thing being described. The type decides which properties make sense. |
| "name": "Example Trading Ltd" | A property and its value. Here, the organisation's name, which should match how the business names itself on the page. |
| "url": "https://www.example.co.uk/" | The address of the organisation's main site, written in full including https. |
| "logo": "https://www.example.co.uk/logo.png" | A crawlable image address for the logo, which Google says can help it understand which logo you want shown. |
| "sameAs": ["https://www.linkedin.com/company/example"] | Other pages that are about the same organisation, so a machine can tie the profiles together. |
| </script> | Closes the block. |
What does schema markup do for rich results?
Schema markup can make a page eligible for a rich result: a search listing with extra detail such as star ratings, product information, breadcrumbs or event times. Eligibility is all it buys. Google states that it does not ensure the feature will appear, even when the markup passes its testing tool.
To be eligible, a page must include every required property for the feature in question. Google's guidance is that a small set of complete, accurate properties beats a long list of half-filled ones. Where a feature has no required properties, such as Organization, the documentation still recommends adding as many relevant properties as apply, because they help Google understand the entity.
Whether a rich result is shown for a given search is decided by Google's systems at the time, using factors such as the person's location and device. The same page can earn an enhanced listing for one search and a plain one for another. For that reason, treat the rich result as a pleasant possibility and the accuracy of the markup as the thing you control.
The honest limit is this. Google's introduction to structured data presents it as a way to describe a page and to enable richer search appearances. It does not present it as a ranking lever, and a manual action for misleading markup removes eligibility for rich results without affecting how the page ranks. Case studies from other publishers report better click-through after markup, but those are their results, not a commitment from Google and not a forecast for your site.
The point
Google's introduction to structured data presents it as a way to describe a page and to enable richer search appearances.
Does schema markup help you appear in AI answers?
Not in any way Google has said it can measure or promise. Google's guidance on its AI features states that there are no additional requirements to appear in AI Overviews or AI Mode, and no special schema.org structured data you need to add. The page must be indexed and eligible to show a snippet; indexing and serving are never certain.
The same guidance lists, as ordinary good practice, making sure your structured data matches the visible text on the page. That is a reasonable place to stand. Markup that is accurate and consistent with the page does no harm to how a machine reads you, and it is cheap to maintain once it exists. Markup that contradicts the page is worse than none.
For assistants outside Google, the position is less clear. We are not aware of confirmation from the major providers that they read schema markup when choosing what to cite, so any agency that sells schema as a route into AI answers is claiming more than the evidence supports. What can be said is narrower: clear entity details, text that exists in the HTML, and markup that agrees with the page all make a site easier for any machine to read. Our explainer on answer engine optimisation covers the question-and-answer side of that, and the reasoning is set out in what generative engine optimisation involves, and the sensible order of work is in our AI search optimisation service.
The point
What can be said is narrower: clear entity details, text that exists in the HTML, and markup that agrees with the page all make a site easier for any machine to read.
Which schema types do business websites use most?
Most business sites need five or six types: Organization on the home page, LocalBusiness where there is a physical location, BreadcrumbList on inner pages, Article on guides, and Product on product pages. Each describes one thing, and each has its own properties and its own limits.
| Type | What it describes | What Google says or shows |
|---|---|---|
| Organization | The business as an entity: name, logo, website, contact points, profiles elsewhere. | No required properties. Google recommends adding as many relevant ones as you can. It can influence which logo is shown in results and your knowledge panel, with no promise. |
| LocalBusiness | A business with a physical location: address, opening hours, telephone. | Name and address are required for the feature. Opening hours, telephone and coordinates are recommended. Useful alongside a well-kept Google Business Profile. |
| BreadcrumbList | Where a page sits in the site hierarchy, from the home page down. | At least two list items, each with a position and a name, and an address on every item except, if you wish, the last. Can replace a long URL in the listing with a readable trail. |
| Article | A guide, news item or blog post: headline, author, dates, image. | No required properties. Author, published date and modified date are recommended. Google asks that every author presented on the page is also included in the markup. |
| Product | A product page: name, images, price, availability, reviews. | Name is required, plus at least one of review, aggregate rating or offers. Merchant listings and product snippets are treated as different features. |
| Service | A service the business offers, with its provider and area. | Part of the schema.org vocabulary but without a feature of its own in Google's search gallery. Worth adding to describe the page, not to win a display. |
| FAQPage | A page of questions and answers. | Google's documentation records that the FAQ rich result stopped appearing in Search from 7 May 2026. Valid markup is harmless but no longer earns that display. |
Rich result features come and go
Google has withdrawn several structured data features in the last two years. Its changelog records course info, estimated salary, learning video, special announcement and vehicle listing as no longer shown in September 2025, practice problems in January 2026, and the FAQ rich result in May 2026. Never build a plan around a single display that exists today. Build markup that accurately describes the page, and treat any display as a bonus.
How do you add schema markup to a website?
You add schema markup in one of four ways: through a CMS setting or plugin, by hand in the page template, through a tag manager, or by generating it with JavaScript. Choose the way that keeps the markup tied to the content it describes, because markup that drifts away from the page is the commonest long-term fault.
- Through your CMS or an SEO plugin. This is the practical route on most WordPress, Shopify and website-builder sites, where you cannot easily edit the page HTML. Check what the plugin outputs rather than trusting its defaults.
- In the page template. A developer writes the block once per page type and fills the values from the same fields that fill the visible page. A change to a price or an address then updates both together. This is the most reliable route for a custom build, and it is something to specify when you commission website development rather than bolt on afterwards.
- Through a tag manager. Google supports markup added this way. Its guidance adds that duplicating page content inside the tag manager raises the risk of a mismatch with the page, so pull values from the page rather than retyping them.
- With JavaScript. Google can process structured data that is in the page once it has rendered it. For product pages with fast-changing prices and availability, Google warns that markup generated this way can make shopping crawls less frequent and less reliable, so prefer markup in the server response there.
- On the page it describes. Whichever route you choose, the markup belongs on the page it applies to. Do not create empty pages to hold markup, and do not describe things a visitor cannot see.
How do you test and validate schema markup?
Test in two stages: before launch with Google's Rich Results Test, and after launch with Search Console. The first tells you whether the markup is readable and complete for a feature. The second tells you whether Google has found it on the live site and whether any pages have developed errors since.
- Run the page through the Rich Results Test. For markup added by script, our habit is to enter the page address rather than paste code, so the test sees the page as it renders.
- Read errors before warnings. A missing required property makes the item ineligible. A missing recommended property is a warning, which you weigh against whether the information is true and visible on the page.
- Use the URL Inspection tool in Search Console to confirm that Google has found the structured data on the live page, not just on a test copy.
- Watch the rich result status reports in Search Console after launch. They list valid items, items with warnings and items with errors, and will show a template change that quietly broke a field across hundreds of pages.
- Compare before and after on a handful of stable pages. Google suggests recording performance for a few months in the Performance report, filtered by URL, rather than reading a week of data.
- Check that nothing blocks Google from the page. Google states that you should not block pages carrying structured data with robots.txt, noindex or any other access control, since markup on a page Google cannot reach does nothing.
What are the most common schema markup mistakes?
The commonest mistakes are describing things the visitor cannot see, copying markup from another site, leaving required properties blank, and letting markup go stale. All of them break the one rule that matters: the markup must be a true representation of the page it sits on.
| Mistake | Why it causes trouble | What to do instead |
|---|---|---|
| Marking up content the visitor cannot see | Google's guidelines say not to mark up content that is not visible to readers of the page. Hidden content can also prevent rich results. | Mark up only what appears on the page, in the same words. |
| Review or rating markup with no real reviews behind it | Misleading or fake reviews are named in Google's guidelines as something not to mark up, and spammy markup can lead to a manual action. | Mark up only genuine reviews that visitors can read on that page. |
| Markup copied from a template or another business | It carries a different name, address or opening hours from yours. The page and the markup then disagree. | Write the block from your own details and review it against the page. |
| Missing required properties | An item without every required property is ineligible for the rich result, however much else is filled in. | Read the feature's documentation and satisfy its required list first. |
| Stale details | Time-sensitive information that is no longer relevant will not get a rich result, and out-of-date prices mislead people. | Generate the markup from the same data as the visible page. |
| Different markup on mobile and desktop | Google uses the mobile version for indexing, and its guidance says both versions should carry the same structured data. | Use a responsive build so one page serves both, or match the markup exactly. |
| Blocking the page from Google | A robots.txt rule or noindex tag on the page stops Google using what the markup says. See our robots.txt guide. | Check the page can be crawled and indexed before debugging the markup. |
Do you need schema markup, and when can you skip it?
You need it less than the volume of advice suggests. A small brochure site with a clear home page, accurate contact details and good content will not stall for want of markup. If the page is not indexed, loads slowly or says nothing a buyer wants, no amount of JSON-LD rescues it, so fix those first.
The cases where it earns its keep are specific. A shop with product pages benefits from accurate product markup, which is part of any sound ecommerce SEO plan. A business with a physical location benefits from LocalBusiness details that match its profile, the kind of consistency that local SEO work depends on. A site with a publishing programme benefits from Article markup that names real authors and dates. A larger site benefits when markup is generated from a template and therefore stays consistent.
A sensible order is: confirm the pages are indexed, check the speed measures in the Core Web Vitals guide, then add Organization and the types that match your page templates, then validate. If a migration is planned, put markup on the list in the SEO migration checklist, because templates rebuilt without it lose it silently. A full audit will tell you whether markup is the weakest part of your site or the strongest; what an SEO audit includes shows where that check sits.
The point
If a migration is planned, put markup on the list in the SEO migration checklist, because templates rebuilt without it lose it silently.
What does Prabhu Solutions do with schema markup, and what does it leave alone?
Prabhu Solutions, registered in Oldbury, West Midlands, works with businesses across the UK and delivers its work remotely. Structured data is one part of its technical SEO consulting: checking what exists, validating it against the visible page, and specifying or implementing the types a site needs. Whether the work is done by us or by your own developers is a choice made case by case.
We do not sell markup as a ranking tactic or as a route into AI answers, and we do not promise a rich result. We do not add review or rating markup that the page does not display, and we do not mark up content a visitor cannot see. If your site is still being scoped, tell us about it and we will say plainly whether markup is a priority or a distraction.
A common question from a business with a single location, in Birmingham or anywhere else, is whether local markup alone will lift it in map results. It will not on its own; it supports a profile and a site that are already consistent. For how we approach that kind of brief, see our page on digital work for Birmingham firms, and for a deeper check of what you already have, an SEO audit comes first.
The point
For how we approach that kind of brief, see our page on digital work for Birmingham firms, and for a deeper check of what you already have, an SEO audit comes first.
Sources
Every statement about Google's behaviour on this page comes from Google Search Central documentation, read and checked on the date shown.
- Google Search Central, Introduction to structured data (developers.google.com/search/docs/appearance/structured-data/intro-structured-data): formats, JSON-LD recommended, required properties, testing tools, no ranking claim. Checked 24 October 2026.
- Google Search Central, General structured data guidelines (developers.google.com/search/docs/appearance/structured-data/sd-policies): visible content, true representation, manual actions, no assurance of display, do not block pages. Checked 24 October 2026.
- Google Search Central, Organization structured data (developers.google.com/search/docs/appearance/structured-data/organization): no required properties, recommended properties, logo and name. Checked 24 October 2026.
- Google Search Central, Local business structured data (developers.google.com/search/docs/appearance/structured-data/local-business): required and recommended properties. Checked 24 October 2026.
- Google Search Central, Breadcrumb structured data (developers.google.com/search/docs/appearance/structured-data/breadcrumb): required properties. Checked 24 October 2026.
- Google Search Central, Article structured data (developers.google.com/search/docs/appearance/structured-data/article): no required properties, recommended properties. Checked 24 October 2026.
- Google Search Central, Product snippet structured data (developers.google.com/search/docs/appearance/structured-data/product-snippet): name plus one of review, aggregate rating or offers; merchant listings and product snippets. Checked 24 October 2026.
- Google Search Central, Generate structured data with JavaScript (developers.google.com/search/docs/appearance/structured-data/generate-structured-data-with-javascript): rendered DOM, tag manager mismatch risk, product markup caveat. Checked 24 October 2026.
- Google Search Central, Search gallery (developers.google.com/search/docs/appearance/structured-data/search-gallery): the list of features with their own rich result documentation. Checked 24 October 2026.
- Google Search Central, AI features and your website (developers.google.com/search/docs/appearance/ai-features): no additional requirements, no special schema.org markup needed. Checked 24 October 2026.
- Google Search Central, Documentation updates (developers.google.com/search/updates): withdrawal dates for FAQ and other structured data features. Checked 24 October 2026.
- Google Search Central, Mobile-first indexing best practices (developers.google.com/search/docs/crawling-indexing/mobile/mobile-sites-mobile-first-indexing): same structured data on mobile and desktop. Checked 24 October 2026.
Questions people ask about this
What is schema markup in simple terms?
It is a small block of code on a page that labels the facts on it, such as the business name, address, price or author, using the shared schema.org vocabulary. Visitors never see it. Search engines read it to understand the page more precisely and, for some types, to decide whether a richer listing is possible.
Is schema markup the same as structured data?
In everyday SEO use, yes. Structured data is the general practice of describing page content in a standard format, and schema.org supplies the vocabulary most sites use for it. Google's documentation uses the term structured data. Schema markup is the common name for the same thing, most often written as JSON-LD.
Does schema markup improve Google rankings?
Google's documentation presents markup as a way to describe a page and to become eligible for rich results, and it does not describe it as a ranking factor. Some publishers report better click-through from richer listings. Treat that as a possible benefit to appearance, not a promise of a higher position.
Will schema markup get me into AI Overviews?
Google says there are no additional requirements to appear in AI Overviews or AI Mode and no special schema.org markup to add. Pages need to be indexed and eligible for a snippet. Accurate markup that matches the visible page is good practice, but it is not a way to earn a citation.
Should I use JSON-LD, Microdata or RDFa?
Google accepts all three when they are valid and properly implemented, and recommends JSON-LD where your setup allows it because it is easier to add and maintain at scale. JSON-LD also sits in one block rather than being woven through the page markup, which makes it simpler to review and to template.
How do I check whether my schema markup is working?
Test the page in Google's Rich Results Test, using the page address for script-added markup, then confirm in Search Console that the live page has been read. After launch, the rich result status reports show valid items, warnings and errors. A passing test still does not mean a rich result will appear.
Can wrong schema markup harm my site?
Yes, in limited ways. Markup that describes hidden content, fake reviews or something unrelated to the page breaks Google's guidelines and can lead to a manual action that removes rich result eligibility. Google says such an action does not affect how the page ranks, but it removes a display you may rely on.
Do I still need FAQ schema?
Google's documentation records that the FAQ rich result stopped appearing in Search from 7 May 2026, so FAQ markup no longer earns that display. It is not harmful if it matches visible questions and answers, but do not add it expecting a richer listing. Write the answers on the page for readers first.
Who should add schema markup, my developer or an SEO?
Whoever can keep it accurate. An SEO specialist can specify what each page type needs, but a developer should generate it from the same data as the page, so the two never disagree. Where a plugin does it, someone still needs to review what it outputs. Our technical SEO service covers the specification and the check.
Read next
What Is Technical SEO? How Search Engines Reach Your Pages and What to Fix First
Technical SEO is the work that lets a search engine reach, read and index your pages. Here is how that pipeline works, what the work covers, what canonical tags do and what to fix first.
What Does an SEO Audit Include? A Plain Guide to the Checklist and the Report
An SEO audit should examine nine things and rank what it finds. Here is each check, what a real report looks like next to a tool printout, and when an audit is the wrong first step.
What Is Generative Engine Optimisation? A Plain Guide to GEO, AEO and SEO
GEO and AEO are the new names for making your business easy for AI assistants to find, read and cite. Here is what the terms mean, what is known and unknown, and how to judge an agency selling it.
