Schema.org Generator

Build valid JSON-LD structured data for Article, Product, FAQ, HowTo, LocalBusiness, Recipe…

11 SCHEMA TYPES JSON-LD OUTPUT VALIDATION 100% FREE
Free Professional Tool | No Registration Required | Updated: January 2026
AI-GENERATED TOOL

Note: This Schema.org Generator was created with the help of AI. It builds valid JSON-LD structured data locally in your browser — no uploads, no tracking. Structured data helps search engines display rich results (star ratings, FAQs, recipes, event details, etc.), but it does not guarantee rich results — Google decides whether to show them based on content and quality. Always verify output with Google's Rich Results Test and Schema Markup Validator before publishing.

Build Rich Results in Minutes

Create schema markup that Google understands — no coding required.

JSON-LD Rich Results Validator

Fill in Fields

JSON-LD Output

0 B
// Fill in the form to generate JSON-LD…

Where to Place It

Wrap the JSON-LD in a <script type="application/ld+json"> tag and place it inside <head> or <body>. Use the download button to get the full script tag.

Ready-to-Use Presets

Click any preset to load sample data for that schema type. Edit fields to match your content.

Validate JSON-LD

Paste any JSON-LD to check for syntax errors, missing required properties and common mistakes.

Report

Paste JSON-LD and click Validate to see the report.

Schema.org Reference

What Is Structured Data?

Structured data is a standardized format for providing information about a page and classifying its content. Schema.org, created by Google, Bing, Yahoo and Yandex in 2011, is the shared vocabulary. Google reads structured data to power rich results — the enhanced search listings with star ratings, FAQs, breadcrumbs, event dates, recipe cards and more.

Three Supported Formats

FormatWhereRecommended
JSON-LDInside <script type="application/ld+json">Yes — Google's preference
MicrodataHTML attributes (itemscope, itemprop)No — hard to maintain
RDFaHTML attributes (property, typeof)No — rare in practice

Common Schema Types

TypeUsed ForRich Result
Article / NewsArticle / BlogPostingNews, blog postsTop stories carousel, article rich results
ProductE-commerce productsStar ratings, price, availability
FAQPageFAQ sectionsExpandable Q&A in SERP
HowToTutorials, guidesStep-by-step in SERP
LocalBusinessLocal businessesBusiness info, hours, ratings
OrganizationCompany homepageLogo, social profiles
EventConcerts, conferencesEvent dates, tickets
RecipeFood recipesImage, cook time, ratings
VideoObjectVideo pagesVideo carousel, key moments
BreadcrumbListBreadcrumb navigationBreadcrumb trail in SERP
WebSiteSite-wideSitelinks search box

Testing Your Markup

Important Rules

  • • Markup must match visible content. If the structured data says a product costs $20 but the page shows $30, Google may flag it as spam.
  • • Multiple schema types can coexist. Use an @graph array or multiple <script> tags.
  • • Use absolute URLs for images, URLs, and sameAs links.
  • • Dates must be ISO 8601 — 2026-01-15T09:00:00+00:00.
  • • Don't mark up hidden content. FAQ answers must be visible on the page.
  • • Rich results are not guaranteed. Google decides case-by-case.
  • • Nested types are powerful. Article with an author, Product with a brand, Recipe with nutrition — all use nested objects.

Complete Schema Markup Guide

Why Structured Data Matters

Google reads structured data to understand what your page is about — not just what words appear on it. When Google trusts your markup, it can show rich results: star ratings, prices, FAQs, recipes, event dates and more, directly in search results.

Rich results typically boost click-through rate by 20–30% because they stand out visually. They can also earn more screen real estate, pushing competitors down.

JSON-LD — The Recommended Format

Google supports three structured data formats, but strongly recommends JSON-LD (JavaScript Object Notation for Linked Data). It's:

  • Easy to maintain — all markup lives in one block, separated from the HTML
  • Easy to inject — can be added by tag managers or backend templates
  • Less error-prone — no need to modify every element
  • Portable — copy-paste between pages, generate with tools like this one

The block goes inside <script type="application/ld+json"> and can be placed in <head> or <body>.

Anatomy of a JSON-LD Block

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How to Brew Better Coffee",
  "author": {
    "@type": "Person",
    "name": "Jane Smith"
  },
  "datePublished": "2026-01-15T09:00:00+00:00",
  "image": "https://example.com/coffee.jpg"
}
  • @context — always "https://schema.org"
  • @type — the schema type (Article, Product, etc.)
  • Properties — the actual data (headline, author, etc.)
  • Nested objects — for related entities (author, publisher, offers)

The @graph Pattern

