Free Schema Markup Generator – All Types | JSON-LD Structured Data Tool
bolt Free & No Sign-up Required

Schema Markup Generator

Generate valid JSON-LD structured data for Google Rich Results. Choose from 20+ schema types and copy the code to your WordPress site.

20+
Schema Types
100%
Google Compatible
JSON-LD
Recommended Format
store schema.org/LocalBusiness
Local Business
Generate structured data for a local business, clinic, shop, or service area business.
check_circle Eligible for Rich Results
check_circle Google Business Profile
check_circle Knowledge Panel
code JSON-LD
widgets WordPress
html HTML Script Tag
fact_check How to Validate
data_object Generated JSON-LD Schema
// Click “Generate” to create your schema markup…
widgets Add to WordPress
// Generate schema first, then view WordPress instructions here…
html Full HTML Script Tag
// Generate schema first…

How to Validate Your Schema

looks_one
Generate & Copy Your Schema
Fill in the form fields and click “Generate”, then copy the JSON-LD code.
looks_two
Test with Google Rich Results Test
Go to search.google.com/test/rich-results and paste your URL or code snippet.
looks_3
Validate with Schema.org Validator
For deeper validation, use validator.schema.org.
monitor_heart
Monitor in Search Console
After deploying, check Google Search Console → Enhancements for status and errors.
check_circle Copied to clipboard!
info

What is Schema Markup? A Complete Guide

Structured data explained — from beginner basics to advanced SEO strategy.

Schema markup (also called structured data) is machine-readable code that you embed in your website's HTML to help search engines precisely understand your content. It uses a shared, standardized vocabulary from schema.org — a collaborative initiative founded in 2011 by Google, Microsoft, Yahoo, and Yandex.

Without schema, search engines guess at what your content means by reading text the same way a human would. With schema markup, you explicitly tell Google: "This page is about a Product. Its price is $49. It has 4.7 stars from 312 reviews. It's in stock." That precision is what enables rich results — the enhanced SERP appearances that stand out from plain blue links.

This free tool generates your structured data in JSON-LD format — wrapped inside <script type="application/ld+json"> — which Google explicitly recommends over all other formats. It sits separately from your HTML, so you never have to rewrite your page to add it.

trending_up Why Schema Markup Matters for SEO
  • checkRich results earn 20–30% higher click-through rates than plain results
  • checkFAQ schema doubles your SERP real estate with expandable Q&A
  • checkProduct schema shows price, rating & availability directly in results
  • checkLocal Business schema powers Google Maps & local pack placement
  • checkArticle schema qualifies for Google Top Stories & Discover
  • checkBetter content signals improve AI Overview & featured snippet eligibility
  • checkRecipe schema shows cook time, calories & ratings in image results
  • checkEvent schema displays date, location & tickets without clicking through
verified

Google's Official Stance: JSON-LD is the preferred format for structured data. It does not require modifying your existing HTML — just add a script block anywhere on the page.

play_lesson

How to Use This Schema Markup Generator

Generate and deploy valid structured data in under 2 minutes — no coding required.

1
list_alt
Choose Schema Type

Pick from 20+ schema types in the left sidebar. Use the search box to find the right type for your content instantly.

2
edit
Fill in the Fields

Enter your details into the form. Required fields are marked with a red asterisk. All others are optional but boost completeness.

3
auto_awesome
Click Generate

Hit Generate and your valid JSON-LD code appears instantly, with syntax highlighting so every field is easy to review.

4
content_copy
Copy & Deploy

Copy the JSON-LD or get WordPress-specific instructions. Paste into your page's <head> or use the Custom HTML block.

5
fact_check
Validate & Monitor

Test with Google's Rich Results Test, then track your structured data performance in Google Search Console → Enhancements.

lightbulb

Pro tip: Always test your generated code in Google's Rich Results Test before publishing. It shows exactly which rich result types your page qualifies for and flags any errors or warnings that might prevent eligibility.

schema

All 20+ Schema Types — What They Do & When to Use Them

Every schema type supported by this generator, with the rich result it unlocks in Google Search.

Schema Type Best For Rich Result Unlocked in Google SEO Priority
LocalBusinessShops, clinics, restaurants, service businessesLocal Pack, Maps, Knowledge Panel, Opening HoursHIGH
FAQPageAny page with questions and answersExpandable FAQ accordion directly in Google SearchHIGH
ProductE-commerce product pages and listingsPrice, availability, star ratings in Shopping resultsHIGH
Article / BlogPostingBlog posts, guides, editorial contentTop Stories Carousel, Article rich result, Google DiscoverHIGH
NewsArticleNews publishers and journalistsTop Stories, Google News, AMP eligibilityHIGH
RecipeFood blogs and cooking websitesRecipe card with image, cook time, ratings, serving sizeHIGH
EventConferences, concerts, webinars, meetupsEvent rich result with date, venue, and ticket linksHIGH
Review / AggregateRatingReview pages, products with multiple ratingsGold star ratings displayed beneath search result linksHIGH
HowToStep-by-step guides and tutorialsHow-To steps with images in Google SearchMED
BreadcrumbListAll websites with a page hierarchyBreadcrumb path shown instead of raw URL in SERPsHIGH
VideoObjectPages featuring videos or YouTube embedsVideo carousel in Google Search and Google Video tabMED
WebSiteHomepage of any websiteSitelinks Search Box in Google Knowledge PanelMED
CourseOnline learning platforms and course pagesCourse rich result with provider, price, availabilityMED
SoftwareApplicationWeb apps, mobile apps, SaaS toolsApp rich result with ratings, OS info, priceMED
PersonAuthor pages, speaker bios, personal brandsPerson Knowledge Panel, Author attribution in GoogleMED
OrganizationCompany websites, nonprofits, brandsKnowledge Panel, Sitelinks, brand identity signalsMED
RestaurantFood service businesses, cafes, barsLocal rich result with menu, hours, cuisine typeHIGH
ImageObjectPhotography sites, galleries, image-heavy pagesGoogle Images licensing info, image rich resultsMED
MedicalConditionHealth information websitesMedical Knowledge Panel, Health info rich resultsMED
OfferDeals, promotions, subscription listingsShopping panel with price, availability, seller infoMED
compare

