Schema Markup Generator

Generate JSON-LD structured data markup for any page type and earn rich result snippets in Google search results.

Schema type

Blog posts, news articles, editorial content

Generated JSON-LD

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

Schema types reference.

The schemas Google uses for rich results, what content they describe, and the eligible rich result types.

Top stories, article card

Article

Blog posts, news articles, editorial content

Expandable FAQ in SERP

FAQPage

Pages answering 3+ related questions

Price, stars, availability

Product

E-commerce product detail pages

Map pack, Knowledge Panel

LocalBusiness

Physical storefronts and service-area businesses

Knowledge Panel, sitelinks

Organization

Company-level identity on any page (often the homepage)

Breadcrumb trail in SERP

BreadcrumbList

Every indexed page with a clear hierarchy

Steps carousel (voice + SERP)

HowTo

Step-by-step tutorials and instructional posts

What is schema markup?

Schema markup is structured data that turns your webpage from plain text into a machine-readable document. Without it, Google has to infer what a page is about from the words on the page. With schema, you tell Google directly: this is a product, here is the price, here is the rating. That clarity is what unlocks rich results: the stars, prices, FAQs, breadcrumbs, and carousels that make your listing visually dominant in search results.

The format Google officially recommends is JSON-LD, a block of JSON inside a <script> tag placed in your page's <head>. It is invisible to users, does not affect page layout, and can be dropped into any site regardless of CMS or framework. This tool builds valid JSON-LD for the seven most common schema types so you can copy, paste, and ship.

Match schema to visible content

Never mark up content that is not actually on the page. Google considers this spam and can issue a manual action that removes rich results across your whole site.

Always add BreadcrumbList

Breadcrumbs are the single most reliable rich result. Add BreadcrumbList on every indexed page alongside the page-specific schema (Article, Product, etc).

Validate before publishing

Paste your JSON-LD into Google's Rich Results Test at search.google.com/test/rich-results to confirm eligibility and catch required-field errors before going live.

Keep schema in sync

When prices, availability, ratings, or article dates change on the page, update the schema too. Stale structured data can disqualify you from rich results.

Frequently asked questions.

What is schema markup?

Schema markup, or structured data, is a standardized vocabulary of tags that you add to your HTML so search engines can understand the meaning of a page, not just its words. It is maintained by Schema.org, a joint project from Google, Microsoft, Yahoo, and Yandex. Adding schema lets Google parse your page into structured entities (articles, products, events, reviews) and use that data to generate rich results.

What is JSON-LD and why does this tool generate it?

JSON-LD (JavaScript Object Notation for Linked Data) is the format Google officially recommends for schema markup. It lives inside a <script type="application/ld+json"> block in the <head> of your page and does not affect how the page looks. Because it is decoupled from the visible HTML, it is the easiest format to add, update, and audit. This tool outputs JSON-LD exclusively because Microdata and RDFa are both legacy formats that Google still reads but no longer recommends.

Does schema markup directly improve rankings?

Schema is not a direct ranking factor. However, it can significantly improve click-through rate by making your result stand out in the SERP with stars, pricing, FAQs, breadcrumbs, or how-to steps. Higher CTR leads to better engagement signals, which indirectly supports rankings. Schema also helps Google understand entities and context, which matters increasingly for AI-powered search like SGE, ChatGPT search, and Perplexity.

Where do I paste the generated schema?

Paste the generated <script> block inside the <head> section of your HTML, before the closing </head> tag. It can also go in the <body>, but <head> is cleaner. For WordPress, most SEO plugins (Yoast, Rank Math) have a custom schema field. For Next.js, render it inside your page component with dangerouslySetInnerHTML or use a dedicated Script component with strategy="beforeInteractive".

How do I validate that my schema is working?

Use Google's Rich Results Test at search.google.com/test/rich-results. Paste your page URL or the raw schema code, and Google will tell you exactly which rich result types are eligible and flag any errors. You can also check Schema.org's validator at validator.schema.org for a format-agnostic check. After your page is live and indexed, monitor the Enhancements reports in Google Search Console for coverage across all your structured data types.

Can I add multiple schemas to the same page?

Yes. Most pages benefit from at least two: BreadcrumbList (navigation) and one content-specific schema (Article, Product, etc). You can add each in its own <script> block, or combine them into a single script using an array. For example, an e-commerce product page commonly has BreadcrumbList + Product + Organization all present. Just make sure each schema describes something actually on the page. Google penalizes pages that markup content that is hidden or absent.

What happens if I use schema incorrectly?

Google may ignore it silently or, for clear violations, issue a manual action that removes rich results across your whole site. The most common violations are marking up content that is not visible to users, marking up fake reviews, and using the wrong schema type for your content. Always match your schema to what is actually on the page, and use the Rich Results Test to catch issues before publishing.

Unlock Traffic on Autopilot

Grow organic traffic on autopilot. RankPill will research, write, optimize, and publish articles to your website daily.