When you need multiple schema types on one page, use @graph instead of multiple script tags:

{
  "@context": "https://schema.org",
  "@graph": [
    { "@type": "Organization", "name": "..." },
    { "@type": "WebSite", "url": "..." },
    { "@type": "Article", "headline": "..." }
  ]
}

Required vs Recommended Properties

Each schema type has different requirements. Google documents them at developers.google.com/search/docs/appearance/structured-data. In general:

  • Required properties must be present or the markup is invalid
  • Recommended properties boost the richness of your result
  • Optional properties add extra detail

Common Mistakes

  1. Markup doesn't match visible content. Google considers this spam. If your page shows $30 but markup says $20, you'll lose rich results and possibly get a manual action.
  2. Using relative URLs. image, url, sameAs — all need absolute URLs.
  3. Wrong date format. Dates must be ISO 8601 — 2026-01-15T09:00:00+00:00, not "January 15, 2026".
  4. Missing required properties. Article without a headline, Product without name/offers, FAQ without questions.
  5. Duplicate conflicting markup. Two Article schemas on one page confuse Google.
  6. Marking up content that isn't visible. FAQ answers that don't appear on the page.
  7. Fake reviews. Review markup for reviews you don't have — this is a Google manual action trigger.
  8. Not testing. Always test with Rich Results Test before deploying.

How to Use This Generator

  1. Pick a schema type from the chips at the top (Article, Product, FAQ, etc.).
  2. Fill in the fields — required fields are marked with a red asterisk.
  3. Watch the JSON-LD output update live on the right.
  4. Test with sample data using the flask icon to see what valid output looks like.
  5. Copy the JSON and paste it into your page's <script type="application/ld+json"> block, or download the full script tag.
  6. Validate with Google using the Rich Results Test before publishing.

Pro Tip: Once your page is live, monitor rich results in Google Search Console → Enhancements. It shows which pages have valid markup, which have errors, and which have lost rich results over time. Fix errors promptly — Search Console sends email alerts when rich results drop.

⚠️ AI-Generated Tool Notice: This Schema.org Generator was built with AI assistance. It produces valid JSON-LD for the schema types covered, but Google's requirements evolve and rich results are never guaranteed. Always test with the Rich Results Test and Schema Markup Validator, and check the Search Console Enhancements report after deployment.

Frequently Asked Questions

No. Adding valid schema markup makes your page eligible for rich results, but Google decides whether to show them. Factors include: content quality, whether the markup matches visible content, page authority, and whether the query triggers a rich result. Even with perfect markup, some pages never get rich results — and that's normal.

Yes. The cleanest approach is to use a single JSON-LD block with @graph containing an array of all your schema types. Alternatively, use multiple <script type="application/ld+json"> tags — one per schema. Both work; @graph is more compact and easier to manage. Avoid declaring the same type twice with conflicting properties.

Technically, anywhere inside the HTML works — Google reads it regardless of placement. Best practice is inside <head> or at the end of <body>. Avoid injecting it with JavaScript — always include it in the server-rendered HTML so crawlers that don't execute JS can read it. (See our Pre-rendering Tester for how to check.)

Invalid schema won't directly hurt rankings — Google just ignores it. But spammy or manipulative markup (fake reviews, mismatched prices, hiding content) can trigger a manual action. Straightforward invalid syntax (typos, missing properties) is just ignored and costs you rich results. Search Console will show warnings in the Enhancements report.

@context tells the parser which vocabulary you're using — for schema.org it's always "https://schema.org". @type tells it what entity you're describing — Article, Product, FAQPage, etc. You can also combine: "@type": ["Article", "BlogPosting"] to declare multiple types for the same entity.

Not every page — but every page type that has a rich result you want. Add Article schema to articles, Product schema to products, FAQPage schema to pages with FAQs, Recipe schema to recipes, and so on. Also consider site-wide types: Organization on the homepage and WebSite with SearchAction for the sitelinks search box.

Ready to Build Your Schema Markup?

Pick a type, fill in the fields, and get valid JSON-LD ready to paste into any page.

Updated: January 2026 | Free for Commercial Use | 100% Client-Side Processing

Why Choose Our Schema Generator?

11 Schema Types

Article, Product, FAQ, HowTo, LocalBusiness, Organization, Event, Recipe, Video, Breadcrumb, WebSite.

Live JSON-LD Preview

Watch valid, syntax-highlighted JSON-LD build itself as you fill the form.

Built-in Validation

Check required properties, syntax errors and best-practice issues inline.

100% Private

All generation runs locally. Nothing uploaded, no APIs, no tracking.

More SEO Tools