JSON-LD generator

Breadcrumb Schema Generator (JSON-LD)

List each level of the breadcrumb trail from the home page down. The JSON-LD updates as you work and stays in this browser.

01

Enter the details

Breadcrumb trail

List each level from the home page down to this page.

Breadcrumb levelsRequired for Google breadcrumbStart at the home page. The position numbers are added for you.
What each engine usesReview the documented search feature requirements that apply to this business type.
Active feature ruleGoogle: breadcrumb

Required for Google breadcrumb: itemListElement

Documentation checked 2026-11-12
Jump to the generated code
02

Live JSON-LD output

This code still contains example values. Replace them with details that appear on your page.

Most plugins and code fields want the version with the script tag. Use JSON-LD only when a field asks for the JSON by itself.

schema-breadcrumb
<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": "Backpacks",
      "item": "https://example.com/backpacks/"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Example Trail Backpack 30L"
    }
  ]
}
</script>

How to add this code to WordPress, Shopify, Wix and other sites

Add the code to your site

Copying the code is half the job. Choose where your site is built to see where the code goes, which version to copy and what to check so you do not end up with two blocks describing the same thing.

Before you paste, on any platform

  1. Open the live page, view its source and search for application/ld+json. Many themes, plugins and site builders already add markup.
  2. If a block already describes the same thing, correct that block or turn it off instead of adding a second one.
  3. Make sure every value in the code is also visible on the page.
  4. After you publish, test the live URL with the Schema checker and Google's Rich Results Test.

Choose your platform. Use the arrow keys to move between platforms.

WordPress block editor

Copy the "With script tag" version.

  1. Open the page or post in the block editor.
  2. Add a Custom HTML block, paste the code and update the page.
  3. View the published page source to confirm the script element is there.
  4. For markup that belongs on every page, such as Organization, use a child theme or a site-specific plugin instead of a block on each page.

WordPress removes script elements from the Custom HTML block for users without the unfiltered_html capability. On a single site, Administrators and Editors have it; on a multisite network, only Super Admins do.

Read the WordPress schema guide

03

How to use this generator

  1. Replace the example levels with the trail shown on the page.
  2. Use Move up and Move down to put the levels in order.
  3. Run Check this code and correct any errors.
  4. Paste the script-tag version into the page the trail belongs to.

Where this code goes

Paste the script-tag version into the HTML of the page it describes, in the head or the body. Most site builders have a custom code or header field for this.

04

What this generator does

The form builds one BreadcrumbList node and numbers each ListItem. The check compares it with the breadcrumb requirements Google documents. It cannot confirm indexing or promise a displayed search result.