On-page and technical checks

Breadcrumb schema: what it is and how to add it correctly

What breadcrumb schema is, what it does and does not do in search results, how to add BreadcrumbList markup, and how to check it matches the page.

Breadcrumbs are the trail of links, usually near the top of a page, that shows where the page sits in your site, such as Home, Services, Teeth whitening. BreadcrumbList is the structured data that describes that same trail to search engines. Adding it is a small job, but the markup has to match what the page shows, or it breaks the basic rule that structured data must match the visible page.

A breadcrumb has two parts. The first is the visible trail a visitor can click. The second is the code that describes it. Both must agree. The visible trail helps a reader move back up the site. The code tells a search engine the same thing in a form it can read directly.

Structured data is code, usually JSON-LD, that describes a page's content using the schema.org vocabulary. BreadcrumbList is one of the types in that vocabulary. It is a list, and each item in the list is one step of the trail.

What it can change in a search result

Search engines may show the trail under the title of your page in results, and breadcrumb markup is one way to describe that trail. They decide whether to use it, and they decide how. Do not expect breadcrumb markup to move your page up the rankings or to guarantee a certain look in results.

What it does reliably is describe your site structure accurately. That helps you, your team and any search engine that reads the page. For a small business, a clear trail also helps a visitor find the next page without using the back button.

Writing the markup: each step, in order

Write the trail as a list, from the home page down to the current page. For a dental clinic's teeth whitening page, the trail and its markup look like this:

{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {"@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.org/"},
    {"@type": "ListItem", "position": 2, "name": "Services", "item": "https://www.example.org/services/"},
    {"@type": "ListItem", "position": 3, "name": "Teeth whitening", "item": "https://www.example.org/services/teeth-whitening/"}
  ]
}

Follow these steps in order:

  1. Write down the visible trail on the page, step by step.
  2. Create one ListItem for each step, with the position numbered from 1.
  3. Give each ListItem the same name the visitor sees and the full address of that step.
  4. Place the finished script in the page, usually at the end of the head or the body.
  5. Publish the page, then check the live version.
Writing the breadcrumb markup, step by stepFive steps to write BreadcrumbList markup and check it on the live page.Writing the breadcrumb markup, step by step1Write down the visible trailWrite the trail the visitor sees, step by step.2Create one ListItem for each stepNumber them from position 1, in order.3Give each step its name and addressUse the same name the visitor sees.4Place the finished script in the page5Publish, then check the live pageAUTOMIX AI
Write the trail first, then the markup that matches it.

The rule: the markup must match what the page shows

This rule matters more than anything else in this article. The names and order in the markup must match the trail on the page. If the page shows Home, Services, Teeth whitening, the markup must list those three steps and no others. Do not add a step the page does not show, and do not rename a step to a keyword the page never uses.

The current page can be the last item, as in the example above. Every address you list should open, and it should be the page the step names.

Check the markup against the pageFour checks that keep breadcrumb markup matching the visible trail.Check the markup against the pageThe names match the trail the visitor seesThe steps are in the same order as the pageNo step is listed that the page does not showEvery address opens and is the page it namesAUTOMIX AI
Markup must match what the page shows.

Generating and checking it

Khoji generates schema markup for fifteen types, and BreadcrumbList is one of them. When you give Khoji the page text, it refuses any name, price or rating that the page text does not contain, so the markup cannot claim something the page does not show. Khoji's schema validator works the other way round. You give it markup that already exists on a page, and it checks the same rule against the visible text.

A woman checks devices while working at a desk in a small office.
Checking the published page is part of the markup routine.

Generating and validating schema costs no credits. A simple routine is to generate the markup, paste it into the page, publish, and then run the validator on the finished page. Run a full audit after that, because the audit counts results by error, warning and note. Khoji shows no SEO score out of 100.

Organization markup: the other one worth having

Organization markup describes the business itself, such as its name, its web address, its logo and its contact details. It is usually placed on the home page or the contact page, and it applies to the business as a whole rather than to one page.

A clinic administrator reviews a tablet behind a reception counter.
Organization markup describes the business and its visible contact details.

Khoji generates Organization markup as one of its fifteen types. Use only the name and details that your site actually shows. If your contact page shows a clinic name, a phone number and a city, the markup should contain those same details and nothing more.

Plans and prices are on the Automix AI pricing page. To see how a crawl of your own site lists pages and links, read the guide on how website crawlers move through a site, and use the schema markup generator for the markup itself. The Khoji home page lists everything else Khoji does.

Frequently asked questions

What is breadcrumb schema?

Breadcrumb schema is structured data, usually written as JSON-LD, that describes the trail of links showing where a page sits in your site, such as Home, then Services, then one service. It uses the BreadcrumbList type from the schema.org vocabulary. The markup must list the same names, in the same order, as the trail the visitor sees on the page.

Does breadcrumb schema help SEO?

Breadcrumb schema describes your site structure to search engines, and search engines may use it when they show results. They decide whether and how to use it. No tool or agency can guarantee a ranking or a particular look in search results, so treat breadcrumb markup as a way to describe your pages accurately, not as a promise of a result.

How do I add breadcrumb schema?

Write the trail on the page first, then write a BreadcrumbList with one ListItem for each step, in order, each with a position, a name and the address of that step. Place the script in the page. Khoji can generate the markup for you, and when you give it the page text, it refuses a name that the page text does not contain.

How do I test breadcrumb markup?

Use a structured data checker on the published page, then compare the names and addresses in the markup with the trail you see on the page. Run a Khoji validator check on the markup as well. It applies the same rule that markup must match what the page shows, and it costs no credits.

To generate and check markup for your own pages, run a Khoji SEO analysis on your own site.

More in On-page and technical checks

All On-page and technical checks guides · Khoji blog

Run a Khoji SEO analysis on your own site