Schema Markup for Beginners: Get Rich Results the Right Way
Schema markup tells search engines exactly what a page is about and can unlock rich results. Here is what to add, how JSON-LD works, which types still earn rich results, and how to test it.
Search engines are good at reading pages, but they still have to guess. Is "4.8" a rating or a version number? Is this page a product, a recipe or an article? Schema markup — also called structured data — removes the guesswork by describing your page in a standard vocabulary from Schema.org.
Done right, it can earn rich results: star ratings, prices, breadcrumbs, event dates and other enhanced listings that stand out in search. Done wrong, it does nothing, or worse, earns a manual action for misleading markup.
What schema markup looks like
Google recommends JSON-LD: a small block of JSON inside a <script> tag, separate from your visible HTML. Here is a minimal example for a business:
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Example Co",
"url": "https://example.com",
"logo": "https://example.com/logo.png",
"sameAs": ["https://www.facebook.com/example", "https://www.linkedin.com/company/example"]
}
It goes in the page as:
<script type="application/ld+json">
{ ...the JSON above... }
</script>
You don't need to hand-write it. The free Schema Generator builds valid JSON-LD for common types from a simple form, ready to paste into your site.
Which schema types are worth adding
Start with what describes your real content:
| Page type | Schema type | Possible search enhancement |
|---|---|---|
| Home page / about | Organization or LocalBusiness | Logo, business details, knowledge panel signals |
| Blog posts and news | Article / BlogPosting / NewsArticle | Better article understanding, top stories eligibility |
| Product pages | Product with Offer and AggregateRating | Price, availability, review stars |
| Every deeper page | BreadcrumbList | Breadcrumb trail instead of a raw URL |
| Events | Event | Dates and location in results |
| Job listings | JobPosting | Google Jobs listing |
| Videos | VideoObject | Video thumbnails and key moments |
| Software and tools | SoftwareApplication | App details and ratings |
An honest note on FAQ and HowTo rich results
Many older guides promise that adding FAQPage or HowTo markup gets you big expandable results. That changed in August 2023: Google stopped showing HowTo rich results, and limited FAQ rich results to well-known, authoritative government and health websites.
The markup is still valid Schema.org and still helps machines understand your content — including AI-powered search and answer engines — so it is not harmful to keep it if it accurately reflects visible content. Just don't expect the FAQ dropdowns in Google for a typical business site.
Rules that keep you out of trouble
Google's structured-data guidelines boil down to a few principles:
- Mark up only what users can see. Ratings, prices and FAQs in your JSON-LD must appear on the page.
- Be truthful. Fake reviews, invented ratings or prices you don't honour violate the guidelines and can trigger a manual action.
- Be specific. Use the most specific type that fits (
Restaurantrather than justLocalBusiness). - Fill in required properties. Each rich result type lists required and recommended fields. Missing required fields make the page ineligible.
- Keep it current. Out-of-date prices or availability in markup are a common error.
How to add schema to your site
- WordPress: SEO plugins add
Organization,Articleand breadcrumb schema automatically; add product schema through your e-commerce plugin. - Shopify and other platforms: most themes include product schema; check it is complete.
- Custom or JavaScript sites: generate JSON-LD on the server or at build time so it is present in the initial HTML. Markup injected late by JavaScript can be picked up, but it is less reliable.
- Per page, not site-wide: an article's schema belongs on that article, not copied into every page.
Test before and after publishing
- Paste your URL or code into Google's Rich Results Test to see which rich results the page is eligible for and any errors.
- Use the Schema Markup Validator (validator.schema.org) to check general Schema.org validity.
- After deployment, watch the Enhancements reports in Google Search Console, which flag errors across all your pages.
- Run a broader SEO audit occasionally — broken structured data often travels with other problems like missing titles or canonical errors.
Common mistakes
- Markup describing content that isn't on the page.
- The same
Organizationblock with reviews pasted on every page. - Invalid JSON (a missing comma breaks the whole block — validators catch this).
- Relative URLs for
url,logoorimage; use absolute URLs. - Multiple conflicting blocks from a theme and a plugin describing the same thing differently.
Key takeaways
- Schema markup describes your content in a standard vocabulary; JSON-LD is the recommended format.
- Prioritise
Organization/LocalBusiness,Article,Product,BreadcrumbListand other types that match your real pages. - FAQ and HowTo rich results are no longer shown for most sites, but accurate markup still helps machines understand content.
- Only mark up visible, truthful information, and test with the Rich Results Test and Search Console.
FAQ
Does schema markup improve rankings?
Not directly. It helps search engines understand your page and can make you eligible for rich results, which can improve click-through rate. Rankings still depend mainly on relevance and quality.
Is JSON-LD better than Microdata?
Google supports both, but recommends JSON-LD because it is kept separate from your HTML, making it easier to add, maintain and validate without touching the page layout.
How long until rich results appear?
After Google recrawls the page, which can take days to weeks. Eligibility is not a guarantee — Google decides whether to show a rich result for each search.
Sources
Share this article
37 free PDF, SEO & AI tools
Run them in your browser — no sign-up, no watermarks.
Keep reading
Google AI Overviews: How They Change Clicks and How to Get Cited
AI Overviews answer many searches before anyone clicks. Here is how they affect traffic, which queries lose the most clicks, and practical steps to get your pages cited.
SEO & MarketingHow to Do Keyword Research for Free (Step by Step)
You don't need a $100/month tool to find keywords worth targeting. This free, step-by-step process uses Google itself, Search Console and a keyword extractor to build a content plan.
SEO & MarketingSEO Services: Karachi vs Dubai — Rates, Market and Expectations
Monthly SEO costs, what each market genuinely delivers, and how to tell a real agency from a reporting service.
Web DevelopmentCore Web Vitals in 2026: How to Fix LCP, INP and CLS
Core Web Vitals measure loading (LCP), responsiveness (INP) and visual stability (CLS). Here are the thresholds, how to measure them correctly, and the fixes that move each one.