On this page
Some search results show star ratings, prices, opening hours or breadcrumbs under the link. Others are just a plain blue title and two lines of text. One of the things that makes the difference is schema markup – also called structured data.
It sounds technical, but the idea is simple, and you can add it to your website without being a developer.
What Is Schema Markup?
Your website is written for people. Schema markup is a small piece of extra code, usually in a format called JSON-LD, that describes the same information in a way machines understand exactly. Instead of Google guessing that "Mon–Sat 9–6" are your opening hours, schema says it directly: this is a LocalBusiness, these are its opening hours, this is its phone number.
Schema is shared by Google, Bing and other search engines (it comes from schema.org), and it is increasingly used by AI assistants to understand businesses and products.
What Can Schema Do for You?
- Rich results: extra details in search such as product prices and availability, review stars on products, breadcrumbs, event dates or article information.
- Better understanding: Google connects your website, business details and social profiles, which helps your brand appear correctly in knowledge panels and local results.
- Higher click-through: a result with extra details simply stands out more.
Be realistic: schema helps Google understand and present your pages, but it is not a direct ranking boost, and Google decides whether to show rich results at all.
What Changed: Rich Results in 2026
Google has reduced some rich results over the past years, and many older guides are out of date:
- FAQ rich results are now shown mainly for well-known government and health websites. FAQ schema is still valid, but most business sites will not get the expandable questions in search.
- HowTo rich results are no longer shown.
- Self-serving reviews: star ratings that a business publishes about itself on its own LocalBusiness or Organization markup are not shown as stars.
- Still valuable: Product (price, availability, reviews from customers), LocalBusiness and Organization details, Breadcrumbs, Article, Event, Recipe, Video and more.
Which Schema Types Should a Business Website Use?
LocalBusiness (or a more specific type)
For businesses with a location or service area. Include name, address, phone, opening hours, website, logo, map link and social profiles. Use the most specific type available – for example Restaurant, Store or ProfessionalService. This supports the information in your Google Business Profile (see how to get more Google reviews).
Organization
For your company as a brand: name, logo, website, contact details and social profiles. Add it once, usually on the homepage.
Product
For online stores: product name, image, description, brand, price, currency and availability – plus genuine customer review data if you collect it. Good product schema can show prices and stock information directly in search.
Article / BlogPosting
For blog posts and news: headline, author, publish date and image. Most blog platforms add this automatically.
BreadcrumbList
Shows your page's position in the site ("Home › Services › SEO") instead of a long URL in search results.
How to Add Schema Without Coding
- Open our free schema markup generator and choose the type (LocalBusiness, Organization, FAQ or Product).
- Fill in your details – the JSON-LD code is created as you type.
- Add the code to the right page: in WordPress with a header-code plugin, on other sites just before
</head>. - Test the page with Google's Rich Results Test.
- Watch the Enhancements reports in Google Search Console for errors.
Golden Rules
- Only mark up what visitors can see. Schema must describe the visible content of the page – hidden or made-up information can lead to a manual penalty.
- Keep it accurate. If your phone number or opening hours change, update the schema too.
- Don't duplicate. Many SEO plugins already add Organization or Article schema. Check the page with the Rich Results Test before adding more, so you don't end up with two conflicting versions.
What Schema Looks Like
Here is a simplified LocalBusiness example. You don't need to write it by hand – the generator does that – but it helps to recognise it:
{
"@context": "https://schema.org",
"@type": "ProfessionalService",
"name": "Your Company",
"url": "https://www.yourcompany.com",
"telephone": "+92 300 1234567",
"address": {
"@type": "PostalAddress",
"addressLocality": "Sialkot",
"addressCountry": "PK"
},
"openingHours": "Mo-Sa 09:00-18:00"
}
It sits inside a <script type="application/ld+json"> tag and is invisible to visitors.
Common Mistakes
- Information that doesn't match the page or your Business Profile – for example old opening hours or a different phone number.
- Marking up content that isn't there, such as FAQ schema for questions that are not shown on the page.
- Adding Product schema to a category page with many products – use it on individual product pages.
- Forgetting to test – a missing comma can make the whole block invalid. Always run the Rich Results Test after changes.
Frequently Asked Questions
Does schema markup improve rankings?
Not directly. It helps Google understand your content and can make your results more attractive, which can increase clicks.
Can I add review stars to my own business?
Google does not show stars for reviews a business publishes about itself on LocalBusiness or Organization markup. Stars can appear for products when the reviews come from real customers.
How long until rich results appear?
After Google recrawls the page – usually days to a few weeks. Even valid schema is not guaranteed to show as a rich result.
Check Your Code Before You Publish
Schema is written in JSON-LD, and JSON is strict: one missing comma or extra bracket and Google ignores the whole block. Paste your code into our JSON formatter and validator first – it shows exactly where the error is – and then test the page in Google's Rich Results Test.
Want to see which pages already show rich results and which have errors? Our guide to the best free SEO tools explains where to check – Google Search Console, the Rich Results Test and more.
Structured data works best on a technically clean website. See our on-page SEO checklist for the full picture, or let our SEO team implement schema across your site – request a quote.