JSON-LD vs Microdata vs RDFa: Which Format Should You Use?

All three are Google-supported — but they differ hugely in ease of use and flexibility.

JSON-LD
JavaScript Object Notation for Linked Data
  • checkAdded in a separate <script> tag — zero HTML edits needed
  • checkEasiest to write, read, debug, and update
  • checkWorks perfectly with WordPress, Shopify, Webflow
  • checkCan be dynamically injected via JavaScript
  • checkSupported by Google, Bing, Yahoo, Yandex
  • checkOur generator outputs this format
Microdata
HTML attribute-based format
  • removeRequires attributes added to existing HTML tags
  • removeHard to maintain — markup tied to HTML structure
  • removeDifficult to update without touching the page layout
  • checkContent and schema always in sync by design
  • checkNo extra script tags required
RDFa
Resource Description Framework in Attributes
  • removeMost complex and verbose of the three formats
  • removePrimarily used in academic / semantic web contexts
  • removeSteep learning curve for non-developers
  • checkWorks in HTML5, XML, and SVG documents
  • checkHighly expressive for complex data relationships
lightbulb

Bottom line: Use JSON-LD for every new implementation. It's simpler to implement, easier to debug, entirely decoupled from your page HTML, and explicitly recommended in Google's official structured data documentation.

widgets

How to Add Schema Markup to WordPress (4 Methods)

Choose the method that fits your technical skill level — all four work perfectly.

1 Custom HTML Block (Easiest — No Plugin)

Best for adding schema to individual pages or posts.

  1. Open your page in the Gutenberg editor
  2. Click + to add a new block
  3. Search for and insert a Custom HTML block
  4. Paste your full <script type="application/ld+json"> tag
  5. Click Update / Publish
2 Insert Headers & Footers Plugin

Best for adding schema site-wide or to specific templates.

  1. Install the free "Insert Headers and Footers" plugin
  2. Go to Settings → Insert Headers and Footers
  3. Paste your JSON-LD into the Header section
  4. Save — code is injected on every page automatically
  5. Use WPCode for conditional logic (specific pages only)
3 Rank Math / Yoast SEO Plugin

Best if you already use an SEO plugin — they have built-in schema editors.

  1. Install Rank Math SEO (free) or Yoast SEO
  2. Edit the page → go to the Schema tab in the SEO meta box
  3. Click Add Custom Schema and paste your JSON-LD
  4. Rank Math also auto-generates many types; combine both
  5. Save and publish your page
4 functions.php — Developers Only

Best for programmatic, conditional schema injection via PHP.

function mytheme_schema() {
  if ( is_singular('post') ) {
    $schema = array(
      '@context' => 'https://schema.org',
      '@type'    => 'Article',
      'name'     => get_the_title(),
    );
    echo '<script type="application/ld+json">';
    echo wp_json_encode( $schema );
    echo '</script>';
  }
}
add_action( 'wp_head', 'mytheme_schema' );
warning

7 Common Schema Markup Mistakes to Avoid

These errors will prevent Google from showing rich results — and how to fix each one.

close Marking up content not visible on the page

Google requires schema data to reflect content actually visible to users. Never add product prices, ratings, or review counts in schema that don't match what's on the page. This is considered spammy structured data and can result in a manual action penalty.

close Using the wrong schema type

Marking a blog post as a Product or a contact page as a LocalBusiness confuses Google and wastes your structured data. Always match the schema type precisely to your page content.

close Missing required properties

Each schema type has required fields for rich result eligibility. For example, Product requires at minimum a name and either a Review or AggregateRating or Offer to qualify. Check Google's docs for required vs recommended properties per type.

close Invalid JSON syntax

A single missing comma, unclosed bracket, or stray quotation mark will break your entire schema block. Always validate with Google's Rich Results Test or a JSON linter before deploying. Our generator outputs valid JSON-LD automatically.

warning_amber Fake or inflated review counts

Putting "ratingValue": "5" and "reviewCount": "10000" when you have no real reviews is spam. Google cross-references this with actual page content and third-party signals. Use real numbers only.

warning_amber Outdated or expired data

If you have priceValidUntil or event dates in your schema that have passed, Google may demote or remove your rich results. Update your structured data whenever page content changes.

warning_amber Not validating after deployment

Many issues only appear after going live — theme conflicts, plugin overwrites, or CMS rendering issues can corrupt your JSON-LD. After publishing, always check the live URL in Google's Rich Results Test and monitor Search Console for errors.

tips_and_updates

Quick fix: Use this generator to produce clean, valid JSON-LD, then immediately test the output at search.google.com/test/rich-results before adding it to your site.

quiz

Frequently Asked Questions About Schema Markup

The most-searched questions about structured data, JSON-LD, and rich results — fully answered.

open_in_new

Official Resources & Related Tools

Everything you need to validate, monitor, and master structured data.

S
Schema Markup Generator

Free online tool for generating valid JSON-LD structured data markup for all schema.org types. Compatible with Google, Bing, Yahoo, and Yandex. No sign-up required.

Updated April 2025 · JSON-LD · schema.org · Google Rich Results Compatible