Skip to content
Future Forge ToolsWeb Tools ProOpen free tools

SEO & Marketing

JSON-LD Schema Markup Examples: Copy-Ready Code for Common Pages

Valid JSON-LD schema markup examples for Organization, Article, Product, LocalBusiness, Breadcrumbs, Event and FAQ, plus where to put it and how to test.

JSON-LD Schema Markup Examples: Copy-Ready Code for Common Pages
On this page

JSON-LD schema markup is structured data written as a JSON object inside a <script type="application/ld+json"> tag. It uses schema.org types such as Organization, Article and Product to tell search engines exactly what a page describes. Below are valid, copy-ready examples for the page types most sites actually need.

Every example uses placeholder values on example.com. Swap in your own details, keep only properties that match what’s visible on the page, and test before publishing. If you’re new to structured data and want the concepts first, start with schema markup for beginners.

Try it: Schema Markup GeneratorCreate JSON-LD structured data for FAQ, Article, Product, LocalBusiness, Organization, Person, Event, Breadcrumbs and How-to pages.

Open tool — free

What schema code looks like

Every JSON-LD block has the same skeleton: a @context pointing to schema.org, a @type, and properties. Here is the wrapper you’ll paste into your HTML:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Bakery"
}
</script>

The examples below show only the JSON. Put each one inside that script tag.

JSON-LD examples by page type

Each block below is valid JSON you can paste as is and then edit. Pick the type that matches the main thing the page is about:

TypePut it onWhat Google can use it for
Organization + WebSiteHomepageLogo, business details, site name
Article / BlogPostingPosts and guidesHeadline, image and dates in article results
Product + OfferProduct pagesPrice, availability, product snippets
LocalBusinessHomepage or location pagesAddress, hours, contact details
BreadcrumbListAny page below the homepageBreadcrumb trail instead of a raw URL
EventIndividual event pagesEvent dates and location listings
FAQPagePages with visible Q&ARich results only for authoritative government and health sites

Google’s list of supported features changes, so treat the last column as a guide and confirm in its Search Central documentation.

Organization and WebSite (homepage)

Put this on your homepage. The @graph array lets you describe several connected things in one block, and the @id values let them reference each other.

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://example.com/#org",
      "name": "Example Bakery",
      "url": "https://example.com/",
      "logo": "https://example.com/logo.png",
      "sameAs": ["https://www.instagram.com/examplebakery"]
    },
    {
      "@type": "WebSite",
      "@id": "https://example.com/#website",
      "name": "Example Bakery",
      "url": "https://example.com/",
      "publisher": { "@id": "https://example.com/#org" }
    }
  ]
}

Article or BlogPosting

Use BlogPosting for blog posts and Article or NewsArticle for other editorial content. Dates should be ISO 8601 with a time zone offset.

{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "How to Store Sourdough Bread",
  "image": ["https://example.com/img/sourdough.jpg"],
  "datePublished": "2026-03-04T09:00:00-05:00",
  "dateModified": "2026-03-10T14:30:00-05:00",
  "author": {
    "@type": "Person",
    "name": "Jane Smith",
    "url": "https://example.com/about/jane"
  }
}

Product with Offer

The offers object carries price and availability. Write the price as a plain number without a currency symbol, and use full schema.org URLs for availability.

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Rye Starter Kit",
  "image": ["https://example.com/img/rye-kit.jpg"],
  "description": "Dried rye starter, jar and feeding guide.",
  "sku": "RYE-KIT-01",
  "brand": { "@type": "Brand", "name": "Example Bakery" },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/shop/rye-kit",
    "price": "24.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition"
  }
}

For online stores, Google also documents shipping and return policy properties for merchant listings. Check its current product documentation if you sell directly from the page.

LocalBusiness

Use the most specific subtype that fits, such as Bakery, Dentist or Plumber. The name, address and phone should match your Google Business Profile.

{
  "@context": "https://schema.org",
  "@type": "Bakery",
  "name": "Example Bakery",
  "url": "https://example.com/",
  "telephone": "+1-555-0100",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "12 Main Street",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
    "opens": "07:00",
    "closes": "15:00"
  }]
}

Breadcrumbs describe where the page sits in your site. Positions start at 1, and the last item (the current page) can leave out item.

