Breadcrumbs are the small trail of links near the top of a page: Home › Kitchen › Knives › Santoku Knife. They tell visitors where they are and let them jump back up a level with one click. The same trail, described in structured data, tells search engines how the page fits into your site.
This guide explains what breadcrumb markup contains, how it relates to your URLs and navigation, the rules that keep it valid, and how to build it quickly for any page.
Breadcrumbs for people, markup for machines
There are two separate things with the same name:
- Visible breadcrumbs - the navigation links on the page. They help users, especially those who arrive from search on a deep page and want to see related items.
- Breadcrumb structured data - a
BreadcrumbListin JSON-LD that describes the same trail in a machine-readable way.
The markup should mirror the visible trail. If a page shows no breadcrumbs, marking up a trail that users cannot see goes against the spirit of Google's structured data guidelines.
Search engines can use breadcrumb information when displaying a result. Google has used it to show a path instead of the raw URL, particularly on desktop; how and where it appears has changed over time, so treat the display as a bonus rather than the goal. The main value is a clear description of site hierarchy.
How BreadcrumbList is structured
A BreadcrumbList contains itemListElement, an ordered list of ListItem entries. Each has:
- position - a number starting at 1 for the top level
- name - the label shown in the trail
- item - the URL of that level
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.com/" },
{ "@type": "ListItem", "position": 2, "name": "Kitchen", "item": "https://www.example.com/kitchen/" },
{ "@type": "ListItem", "position": 3, "name": "Knives", "item": "https://www.example.com/kitchen/knives/" },
{ "@type": "ListItem", "position": 4, "name": "Santoku Knife 18 cm" }
]
}
The last item represents the current page. Google's documentation allows its URL to be omitted, in which case the page's own URL is assumed.
Breadcrumbs are not always the URL path
It is tempting to build breadcrumbs by splitting the URL on slashes, and on well-organised sites that works. But breadcrumbs describe the logical hierarchy, which does not always match the folders:
- A product at
/p/12345may logically sit under Kitchen › Knives. - A blog post at
/2026/05/remote-team-ritualsbelongs under Blog › Management, not under a year and month. - Folder names are often slugs like
kitchen-knives-and-cutlerythat make poor labels.
Start from the URL if it helps, then edit names and levels so they read like your navigation.
Build breadcrumb markup with our tool
The Breadcrumb Schema Generator can start from a URL or let you build the trail by hand.
- Open the Breadcrumb Schema Generator.
- To start from a URL, paste the page address into Build from a page URL and press Build. The tool creates a Home level plus one level per folder, turning slugs into title-case names.
- Check the Trail preview, which shows the breadcrumb as a visitor would see it.
- Edit the names and URLs under Levels. Rename slug-based labels to match your menu, delete levels that are only technical folders, and use Add level to insert missing ones. The arrow buttons reorder levels.
- Read the Checks: at least two levels are needed, every level except the last needs a URL, and URLs must be absolute. Positions are numbered automatically.
- Copy or download the script and add it to the page, then test it with the Rich Results Test button.
Other ways to add breadcrumbs
Theme or CMS breadcrumbs. Many themes display breadcrumbs and output matching markup. That is the ideal set-up, because the visible trail and the markup come from the same code. Check the page source for BreadcrumbList before adding your own.
Microdata in the navigation. You can add schema.org attributes directly to the HTML list that renders your breadcrumbs. It keeps markup and content together, at the cost of messier HTML.
Templates. On a custom site, generate the JSON-LD from the same category data that builds the visible breadcrumbs, so every page gets correct markup automatically.
Tips and troubleshooting
Use absolute URLs
/kitchen/ is not enough; use https://www.example.com/kitchen/. Mixed http and https, or www and non-www, should match your canonical URLs.
Keep names short and consistent
"Knives" is better than "Shop Our Full Range of Kitchen Knives". Use the same label for a category everywhere it appears.
Multiple paths to one page
A product in two categories can have two breadcrumb trails. Google supports multiple BreadcrumbList blocks on a page, but one clear primary path is easier for visitors to understand.
Keep slugs clean
Readable URL segments make breadcrumbs easier to build. The Slug Generator turns titles into clean slugs, and an XML sitemap helps search engines discover every level of the hierarchy.
Pair with other page types
A product page can carry both breadcrumb markup and Product markup; an article can carry breadcrumbs and Article markup. Each describes a different aspect of the page.
Frequently asked questions
Does the home page need breadcrumb markup?
No. A breadcrumb trail needs at least two levels, and the home page is the top of the hierarchy, so there is nothing to show.
Should the last breadcrumb be a link?
Visually, the current page is usually shown as plain text. In the markup, the last item may include the URL or omit it; both are acceptable.
Do breadcrumbs have to match the URL structure?
No. They should reflect how the site is organised for users. URLs are one hint, but categories and navigation matter more.
Can breadcrumbs help rankings?
Search engines have not described breadcrumb markup as a ranking factor. It helps them understand site structure and can change how a result is displayed.
Is it a problem if Google does not show my breadcrumbs?
No. Display varies by device and over time. As long as the markup is valid and matches the page, it is doing its job.