Google understands what a page says — it reads the words. Schema markup tells Google what the content means. It is the difference between "this page mentions a date" and "this page is an Event scheduled for June 15th at the Royal Albert Hall." That semantic precision is what enables Google's rich results: star ratings, FAQ dropdowns, breadcrumb paths, recipe cards, event listings, and more.
What Is Schema Markup?
Schema markup is a vocabulary of types and properties defined at Schema.org, a collaborative project between Google, Bing, Yahoo, and Yandex. You add it to your HTML as structured data — machine-readable annotations that describe your content to search engines without changing what users see. The three formats are Microdata, RDFa, and JSON-LD. Google recommends JSON-LD.
What Is JSON-LD?
JSON-LD (JavaScript Object Notation for Linked Data) is a <script type="application/ld+json"> block in the <head> of your page. It is completely separate from the visible HTML, which makes it easy to add, update, and maintain without touching your content markup.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "What Is Schema Markup",
"datePublished": "2026-05-27",
"author": {
"@type": "Organization",
"name": "HTMLEditorOnline"
}
}
</script>
The Most Useful Schema Types
- Article / BlogPosting — marks up news articles and blog posts. Enables Google's article rich result.
- FAQPage — marks individual Q&A pairs. Can show as an expanded FAQ in search results, significantly increasing click area.
- Product — marks price, availability, and reviews. Enables price and rating badges in search results.
- LocalBusiness — marks address, phone, opening hours, and map coordinates. Feeds Google's Knowledge Panel and Maps.
- BreadcrumbList — marks the site navigation path. Replaces the URL in search results with a readable breadcrumb path.
- SoftwareApplication — marks apps with name, OS, price, and rating. Used for app cards in search.
- HowTo — marks step-by-step instructions. Can show as a visual step-by-step card in search results.
How to Add Schema Markup to Any Page
Step 1: Choose the right type
Go to Schema.org and find the type that best describes your content. Every type has a list of recommended properties. Start with the properties Google specifically looks for — they are listed in Google's Rich Results documentation for each type.
Step 2: Write the JSON-LD
Write the JSON object with @context set to "https://schema.org" and @type set to your chosen type. Add the relevant properties. Use our meta tag generator alongside schema markup — both serve the same goal of feeding search engines accurate page metadata, just through different mechanisms.
Step 3: Add it to your HTML
<head>
...
<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..."
}
}
]
}
</script>
</head>
Step 4: Test it
Use Google's Rich Results Test (search.google.com/test/rich-results) to validate your JSON-LD. It shows which rich result types your page is eligible for and flags any property errors. Also check the HTML validator guide to ensure your page's underlying markup is solid before adding structured data on top.
Does Schema Markup Directly Improve Rankings?
Not directly. Schema markup does not increase your position in the standard blue-link results. What it does is make your result more prominent — a FAQ that expands in the results, a star rating next to the title, a breadcrumb path instead of a raw URL. These visual enhancements consistently improve click-through rates, which is a strong indirect SEO signal.
Schema markup is also increasingly used for AI-powered search features. As Google and Bing integrate more AI into search, structured data is one of the clearest signals that identifies exactly what your content is and what question it answers.
Common Mistakes to Avoid
- Marking up content that is not visible on the page — Google requires that structured data describes content users can actually see. Hidden schema is a quality guideline violation.
- Wrong type for the content — marking a blog post as a Product or using LocalBusiness for an online-only service.
- Missing required properties — every schema type has properties Google checks for. An Article without
authorordatePublishedwill not generate a rich result. - Invalid JSON — a single missing comma breaks the entire block. Validate before publishing.