{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    { "@type": "ListItem", "position": 1, "name": "Shop", "item": "https://example.com/shop/" },
    { "@type": "ListItem", "position": 2, "name": "Starters", "item": "https://example.com/shop/starters/" },
    { "@type": "ListItem", "position": 3, "name": "Rye Starter Kit" }
  ]
}

Event

{
  "@context": "https://schema.org",
  "@type": "Event",
  "name": "Sourdough Basics Workshop",
  "startDate": "2026-11-14T10:00:00-06:00",
  "endDate": "2026-11-14T13:00:00-06:00",
  "eventStatus": "https://schema.org/EventScheduled",
  "eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
  "location": {
    "@type": "Place",
    "name": "Example Bakery",
    "address": "12 Main Street, Springfield, IL 62701, US"
  },
  "offers": {
    "@type": "Offer",
    "price": "45.00",
    "priceCurrency": "USD",
    "url": "https://example.com/workshops/basics"
  }
}

If an event is postponed or canceled, update eventStatus instead of deleting the markup.

FAQPage schema, and what happened to HowTo

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [{
    "@type": "Question",
    "name": "Do you ship starters?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "Yes, dried starters ship anywhere in the US."
    }
  }]
}

Set expectations here. Google now shows FAQ rich results only for well-known, authoritative government and health sites, and it has discontinued HowTo rich results. Both remain valid schema.org types, so the markup does no harm, but most sites shouldn’t add it hoping for bigger listings.

Where to put JSON-LD and how to test it

Place the script tag in the <head> or anywhere in the <body> of the page it describes. In WordPress, an SEO plugin’s schema settings or a header snippet plugin both work. Then test:

  1. Check the raw JSON first. A stray comma or curly quote breaks the whole block, and our JSON formatter shows the exact line and column of the error.
  2. Run the live URL or the code through Google’s Rich Results Test to see which rich result types the page is eligible for.
  3. Use the Schema Markup Validator at validator.schema.org for general schema.org checks beyond Google’s features.
  4. After publishing, watch the enhancement reports in Google Search Console for errors across the site.

If you’d rather not hand-edit JSON at all, our free schema markup generator builds these blocks from a simple form, so brackets and quotes are always correct.

Mistakes that break JSON-LD

Most broken markup comes from a short list of problems, and all of them are easy to catch before you publish.

  • Curly quotes. Copying JSON through a word processor or some CMS editors turns straight quotes into typographic ones, which makes the JSON invalid.
  • Trailing commas. A comma after the last property in an object is fine in JavaScript but not in JSON.
  • Relative URLs. Use full https:// addresses for url, image and logo.
  • Dates without a zone. 2026-11-14T10:00:00 is ambiguous. Add the offset.
  • Prices with symbols. Write "24.00" with priceCurrency, not "$24".
  • Duplicate blocks. A theme, an SEO plugin and your own snippet can each add an Organization block. View the page source and keep one.
  • Markup for hidden content. Reviews, FAQs or prices that visitors can’t see on the page break Google’s guidelines.

Getting it right the first time

Pick the one or two types that truly describe each page, copy the matching example, replace every placeholder, and delete properties you can’t fill honestly. Use absolute URLs and dates with offsets, keep the markup in sync with what visitors see, and test every template once in the Rich Results Test before rolling it out site-wide.

Frequently asked questions

What is schema code?

Schema code is structured data that describes a page using the schema.org vocabulary, such as Product, Article or LocalBusiness. Most sites write it as JSON-LD inside a script tag with the type application/ld+json.

Where do I put JSON-LD schema on a page?

Put the script tag in the head or anywhere in the body of the page it describes. Google reads both, and it can also read JSON-LD that JavaScript adds after the page loads.

Can a page have more than one JSON-LD block?

Yes. You can use several separate script tags or combine items in one block with an @graph array. Just avoid duplicate, conflicting descriptions of the same thing, which often happens when a plugin and hand-written code both add markup.

Is JSON-LD better than Microdata?

For most sites, yes. Google recommends JSON-LD because it sits in one self-contained block that is easier to write and maintain, while Microdata has to be woven into your HTML attributes.

Free tools for this

admin

Writes practical guides for Future Forge Tools, where every tool runs privately in your browser.