All tools
Free SEO tool

Schema markup generator

Build valid JSON-LD for the five most common schema types: Article, FAQ, Product, Organization, LocalBusiness. Copy the snippet, paste into <head>, done.

Article fields
Output
Copy into <head>
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Best Light Roast Coffee in 2026",
  "image": [
    "https://marigoldbeans.co/cover.png"
  ],
  "author": {
    "@type": "Person",
    "name": "Brianna L."
  },
  "datePublished": "2026-05-12",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://marigoldbeans.co/blog/best-light-roast-coffee"
  }
}
</script>

What is schema markup?

Schema markup is structured data — a standardized vocabulary from Schema.org that describes what a page is about in terms search engines can read directly, instead of inferring it from your prose. JSON-LD is the format Google recommends: a small block of code you drop into the page that labels your content as an article, a product, a recipe, a local business, and so on.

Search engines use that structured data to power rich results — the star ratings, FAQ accordions, price chips, and breadcrumb trails that make a listing take up more space and pull more clicks. Schema doesn't directly raise your ranking position, but the enhanced listings it unlocks measurably lift click-through rate, which is the practical win.

How to use this JSON-LD schema generator

Pick the schema type that matches your page, fill in the fields, and copy the generated JSON-LD. The output is built and validated in your browser as you type — nothing is uploaded — so you can paste real content without privacy concerns.

  • Choose a type — Article, FAQ, Product, Organization, or Local Business.
  • Fill the fields with the same values a visitor sees on the live page; mismatched markup can trigger a manual action.
  • Copy the <script type="application/ld+json"> block into your page's <head>.
  • Confirm it with Google's Rich Results Test before you ship.

Which schema type should you use?

Match the markup to the page's primary purpose — one dominant type per page beats five half-filled ones.

  • Article — blog posts and news; eligible for Top Stories and article rich results.
  • FAQ — a page with genuine question-and-answer pairs the user can act on.
  • Product — ecommerce product pages; surfaces price, availability, and review stars.
  • Organization — your homepage, to define brand name, logo, and social profiles for the Knowledge Panel.
  • Local Business — storefronts and service-area businesses; feeds Maps and local pack listings.

FAQ

Does Google use schema markup?+

Yes. JSON-LD is Google's recommended structured-data format and is required for most rich-result features (FAQ, breadcrumbs, products, recipes, etc.).

Where do I paste the output?+

Inside <head> or just before </body>. JSON-LD is location-agnostic — Google doesn't care where it lives on the page.

How do I validate it?+

Paste the URL into Google's Rich Results Test (search.google.com/test/rich-results). Schema.org also has a validator at validator.schema.org.

Want this checked sitewide, automatically?

7-day trial. From $29/mo. Cancel from the dashboard.