In short
BreadcrumbList turns a page's breadcrumb trail into structured data: the ordered sequence of sections that lead to it, each with a name and a URL. Google uses it to show this path instead of the URL in desktop search results. Once the check is done, every page that displays a breadcrumb trail carries a single BreadcrumbList markup, generated from the same data as the visible trail, with no errors in Search Console.
Why it matters
A URL like example.com/p/48213 says nothing about where the page sits in the site. The breadcrumb trail, on the other hand, says “Green tea › Sencha › Organic Kagoshima sencha”. The markup lets search engines read this path without having to interpret it from the HTML.
What Google documents:
- Display: the marked-up path can replace the URL in desktop search results. Since January 2025, Google no longer shows it on mobile, where only the domain appears; it has stated that the markup is still supported.
- Rules: at least two
ListItemelements, each withposition,nameanditem(the URL), except the last one, whose URL is optional. The path must represent a typical user path to the page, not necessarily the URL structure. - Several paths: a page reachable through several sections can carry several
BreadcrumbListentries.
For generative engines, the path provides category context (this product is a green tea, this article belongs to the legal section), though no vendor documents how it is used. The effect is indirect.
Setting up the visible trail (HTML, accessibility, labels, choice of the main category) is covered in Implement breadcrumbs (opens in a new tab). This guide focuses on the markup: its structure, its sources and its errors.
What it improves
- Presentation in desktop search results A readable path instead of the URL, which can help visitors pick the right result. Effect on click-through rate not quantified by Google.
- Understanding of the hierarchy The search engine knows which section the page belongs to, regardless of the URL.
- Context for assistants The page's category is explicit. Unproven effect.
- Mobile No display effect since 2025.
- Rankings No direct effect.
How to check
On a deep page (product page, article), display the items of the marked-up trail:
curl -s https://example.com/the-vert/sencha/sencha-kagoshima-bio/ \
| tr -d '\n' | grep -o '"@type" *: *"BreadcrumbList".*' | grep -o '"name" *: *"[^"]*"'
Expected result: the labels of the visible trail, in the same order, once. If the list appears twice, two sources are producing the markup.
Then:
- Run a few page templates (category, subcategory, product, article) through the Rich Results Test: the breadcrumbs item must be valid.
- In Search Console, open the Breadcrumbs report (under Enhancements or rich results, depending on the interface): it lists valid pages and errors by type.
- Check that no
itemURL redirects or returns an error: a Screaming Frog crawl, with structured data extraction enabled, lists every value.
How to implement
Before you start
A single source of truth. The visible trail and the markup must come from the same data (main category, section titles), generated in the same place. Two separate implementations always end up diverging.
Structure required by Google:
| Element | Rule |
|---|---|
itemListElement |
Array of at least two ListItem elements |
position |
Integer starting at 1 and following the order of the trail |
name |
Displayed label; required |
item |
Absolute, canonical URL of the section; optional for the last element |
| Home page | Optional for Google; include it if it appears in the visible trail |
Reference block:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com/" },
{ "@type": "ListItem", "position": 2, "name": "Green tea", "item": "https://example.com/the-vert/" },
{ "@type": "ListItem", "position": 3, "name": "Sencha", "item": "https://example.com/the-vert/sencha/" },
{ "@type": "ListItem", "position": 4, "name": "Organic Kagoshima sencha" }
]
}
</script>
Multiple paths: in JSON-LD, put several BreadcrumbList objects in an array. Keep this for pages genuinely reachable through two sections; a single path, that of the main category, is enough in most cases.
In a graph: if your site publishes a @graph with a WebPage, give the trail an @id (https://example.com/the-vert/sencha/sencha-kagoshima-bio/#breadcrumb) and reference it from the page with "breadcrumb": { "@id": "…#breadcrumb" }.
Warning:
itemURLs must be the ones you want indexed. A section that redirects, carries a sort parameter or points to#produces errors or a useless path.
WordPress
Versions WordPress 6.4 to 7.1, WooCommerce 9 to 11, Yoast SEO 20 and later, Rank Math 1.0.
Yoast SEO adds the BreadcrumbList to its JSON-LD graph, linked to the WebPage, even if the theme does not display the visible trail. Enable and configure breadcrumbs in Yoast SEO > Settings > Advanced > Breadcrumbs, then display them with the Yoast function or block so that the visible and marked-up trails match. A post's primary category is chosen in the editor, with the primary category option Yoast adds next to the checked categories.
Rank Math: enable breadcrumbs in Rank Math SEO > General Settings > Breadcrumbs; the markup follows the settings and the primary category.
WooCommerce also generates a BreadcrumbList from its shop breadcrumb trail. With Yoast or Rank Math on top, check that only one markup remains: if there is a duplicate, keep the SEO plugin's and have it display the visible trail.
Shopify
Versions Online Store 2.0 themes (Horizon, Dawn), all Shopify plans, November 2026.
The reference themes Horizon and Dawn do not display a breadcrumb trail and do not output BreadcrumbList. After creating the visible trail, add the markup in the same snippet, from the same variables. Example for a product page, with the first collection as the section:
{%- if template.name == 'product' -%}
{%- assign main_collection = product.collections.first -%}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": {{ shop.url | append: '/' | json }} },
{%- if main_collection %}
{ "@type": "ListItem", "position": 2, "name": {{ main_collection.title | json }}, "item": {{ shop.url | append: main_collection.url | json }} },
{ "@type": "ListItem", "position": 3, "name": {{ product.title | json }} }
{%- else %}
{ "@type": "ListItem", "position": 2, "name": {{ product.title | json }} }
{%- endif %}
]
}
</script>
{%- endif -%}
The order of product.collections is not an editorial choice: for a stable main section, store it in a product metafield and read that instead of .first. Always use the collection URL (/collections/the-vert), never the /collections/the-vert/products/… variant as the last element.
PrestaShop
Versions PrestaShop 8 and 9, Classic and Hummingbird themes.
The Classic and Hummingbird themes (Hummingbird is the default theme for new stores since PrestaShop 9.1) output the BreadcrumbList in JSON-LD in templates/_partials/microdata/head-jsonld.tpl, from the same links as the visible trail (templates/_partials/breadcrumb.tpl), as soon as the trail has at least two levels. A product's path follows its default category: check it on each product page. If an SEO module adds its own marked-up trail, disable one of the two.
Magento
Versions Magento Open Source and Adobe Commerce 2.4.
The core breadcrumb template (Magento_Theme::html/breadcrumbs.phtml) displays a plain list, without BreadcrumbList markup. On product pages, the trail is even built in JavaScript in the browser (Magento_Catalog::product/breadcrumbs.phtml), so it is missing from the initial HTML. Add the JSON-LD on the server side, in an override of breadcrumbs.phtml in your theme that loops over the same $crumbs array, or install an SEO extension that generates it; for products, build the path from the main category. Flush the cache (bin/magento cache:flush).
Drupal
Versions Drupal 10 and 11, Metatag 2 and Schema.org Metatag 3 modules.
Schema.org Metatag offers BreadcrumbList as a property: enable the breadcrumb option in the Schema.org WebPage tab of the default configuration (/admin/config/search/metatag); it reuses the core breadcrumb or the Easy Breadcrumb one. Check that the marked-up labels are the page titles and not URL segments.
Wix
Versions Wix Editor and Wix Studio, dashboard as of November 2026.
Wix's Breadcrumbs element handles the display. Check the markup it outputs with the Rich Results Test; if it is missing, add your JSON-LD in the page's SEO settings, Advanced SEO tab, “Structured Data Markup” section (static pages only, 7,000 characters and five markups per page at most).
Squarespace
Versions Squarespace 7.1, Core, Plus and Advanced plans, November 2026.
With no native breadcrumb trail, add the trail and its JSON-LD together in a Code block or in the page's code injection, adapting the reference block to each page.
Webflow
Versions Webflow Designer, site plans with CMS, November 2026.
In a CMS collection template, paste the JSON-LD into Page settings > Custom code > Inside <head> tag and insert the fields: name and slug of the referenced category, name of the item. URLs must be absolute: prefix the slug with the domain.
Laravel
Versions Laravel 11 to 13, spatie/schema-org 3.23.2 and later (4 and 5 included).
Define the trail once per page and use the same variable for display and markup:
use Spatie\SchemaOrg\Schema;
/** @param array<int, array{name: string, url: ?string}> $items */
function breadcrumbSchema(array $items): string
{
$elements = [];
foreach (array_values($items) as $index => $item) {
$element = Schema::listItem()
->position($index + 1)
->name($item['name']);
if ($item['url'] !== null) {
$element->item($item['url']);
}
$elements[] = $element;
}
return Schema::breadcrumbList()->itemListElement($elements)->toScript();
}
The controller passes $breadcrumb = [['name' => 'Home', 'url' => url('/')], …, ['name' => $product->name, 'url' => null]]; the view renders the trail in HTML from this array and calls {!! breadcrumbSchema($breadcrumb) !!}.
Next.js
Versions Next.js 15 and 16 (App Router).
type Crumb = { name: string; url?: string };
export function breadcrumbJsonLd(items: Crumb[]) {
return {
'@context': 'https://schema.org',
'@type': 'BreadcrumbList',
itemListElement: items.map((crumb, index) => ({
'@type': 'ListItem',
position: index + 1,
name: crumb.name,
...(crumb.url ? { item: crumb.url } : {}),
})),
};
}
The breadcrumb component receives the same items array, displays the list and renders <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbJsonLd(items)).replace(/</g, '\\u003c') }} />.
Nuxt
Versions Nuxt 4 (and Nuxt 3, end of life since July 2026), Nuxt SEO Utils and Nuxt Schema.org modules.
With useHead, inject the object produced by the same function as the breadcrumb component (script: [{ type: 'application/ld+json', innerHTML: JSON.stringify(breadcrumbJsonLd(items)) }]). Nuxt SEO can also generate the trail from routes with useBreadcrumbItems() (Nuxt SEO Utils), which outputs the BreadcrumbList when the Nuxt Schema.org module is installed; check that the resulting labels are the ones displayed.
Astro
Versions Astro 5 to 7.
In the breadcrumb component: <script type="application/ld+json" set:html={JSON.stringify(breadcrumbJsonLd(items))} />, with the same items array as the HTML list.
Common mistakes
- Two markups: the theme, WooCommerce and the SEO plugin each output their own
BreadcrumbList. - Wrong positions: numbering that starts at 0, skips a number or does not follow the order of the trail.
- Relative URLs in
item(/the-vert/) instead of absolute URLs. - Empty
itemor#for a section with no page: remove that level or create the page. - Labels taken from the URL (“the-vert”) instead of the displayed titles.
- Markup with no visible trail, or a visible trail that differs from the markup: Google requires structured data to reflect the page content.
- Nested collection URL on Shopify (
/collections/x/products/y) used in the trail instead of the canonical URL.
Frequently asked questions
Should BreadcrumbList include the home page and the current page?
Google requires neither: the top-level element is not mandatory, and the last element can omit its URL, in which case Google uses the page's own. The safest approach is to mark up exactly the visible trail: if it starts with Home and ends with the page title, the markup does the same. You need at least two elements.
Should BreadcrumbList markup follow the URL structure?
No. Google recommends that the trail represent a typical user path to the page, not the way the URL is split. A product page with the short URL /p/sencha-bio can perfectly well carry the path Home, Green tea, Sencha, Organic sencha. What matters is that each level matches a real, indexable section page, and that the markup reproduces the displayed trail.
Microdata or JSON-LD for breadcrumbs?
Google accepts both formats for BreadcrumbList. JSON-LD is simpler to generate and maintain, as it does not depend on the theme's HTML: it is the format Google generally recommends. Microdata keeps one advantage: it sits right on the visible trail, so it is hard to get out of sync. Whatever the format, use only one per page to avoid duplicates.
Resources
- Google Search Central: breadcrumb structured datadevelopers.google.com
- Google Search Central: simplifying the visible URL element on mobiledevelopers.google.com
- schema.org: BreadcrumbListschema.org
- Next.js: implementing JSON-LDnextjs.org
- Drupal: Schema.org Metatagdrupal.org
Updated on
Topic checklist (PDF)