Schema markup is the structured data code that tells Google what your content means, not just what it says. Add the right schema and Google can display star ratings, event dates, FAQ dropdowns, recipe details, and product prices directly in search results — all without users clicking through to your site first. That extra visibility typically increases click-through rates by 20–30%.
This guide explains what schema markup is, which types are worth adding to your site, and how to generate valid JSON-LD in minutes without writing code from scratch.
What Is Schema Markup?
Schema markup is a vocabulary of tags (defined at schema.org and maintained by Google, Microsoft, Yahoo, and Yandex) that you add to your HTML to describe your content's meaning. The most common implementation format is JSON-LD — a single <script type="application/ld+json"> block that sits in your page's <head>.
Unlike microdata or RDFa (older formats that require tagging individual HTML elements), JSON-LD is self-contained and doesn't touch your visible HTML. You can add, update, or remove it without any risk of breaking your page layout.
Schema Types Worth Adding to Your Site
Which Schema Type Should You Use?
Match the schema type to your page's primary content:
- Blog posts and articles — use
BlogPostingorArticle. IncludedatePublished,dateModified,author, andheadline. - Product pages — use
ProductwithAggregateRatingnested inside. Star ratings in SERPs are one of the most effective rich result types for e-commerce. - FAQ sections — use
FAQPage. This shows expandable Q&A directly in search results, often doubling the vertical space your listing takes up. - Local business — use
LocalBusiness(or a subtype likeRestaurant,MedicalClinic). Include opening hours, address, and phone for Knowledge Panel eligibility. - Any page with a breadcrumb — add
BreadcrumbList. It replaces the raw URL with a human-readable path in your snippet.
BreadcrumbList + one content-type schema. Blog posts often use BlogPosting + BreadcrumbList + FAQPage if there's an FAQ section.
Step-by-Step: Generate Schema Markup
Go to webtoolsz.com/schema-generator. No sign-up or installation needed.
Choose from the 10 types in the dropdown: Article, Product, FAQ, LocalBusiness, Event, Breadcrumb, Review, Person, VideoObject, or WebSite.
Required fields are clearly labelled. Add as much detail as possible — more complete schema makes you more eligible for rich results.
Click Generate Schema, then copy the complete
<script> block and paste it into your page's <head> section.Validating Your Schema
Before publishing, always validate your JSON-LD using Google's Rich Results Test (search.google.com/test/rich-results) or Schema.org's validator. Common errors include:
- Missing required properties — some schema types require specific fields (e.g., Product needs
name, FAQPage needs questions with accepted answers). - Invalid date format — dates must be in ISO 8601 format:
2026-04-29or2026-04-29T12:00:00Z. - Relative URLs — all URLs in schema should be absolute (starting with
https://), not relative paths. - Mismatched content — the schema data must match the visible content on the page. Google penalises misleading structured data.
Generate Valid Schema Markup Free
10 schema types. Valid JSON-LD output. No sign-up required.
Open Schema GeneratorFrequently Asked Questions
What is JSON-LD structured data?
JSON-LD (JavaScript Object Notation for Linked Data) is the format Google recommends for structured data. It is a script tag placed in your HTML that describes your content in a machine-readable way, helping search engines understand entities, relationships, and key properties of your page — without changing any of your visible HTML.
What are rich results and how does schema help?
Rich results are enhanced search listings with extra visual elements like star ratings, price ranges, FAQ dropdowns, event dates, or breadcrumbs shown directly in Google SERPs. Adding valid schema markup makes your page eligible for these features, which typically increase click-through rates by 20–30% compared to plain blue-link results.
Where should I place JSON-LD on my page?
Google supports JSON-LD in both the <head> and <body> of your HTML. Most developers place it in the <head> for consistency, but Google has confirmed it works in the body too. JSON-LD can also be injected dynamically via JavaScript — Google's crawler renders JavaScript before indexing, so this works fine.
Does schema markup directly improve my Google ranking?
Structured data is not a confirmed direct ranking signal. However, it unlocks rich results that increase click-through rate, and it helps Google better understand your content's entities and relationships — both of which can lead to improved organic visibility over time. FAQPage schema in particular is one of the most impactful additions you can make to an informational page.