🏗️ Schema.org Generator

📐 Schema type

{{ currentSchema.description }}

⚠️ Required fields

⭐ Recommended fields

🧩 Optional fields

⚠️ Warnings

  • {{ w }}

✅ All required and recommended fields are present.

📋 JSON-LD output

{{ jsonLdPretty }}

📜 HTML <script> tag

{{ htmlSnippet }}
⚠️

ℹ️ About Schema.org Generator

What is schema.org and JSON-LD?

Schema.org is a community-maintained vocabulary for structured data that Google, Bing, Yahoo, and Yandex use to understand the content of web pages. By annotating a page with structured data, you tell search engines exactly what kind of thing the page represents — an article, a recipe, a job posting, a local business — and which of its properties matter.

JSON-LD (JSON for Linked Data) is the recommended serialization format. You embed a <script type="application/ld+json">…</script> block anywhere in your HTML and search engines parse it server-side, with no impact on layout or user-visible content. Correct, validated structured data makes pages eligible for Google Rich Results: star ratings on product pages, FAQ accordions in SERPs, recipe cards with cook time, job-posting carousels, and dozens of other enhancements.

Schema types supported by this tool

  • Article / BlogPosting / NewsArticle — editorial content; NewsArticle is eligible for Google Top Stories.
  • Product — physical or virtual goods with offers, ratings, and reviews.
  • LocalBusiness — physical businesses with address and hours.
  • Organization — companies and groups with logo and social profiles (drives the SERP knowledge panel).
  • Person — biographies and author markup.
  • Event — concerts, conferences, classes — eligible for the Events carousel.
  • Recipe — cooking instructions with ingredients, times, and image — eligible for the Recipe rich result.
  • FAQPage — question-and-answer pages, rendered as expandable accordions in SERPs.
  • BreadcrumbList — replaces the URL in the SERP with a breadcrumb trail.
  • VideoObject — videos with thumbnail, upload date, and duration.
  • Review — explicit reviews of items by an author.
  • Course — educational courses; eligible for course listings.
  • JobPosting — job openings; eligible for the Google Jobs experience.
  • HowTo — step-by-step instructions.
  • SoftwareApplication — apps with price, rating, and OS — like the WebApplication block this site already emits.

How this generator works

Pick a schema type from the dropdown. The form below updates to show the fields that type requires (red), recommends for rich-result eligibility (yellow), and accepts as optional extras (gray). As you type, the JSON-LD preview updates live; the Warnings panel above tells you which fields are still missing.

Some fields are nested objects: author is a Person, publisher is an Organization, address is a PostalAddress, and offers takes a price and currency. The generator constructs the nested @type blocks for you. List-style fields (FAQ questions, How-To steps, breadcrumbs) use one entry per line — see the placeholder text inside each textarea.

When you're done, copy the JSON to validate at Google's Rich Results Test or schema.org's own validator, or copy the full <script> tag and paste it into your page <head>.

Practical use cases

  • E-commerce product pages — Product + Offer + AggregateRating enables price, star rating, and stock state right in the SERP.
  • FAQ pages — FAQPage with a few Q&A entries can occupy 4–8 SERP slots as expandable accordions.
  • Recipe blogs — Recipe with cook time and image is one of the highest-conversion rich results.
  • Local businesses — LocalBusiness with address, telephone, and openingHours feeds Google Maps + the SERP knowledge panel.
  • Job boards — JobPosting is required to appear in Google Jobs (and similar).
  • News publishers — NewsArticle markup is required for Top Stories eligibility.
  • Documentation / tutorials — HowTo markup turns a step-by-step guide into a rich-result card.

Example output

A minimal Article block looks like this:

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Cyber Night release notes — v1.2",
  "author": { "@type": "Person", "name": "Jane Doe" },
  "datePublished": "2025-05-27",
  "image": "https://example.com/banner.jpg"
}

Paste it into a <script type="application/ld+json">…</script> tag inside <head>, validate, and you're done.

Source references

Limits and practical notes

  • JSON-LD is the format Google recommends; Microdata and RDFa are also supported but harder to author by hand.
  • Structured data tells crawlers what the page is about — it does not change ranking by itself. Quality content and correct markup combine to earn rich results.
  • Don't markup content that isn't visible to users; Google treats hidden structured data as a guidelines violation.
  • This tool generates valid JSON-LD shape; always validate the final output against the Rich Results Test before deploying.
  • The generator runs in your browser. The same logic is exposed by the API endpoint below, which uses the shared Module-First TypeScript module.

API Usage Example:

POST /api/tools/seo/schema-org-generator
Content-Type: application/json

{
    "type": "Article",
    "fields": {
        "headline": "Example headline",
        "author": {
            "name": "Jane Doe"
        },
        "datePublished": "2025-01-01"
    }
}
Ready