Schema Generator

Generate valid JSON-LD structured data for 11 schema types — Article, Product, FAQ, Local Business, Event, How-To, Recipe, Breadcrumb, WebPage, Organization, and Video — with a live preview showing exactly how your rich result will appear in Google search. No plugin, no account, no coding knowledge required. Copy and paste the output directly into your page's <head> to unlock star ratings, FAQ accordions, price badges, and more.

structured-data.html 0 lines
Test your structured data
0
Schema Score Add fields to improve
Live
google.com/search
About 1,230,000 results (0.42 seconds)
example.com https://example.com

Your Page Title Will Appear Here

Your meta description will appear here. Add structured data to see rich result enhancements below.

related-site.com https://related-site.com › resources › article

Similar Topic - Related Website Article Title ...

A brief description from a related website that appears below your result in search results...

another-blog.com https://another-blog.com › guides › topic

Another Related Article - Third Result Title

Another description from a different website competing for the same query...

All Images Videos News Maps
example.com https://example.com

Your Page Title Will Appear Here

Your meta description will appear here. Add structured data to see rich result enhancements.

related-site.com https://related-site.com › topic

Related Article Title Here ...

Description from another website appearing in mobile search results...

third-result.com https://third-result.com › blog

Third Search Result Title

Another competing page description in mobile Google results...

Supported Schema Types

Article Blog posts & news articles
Product E-commerce with ratings & price
FAQ Expandable Q&A in search
Local Business Address, hours & contact
Event / Recipe / How-To Rich cards in Google results
WebPage / Organization / Video Standard, brand & video schemas

Keyboard Shortcuts

Ctrl+C Copy code
Ctrl+S Download file
Ctrl+R Reset all
1-9 Switch schema type

The Complete Guide to Schema Markup

Schema markup is the language search engines use to understand the meaning behind your content. While your HTML tells browsers how to display a page, structured data tells Google what the page is actually about — whether it is a product with a price, a recipe with cooking time, or an event with a date and venue.

Our Schema Generator creates valid JSON-LD structured data for 11 of the most impactful schema types. With a live SERP preview showing exactly how your rich snippets will appear in Google, you can optimize your structured data before deploying it — no guesswork required.

What Is Schema? Meaning and Definition

In the context of the web, schema is a shared vocabulary for describing what things are. The meaning of schema is simply a structured way to label your content so machines — search engines, voice assistants, and AI — can understand it, not just display it. A page might look like a recipe to a person, but without schema, Google only sees text and images; schema spells out "this is a Recipe, here is the cook time, here are the ingredients, here is the rating."

The formal schema definition comes from Schema.org, a collaborative project founded by Google, Microsoft, Yahoo, and Yandex in 2011. It defines hundreds of "types" (such as Article, Product, Event, and FAQPage) and the "properties" each type can have. So when people ask "what is a schema?", this is it: a standardised set of tags that turns ordinary content into structured, machine-readable data. This schema generator writes that code for you, so you never have to learn the vocabulary by hand.

What Is Schema Markup in SEO?

Schema markup is the code you add to a web page to implement that vocabulary. In SEO, schema markup matters because it helps search engines understand your pages precisely — and rewards you with rich results: the enhanced listings with star ratings, prices, FAQ dropdowns, images, and other eye-catching details that stand out in Google.

To be clear, schema in SEO is not a direct ranking factor — adding markup will not automatically push you to position one. What it does is make your existing listing more informative and clickable, which lifts your click-through rate, and it makes your content eligible for special search features you cannot get any other way. For competitive queries, a listing with a 5-star rating or an FAQ expander often out-performs a plain blue link above it. That is why schema markup for SEO is one of the highest-leverage technical wins available, and why every serious site should use it.

Schema Types You Can Generate

