Schema Markup for AI Search: What Helps and What Doesn’t
Quick Summary
Summarize this article instantly with your preferred AI model.

Short answer
Schema markup is structured data, usually JSON-LD in a script tag, that states facts about a page, such as who you are, what a product costs or where a business is, in a form machines read reliably. Put it in the HTML the server sends, matched to what the page visibly says. It helps AI engines read your facts correctly, but alone it won’t make them cite you.
Key takeaways
- Where it goes: a JSON-LD script tag in the page’s HTML, in the head or the body. Crawlers have to receive it in that HTML, so don’t rely on scripts that add it later.
- What to use: Organization on the home page, Product on product pages, LocalBusiness for locations, Article on posts, FAQPage where a page has real FAQs.
- Schema helps engines identify entities and read facts like prices, hours and authors accurately.
- Content still does the heavy lifting. A page with perfect markup and a vague answer won’t be quoted.
- Markup must match the visible page, because marking up content that isn’t there breaks search guidelines.
What is schema markup, in plain English?
A web page is written for people. Schema markup is a small, separate block of code on the page written for machines. It uses a shared vocabulary from schema.org to state facts in a fixed format. It can say that this page is about an Organization called X, with this logo and these social profiles; this Product costs this much and is in stock; this LocalBusiness opens at nine on Saturdays.
Search engines have used schema for years to understand pages and show rich results. AI engines that search the web read the same pages, so the same markup is available to them. What it actually changes is the real question.
Where should you put schema code?
The recommended format is JSON-LD, a script tag with type "application/ld+json" containing the structured data. Google accepts it in the head or the body of the page. Position matters less than making sure it is in the HTML crawlers receive.
- 1Add it server-side or at build time. Many AI crawlers fetch your HTML without running JavaScript. If your schema is only injected by a tag manager or a client-side script, some crawlers may never see it.
- 2One block per entity, or one graph. You can add several JSON-LD blocks, or one block with an "@graph" list. Either works. Keep IDs consistent so the Organization on every page is the same entity.
- 3Use your platform’s fields where they exist. Most CMSs and ecommerce platforms generate Product, Article or Organization markup from the data you enter. Fill those in properly before you write any custom code.
- 4Validate it. Run the page through the Schema Markup Validator and Google’s Rich Results Test, then view the page source to confirm the markup is in the delivered HTML.
Which schema types should each page use?
Most sites are well covered by a handful of types, used on the right pages and filled in completely.
| Page type | Schema type | Key properties to fill | What it helps engines get right |
|---|---|---|---|
| Home or about page | Organization | name, url, logo, sameAs, description | Which entity you are, and which profiles belong to you |
| Product page | Product with Offer | name, brand, description, sku or gtin, offers (price, currency, availability), aggregateRating where genuine | Prices, availability and attributes, stated exactly |
| Location or local business page | LocalBusiness (or a subtype such as Dentist, Plumber) | name, address, telephone, openingHoursSpecification, areaServed, geo | Name, address, phone and hours, consistent with your listings |
| Blog post or guide | Article or BlogPosting | headline, author (Person), datePublished, dateModified, publisher | Who wrote it and how current it is |
| Page with real FAQs | FAQPage | mainEntity: each Question with its acceptedAnswer | Which questions the page answers, and the answers |
| Any page in a hierarchy | BreadcrumbList | itemListElement in order | Where the page sits on your site |
Fill in fewer types completely rather than many types partly. Empty or wrong properties help no one.
For local businesses, LocalBusiness markup is the structured companion to a consistent name, address and phone across your listings; see how local businesses get named by ChatGPT. For catalogs, see getting products recommended in AI shopping.
What does schema markup actually do for AI search?
Put honestly, schema markup makes the facts on your page unambiguous. When an engine reads your product page, Offer markup tells it the price and currency without having to guess from the layout. Organization markup with sameAs links tells it that your website, your LinkedIn page and your other profiles are the same entity. Article markup records who wrote a page and when it was last updated.
AI answers are full of facts about brands, and an engine that misreads one will repeat the mistake. Clean structured data lowers the odds of a wrong price, wrong hours or a mix-up with a similarly named company.
Google’s AI features draw on Google Search, and Google’s guidance for appearing in AI features is the same as for Search generally. It asks for helpful content, crawlable pages, and structured data that matches visible content. Other engines publish less about how they use markup.
What schema markup doesn’t do
- It doesn’t make an engine cite you. Engines cite pages that answer the question well, and markup on a vague page just gives you a well-labelled vague page.
- It doesn’t replace visible content. If a fact is only in the markup and not on the page, search guidelines treat that as misleading. Mark up what is there.
- It doesn’t guarantee rich results. Google decides which rich results to show. It sharply limited FAQ rich results in 2023, for example, though FAQPage markup still describes the page accurately.
- It doesn’t fix access. If AI crawlers are blocked by robots.txt or a CDN rule, they never read the markup. Run an AI crawler access audit first.
- It isn’t a shortcut to authority. Adding review markup to ratings you invented, or marking up content as authored by experts who didn’t write it, breaks guidelines and trust.
Schema is one item on a longer list. Whether you are cited usually comes down to the content itself, the page format and third-party mentions. Our guide to the page types AI engines cite most covers the content side, and the GEO audit checklist puts schema in context with everything else.
A schema checklist for AI search
- 1Organization markup on the home page, with name, url, logo and sameAs links to profiles you control.
- 2The right type on each key template: Product, LocalBusiness, Article, FAQPage, BreadcrumbList.
- 3Every property filled from real, visible data, with prices, hours and dates kept current.
- 4JSON-LD present in the server-delivered HTML, confirmed in the page source.
- 5Validation clean in the Schema Markup Validator and the Rich Results Test.
- 6One consistent entity: the same organization name and URL in every block across the site.
Structured data is part of how StarRise scores Technical Readiness, alongside crawler access, readability and your sitemap; the methodology page explains the scoring. For catalogs, Product Visibility grades every product on structured data and four other measures, and suggests the enrichment. If you are also considering an llms.txt file, read llms.txt and agent-friendly sites for what it can and can’t do.
Frequently asked questions
Where do I put schema code on my website?
Add JSON-LD in a script tag in the page’s HTML, in the head or the body. Make sure it is in the HTML the server sends, not only injected later by JavaScript or a tag manager, because some AI crawlers don’t run scripts.
Does schema markup help with ChatGPT?
It can help ChatGPT and other engines read your facts accurately, such as prices, hours and which profiles are yours. It doesn’t make ChatGPT cite you by itself. A direct, specific answer on the page matters more.
Is JSON-LD better than microdata?
For most sites, yes. JSON-LD sits in one block separate from the page layout, so it is easier to add, maintain and validate. Google recommends it. Microdata still works if your platform already uses it.
Should I still use FAQPage schema?
Use it on pages that genuinely have a question-and-answer section. Rich results for FAQs are now limited in Google, but the markup still describes the page accurately for any machine reading it. Don’t add it to pages without visible FAQs.
What schema types matter most for AI search?
Organization for who you are, Product with Offer for what you sell, LocalBusiness for locations, Article for content with authors and dates, and FAQPage for real FAQs. Whichever you use, fill it in completely and keep it matched to the visible page.