Home > Books > Science fiction > Award winners
That row of links near the top of a page is a breadcrumb, or breadcrumb trail. Each link leads one level up, so a visitor can see which section the page belongs to and step back to any wider one with a single click.
The name comes from Hansel and Gretel, who dropped breadcrumbs to find their way home. On a website the trail does the same job for someone who landed deep inside a site from a search result and wants to see what else is there.
What breadcrumbs do for visitors and for search
For visitors, a breadcrumb answers two questions at once: where am I, and how do I get to the bigger section? One click on "Science fiction" takes them to the whole category, without hunting through the menu.
For search, breadcrumbs help in two ways. The trail's links are ordinary internal links, so they connect each page to its parent sections. And if you add breadcrumb structured data, Google can use it to understand the page's place on the site and show the trail in its results.
Where Google shows it has changed. Since 23 January 2025, Google no longer shows breadcrumbs in mobile search results; mobile results show only the domain. Desktop results still show the domain followed by the breadcrumb. Google said sites with breadcrumb markup don't need to change anything. Google Search Central
Build the trail around how people browse
Google recommends a breadcrumb that shows a typical path a visitor would take to the page, rather than one that copies the URL structure. If your URLs are /p/48213 but visitors browse Books, then Science fiction, the trail should say Books > Science fiction.
Some pages can be reached in more than one way. A book could sit under Science fiction and under Award winners. You can give such a page more than one trail in the markup.
Keep the trail short and the names the same as in your menu. The labels are link text, so "Science fiction" is better than "Category 12".
The visible trail in HTML
An accessible breadcrumb sits in a <nav> element with a label, so screen reader users can find it, and marks the current page with aria-current="page". W3C ARIA Authoring Practices
<nav aria-label="Breadcrumb">
<ol>
<li><a href="https://example.com/books">Books</a></li>
<li><a href="https://example.com/books/science-fiction">Science fiction</a></li>
<li><a href="https://example.com/books/science-fiction/award-winners" aria-current="page">Award winners</a></li>
</ol>
</nav>
Add the structured data
Breadcrumb structured data uses schema.org's BreadcrumbList: an ordered list of ListItem entries. Here's the trail above in JSON-LD:
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Books",
"item": "https://example.com/books"
},{
"@type": "ListItem",
"position": 2,
"name": "Science fiction",
"item": "https://example.com/books/science-fiction"
},{
"@type": "ListItem",
"position": 3,
"name": "Award winners"
}]
}
Google's rules for this markup:
- The list needs at least two
ListItementries. position1 is the start of the trail.nameis the label shown to people, anditemis the URL of that level.- The last item can leave out
item. Google then uses the URL of the page the markup is on. - You don't need an item for the home page or the top-level path, or for the page itself.
- For a page with several trails, add one
BreadcrumbListper trail.
Google also accepts RDFa and Microdata, which put the same properties into the HTML of the trail itself. Whatever format you use, the markup should describe the trail people can see: Google's structured data guidelines say not to mark up content that isn't visible on the page.
Test it and keep an eye on it
- Paste the page or code into the Rich Results Test and fix any errors it reports.
- Make sure Google can reach the page: no robots.txt block, no
noindexand no login wall. - After you publish, check the page with the URL Inspection tool in Search Console.
- Watch the breadcrumb report in Search Console, especially after you change a page template, because one template error can break the markup on every page that uses it.
Markup makes a page eligible to show the trail; Google doesn't guarantee it will. If Google doesn't show yours on desktop, check the reports for errors first.