Schema.org defines hundreds of types, but a handful drive nearly all rich results. This generator creates valid markup for the eleven most impactful ones — pick a type and fill in the fields:

  • Article schema — for blog posts and news, showing the headline, author, and date; the foundation of Google's article rich results.
  • Product schema — for shop and product pages, adding price, availability, and review stars to your listing. Essential for e-commerce visibility.
  • FAQ schema — turns a list of questions and answers into an expandable FAQ directly in the search result. One of the most popular and effective types.
  • Local Business schema — for shops, restaurants, and services, feeding your address, opening hours, and phone number into Google's local features.
  • Event schema — dates, venue, and ticket details for concerts, webinars, and more.
  • Recipe schema — cook time, ingredients, calories, and ratings for the recipe cards Google shows.
  • How-To schema — step-by-step instructions eligible for how-to rich results.
  • Breadcrumb schema — the navigation path shown under your title in search instead of a raw URL.
  • Organization & WebPage schema — your brand's core identity, logo, and social profiles.
  • Video schema — thumbnail, duration, and upload date for video rich results.

Each type has its own required and recommended properties. The generator shows only the fields relevant to the type you choose, so you always produce complete, valid markup.

How Schema Markup Wins Rich Results

Rich results are the reason to add schema. Depending on the type you use, structured data can unlock star ratings under a product or recipe, an FAQ dropdown that expands right in the results, a recipe card with photo and cook time, breadcrumbs that replace the raw URL, event dates, sitelinks, and more. These features take up more space, communicate more at a glance, and pull more clicks than a standard listing.

They also feed the newer ways people find information. Google's AI Overviews, voice assistants, and shopping features all lean on structured data to pull accurate facts about your pages, so a page with clean schema is simply easier for every system to quote correctly. To keep the benefits, make sure the markup matches what a visitor actually sees on the page — Google's guidelines require the structured data to reflect real, visible content, or the rich result can be removed.

JSON-LD, Microdata & Schema Tags

There are three ways to add schema tags to a page: JSON-LD, Microdata, and RDFa. JSON-LD is the format Google recommends and the one this generator produces. Instead of wrapping your HTML in extra attributes, JSON-LD sits in a single <script> block, keeping your markup clean and easy to maintain.

Microdata and RDFa embed the schema tags directly into your HTML elements using attributes like itemscope and itemprop. They work, but they clutter your markup and are harder to update. Because JSON-LD lives in one place and can be added without touching your existing HTML, it has become the standard for modern schema markup. Whatever you may have seen elsewhere, the code this tool gives you is ready-to-paste JSON-LD — just drop it into your page's <head>.

Schema Markup Example

Here is a simple schema example — the JSON-LD for a FAQ, exactly the kind of code this generator produces:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [{
    "@type": "Question",
    "name": "What is schema markup?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "Schema markup is structured data that helps search engines understand your content and show rich results."
    }
  }]
}
</script>

Every schema type follows the same shape: a @context pointing to Schema.org, an @type naming the thing, and a set of properties describing it. You never have to write this by hand — choose a type above, fill in your details, and copy the finished markup.

How to Add Schema Markup to Your Website

  1. Choose your schema type above and fill in the fields — the JSON-LD generates as you type.
  2. Copy the generated code with the Copy button.
  3. Paste it inside a <script type="application/ld+json">...</script> tag in your page's <head> (or anywhere in the body). In WordPress, add it with a header-and-footer code plugin or via your theme.
  4. Validate it — paste your page URL or the code into Google's Rich Results Test or the Schema.org validator to confirm it is error-free and eligible for rich results.

Always test after adding markup. A small typo can make a whole block invalid, and a schema validator catches it in seconds. Once validated, Google picks up the structured data on its next crawl, and eligible rich results usually appear within a few days to a few weeks.

Schema Markup Best Practices & Common Mistakes

Getting schema right is as much about avoiding mistakes as adding tags. Keep these best practices in mind whenever you add structured data:

  • Only mark up visible content. Never add schema for information that is not on the page — Google treats hidden or fake markup as spam and can issue a manual penalty.
  • Use the most specific type. A "Product" is better than a generic "Thing", and a LocalBusiness subtype like "Restaurant" is better still. More specific types unlock more rich features.
  • Fill in the recommended properties, not just the required ones. Ratings, images, and prices are what actually trigger the eye-catching rich results.
  • Do not stuff multiple conflicting types onto one page. Pick the schema type that matches the page's main purpose.
  • Re-validate after site changes. Redesigns and price updates can break existing markup, so re-test periodically with a schema checker.

