Glossary

Schema markup labels that tell machines what your page means.

  • Technical

Schema markup is code that labels what a page is about using the schema.org vocabulary. What it does for AI search, what it does not, and how Prefer helps.

Updated2 Oct 2026
Definition30 words

Schema markup is code, usually JSON-LD, that labels the things on a page (an organization, a product, a question) with the schema.org vocabulary. Prefer's free schema generator builds clean markup.

Related terms ↓

Schema markup is code that labels the things on a web page, such as an organization, a product, an article or a question, using the shared schema.org vocabulary. It sits in the page source, usually as a JSON-LD block, and readers never see it. Prefer’s free schema generator builds clean markup, and Prefer’s tracking shows whether AI engines actually cite the pages you mark up.

How schema markup works#

A page written for people is full of meaning a machine has to guess at. Is “Acme” the company, a product or a cartoon? Is that number a price or a rating? Schema markup answers those questions in a fixed format. You declare a type (Organization, Product, Article, FAQPage) and fill in its properties (name, logo, url, sameAs).

Schema.org supports three formats: JSON-LD, Microdata and RDFa. Google says all three are equally fine and that JSON-LD is usually the easiest to implement and maintain (Google Search Central, intro to structured data). JSON-LD is a separate script block, so you can add it without touching your page layout.

Why it matters for AI search visibility#

Be clear about what schema does and does not do. Google states that you do not need special schema.org structured data to appear in AI Overviews or AI Mode beyond normal SEO practice (Google Search Central, AI features and your website). So schema is not a switch that puts you in AI answers.

What it does is remove ambiguity:

  • It ties your brand together. Organization markup with sameAs links connects your site to your official profiles. Google says Organization markup helps it understand your organization and can influence which logo appears in results and in your knowledge panel (Google Search Central, Organization structured data).
  • It labels the parts of a page. A definition, a step list and a question block are easier to lift cleanly when they are labeled.
  • It makes your facts consistent. The same name, category and links in markup, on the page and on third-party profiles help engines resolve you as one knowledge graph entity.

That is hygiene, not a ranking lever. Engines still need a reason to quote you: a page that answers the question better than the alternatives. Our answer on whether schema helps AI citations goes deeper.

A concrete example#

A software company adds this kind of block to its home page:

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Acme Analytics",
  "url": "https://www.acme.example",
  "logo": "https://www.acme.example/logo.png",
  "sameAs": ["https://www.linkedin.com/company/acme-analytics"]
}

Now a crawler does not have to infer that “Acme Analytics” is a company, which logo is its own, or which LinkedIn page is official. Every value matches what the page and the profile already show.

Common confusions#

  • Schema markup vs structured data. Structured data is the general idea; schema markup is structured data written in the schema.org vocabulary. Most people use the terms interchangeably.
  • Valid vs useful. Markup can pass a validator and still be pointless, for example FAQPage on a page with no questions. Google’s structured data guidelines say markup must represent the visible content of the page.
  • Rich results vs AI citations. Some schema types made pages eligible for special Google result displays. That is a separate question from whether an AI engine cites the page. Google stopped showing FAQ rich results in May 2026, as covered in our schema answer.

How to use schema markup well#

  1. Add Organization markup to your home page, with sameAs links to your official profiles.
  2. Add BreadcrumbList site-wide and the one type that fits each page template.
  3. Only mark up what is visible, and keep values identical to the page text.
  4. Test with Google’s Rich Results Test or the Schema Markup Validator.
  5. Then stop tuning it and spend the time on content worth quoting.

How Prefer helps#

Prefer’s free schema generator and FAQ schema generator build the markup. Prefer then tracks ChatGPT, Gemini, Perplexity, Google AI Overviews and AI Mode and shows the sources behind each answer, so you can see whether your marked-up pages are the ones being cited. Run a free AI visibility audit to see where you stand.

In context

The term in a sentence.

Related questions

People also ask.

Questions

Asked plainly.

What is schema markup in simple terms?

It is a small block of code on a page that tells search engines what the page is about in a fixed vocabulary, such as "this is an Organization, its logo is here, its profiles are these". Prefer's free schema generator builds that block for you. Readers never see it; machines read it to understand the page without guessing.

Does schema markup help my brand get cited by AI engines?

Not directly. Prefer treats schema as hygiene: its free schema generator builds clean markup, and its tracking shows which pages ChatGPT, Gemini, Perplexity and Google's AI Overviews and AI Mode actually cite. Google says you need no special structured data to appear in AI Overviews or AI Mode, so content worth quoting and a clear brand entity matter more.

What is the difference between schema markup and structured data?

Structured data is the general idea of describing a page in a machine-readable format; schema markup is structured data written with the schema.org vocabulary, which is what most people mean. Prefer's free schema generator outputs schema.org markup in JSON-LD. In everyday use the two terms are interchangeable.

Which schema types should I start with?

Start with Organization on your home page, with sameAs links to your official profiles, then BreadcrumbList and the type that fits each page. Prefer's free schema generator covers Organization, FAQPage, HowTo and breadcrumb markup. Only add a type when the page really contains that thing, and keep every value identical to the visible text.

Can schema markup hurt me?

Yes, if it describes things the page does not show. Prefer's free schema generator only works with the facts you give it, so fill it with what is actually on the page. Google's guidelines say not to mark up content that is hidden from readers, and markup that breaks its policies can lose rich result eligibility.

Get your free AI visibility report
in about 10 minutes.

See how answer engines describe your brand today, and where the openings are to outpace the competition.