Because this generator only outputs valid Schema.org JSON-LD and shows a live preview of the resulting rich result, it removes the most common syntax errors before they ever reach your site — giving you clean, Google-ready schema markup every time.

How to Use the Schema Generator

01

Choose Your Schema Type

Select from 8 schema types using the chips or dropdown. The form fields update dynamically to show only the fields relevant to your chosen type.

02

Fill in Your Content

Enter your page details — title, description, URLs, images, and type-specific fields. The JSON-LD code generates in real-time as you type.

03

Preview Rich Results

Switch to the SERP Preview tab to see how your rich snippet will look in Google on both desktop and mobile devices.

04

Copy or Download

Copy the JSON-LD code and paste it inside a <script type="application/ld+json"> tag in your page's <head> section.

Key Features

Real-Time Generation

Every keystroke instantly updates the JSON-LD output. No submit buttons — see your structured data the moment you type.

Rich Result SERP Preview

See exactly how your page will appear in Google with rich snippets — star ratings, FAQ dropdowns, recipe cards, and more.

11 Schema Types

Article, Product, FAQ, Local Business, Event, How-To, Recipe, Breadcrumb, WebPage, Organization & Video — covering all major rich result types.

Schema Score

A live scoring system evaluates your markup completeness and shows exactly which fields need attention.

Desktop & Mobile Preview

Switch between MacBook browser frame and iPhone mockup to preview your rich results on both devices.

100% Private

All processing happens in your browser. No data is sent to any server — your content stays completely private.

Schema Type Reference

Each schema type generates specific rich result enhancements in Google:

Schema TypeRich ResultKey FieldsBest For
ArticleThumbnail + date + authorheadline, author, datePublished, imageBlog posts, news articles
ProductStars + price + availabilityname, price, rating, availabilityE-commerce product pages
FAQExpandable Q&A accordionquestion, acceptedAnswerFAQ & help center pages
LocalBusinessMap + address + hoursname, address, phone, openingHoursPhysical stores & offices
EventDate block + venue + pricename, startDate, location, offersConcerts, meetups, webinars
HowToNumbered steps listname, step, totalTimeTutorials & guides
RecipeImage + time + caloriesname, cookTime, ingredients, imageCooking & recipe pages
BreadcrumbListNavigation trail in URL areaname, item (URL)All pages (navigation)
WebPageStandard result (no extra)name, description, url, authorAny standard web page
OrganizationKnowledge panel infoname, logo, url, sameAsCompany & brand pages
VideoObjectVideo thumbnail + durationname, thumbnailUrl, duration, uploadDateVideo & tutorial pages
Advertisement
Ad

Why Structured Data Matters

Structured data drives measurable improvements in search visibility:

  • Higher Click-Through Rates: Rich results stand out visually in search results. Pages with rich snippets can see up to 30% more clicks than standard listings.
  • Better Search Understanding: Schema markup helps Google understand your content's context, leading to more relevant search appearances and potentially higher rankings.
  • Voice Search Ready: Google Assistant and other voice assistants use structured data to provide direct answers. FAQ and How-To schemas are particularly valuable for voice search.
  • E-commerce Advantage: Product schema with ratings, price, and availability gives shoppers the information they need before clicking — attracting more qualified traffic.
  • Local SEO Boost: LocalBusiness schema helps Google understand your business details, improving visibility in local search results and Google Maps.

Expert Schema Markup Tips

Match Schema to Content

Only add schema types that accurately describe your page content. Using Product schema on a blog post will cause validation errors and may result in a manual action from Google.

Use High-Quality Images

For Article, Product, Recipe, and Event schemas, provide images that are at least 1200px wide. Google prioritizes results with high-resolution images in rich results.

Test Before Deploying

Always validate your JSON-LD using Google's Rich Results Test (search.google.com/test/rich-results) before deploying to production.

Keep Data Current

Ensure your structured data stays accurate. Outdated prices, past event dates, or incorrect business hours can hurt your search presence and user trust.

Advertisement
Ad

Frequently Asked Questions

What is JSON-LD structured data?

JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding structured data using JSON. It is the recommended format by Google for adding schema markup to web pages. Unlike Microdata or RDFa, JSON-LD is placed in a script tag and does not require changes to your existing HTML content, making it easier to implement and maintain.

What are Google rich results?

Rich results are enhanced search listings that include extra visual elements beyond the standard title-URL-description format. Examples include star ratings for products, expandable FAQ sections, recipe cards with cooking times, event dates and venues, and breadcrumb navigation trails. Adding valid structured data enables these enhanced displays.

Which schema type should I use?

Choose the schema type that best matches your page content: Article for blog posts and news, Product for e-commerce items, FAQ for question-and-answer pages, LocalBusiness for physical stores, Event for events, HowTo for step-by-step guides, Recipe for cooking pages, BreadcrumbList for navigation trails, WebPage for standard pages, Organization for company info, and VideoObject for video content.

How do I add JSON-LD to my website?

Copy the generated JSON-LD code and paste it inside a <script type="application/ld+json"> tag in your page's HTML. It can be placed in the <head> section or anywhere in the <body>. Google recommends the <head> section for faster discovery by crawlers.

Can I use multiple schema types on one page?

Yes, you can have multiple JSON-LD blocks on a single page. For example, a recipe page might have both Recipe schema and BreadcrumbList schema. Each should be in its own <script type="application/ld+json"> tag. Google can process multiple structured data blocks per page.

Is my data stored on your servers?

No. All schema generation happens entirely in your browser using JavaScript. We never transmit, store, or log your data. Everything stays 100% private on your machine.

How do I add schema markup to WordPress without a plugin?

Generate your JSON-LD code here, then in WordPress go to Appearance › Theme Editor › header.php and paste the <script type="application/ld+json"> block before the closing </head> tag. For page-specific schema, paste it into the page's Custom HTML block in the block editor. For Shopify, add the script tag to theme.liquid or a specific page template. No SEO plugin required.

What schema type should I use for a local business?

Use LocalBusiness schema (or a more specific subtype like Restaurant, MedicalBusiness, or AutoDealer). Include name, address, telephone, opening hours, geo coordinates, and a URL. Adding aggregateRating can unlock star ratings in search results. Google uses LocalBusiness schema to populate Knowledge Panel data and can show your business hours and location directly in results — particularly valuable for "near me" searches.

What is schema in simple terms?

In simple terms, schema is a way of labelling your web content so search engines understand what it means, not just what it says. It uses a shared vocabulary from Schema.org to tag things like a product's price, a recipe's cook time, or an event's date. That extra meaning is what lets Google show enhanced listings — the star ratings, FAQs, and other rich results you see in search. This tool writes that schema code (as JSON-LD) for you automatically.

Is schema markup a ranking factor?

Schema markup is not a direct ranking factor — Google has confirmed it will not, on its own, move you up the results. What it does is make your listing eligible for rich results and help search engines understand your content, which improves your click-through rate and can indirectly support rankings. In competitive niches, a result with star ratings or an FAQ dropdown often gets more clicks than a plain listing above it, so schema markup for SEO is well worth adding.

What is the difference between schema and structured data?

The terms are often used interchangeably. "Structured data" is the general concept of organising information in a machine-readable way. "Schema" (from Schema.org) is the specific vocabulary most websites use to do it, and "schema markup" is the code that implements it on a page. JSON-LD is the recommended format for writing that markup. In everyday SEO use, "schema", "schema markup", and "structured data" all point to the same thing this generator produces.

How do I test or validate my schema markup?

After generating your JSON-LD here, validate it with a schema validator before publishing. Google's Rich Results Test (search.google.com/test/rich-results) checks whether your markup is valid and eligible for rich results, while the Schema.org validator (validator.schema.org) checks it against the full vocabulary. Paste either your live page URL or the code itself. Both catch missing required properties and syntax errors in seconds — fix any issues, re-test, and you are ready to deploy.