What is schema markup? It's a small block of code on a web page that labels the page's key facts, such as your business name, address, phone number, opening hours, services or prices, using a shared vocabulary from schema.org so search engines can read them without guessing.
Visitors never see it, and your page looks exactly the same. It helps Google understand the page and can make it eligible for richer search listings. It isn't a magic ranking switch.
This guide shows what schema looks like, the few types a small business actually uses, what it can and can't do, the honesty rules Google enforces, and how to check your own pages without learning to code.
What schema markup actually looks like
Your web page is written for people. Think of schema markup as a labelled form clipped behind it for machines. A visitor reads "Open 8–5, Monday to Friday". In the markup, the same fact appears as an explicit opening-hours value that a search engine can't misread.
The labels come from schema.org, a shared vocabulary that the major search engines created together and support. It defines types of thing (a business, a product, an event) and the properties each one can have (name, telephone, address).
There are three formats: JSON-LD, Microdata and RDFa. Microdata and RDFa weave labels into the visible page code. JSON-LD sits in one separate block, apart from the text visitors read. Google's documentation recommends JSON-LD, and it's the easiest format to read and fix.
A simple example
Here's what a LocalBusiness block for a fictional plumber contains. Every detail is a placeholder:
- "@context": "https://schema.org" tells search engines which vocabulary is being used
- "@type": "Plumber" says what kind of business this is
- "name": "Example Plumbing"
- "telephone": "+1-555-010-0199"
- "url": "https://www.example.com"
- "address": "123 Example Street, Exampletown"
- "openingHours": "Mo-Fr 08:00-17:00"
- "areaServed": "Exampletown and nearby villages"
In real code these lines sit inside curly brackets in a script block marked as JSON-LD, and the address is split into separate parts (street, town, postcode). The idea stays the same: each fact gets a clear label.
What it can do for you, and what it can't
Google's documentation says structured data helps it understand what a page is about and can make the page eligible for rich results. These are search listings with extra details, such as breadcrumbs, event dates or product information.
"Eligible" is the important word. Google decides whether to show a rich result, and correct markup doesn't guarantee one.
Rich result types also change over time. Google retired HowTo rich results in 2023, and in May 2026 it stopped showing FAQ rich results for every site. Adding that markup in the hope of extra search features is wasted effort.
The schema types a small business actually uses
Schema.org lists hundreds of types. A typical local business needs only a handful:
- LocalBusiness, or a more specific subtype such as Dentist, Plumber or Restaurant. It covers name, address, phone, opening hours, website and area served. For most local firms, this is the one that matters.
- Organization covers your official name, logo, contact details and social profiles. It's useful for any business, including online-only ones.
- BreadcrumbList shows where a page sits in your site, for example Home, then Services, then Boiler repair.
- Service or Product is for a page about one specific service or an item you sell. Include a price only if the page shows one.
- Event is for a class, open day or workshop with a date and a place.
- Article is for blog posts and news.
Use the most specific subtype that honestly describes you. Keep it simple, too. Mark up what each page actually shows. Adding every type you can find doesn't make a page better. It only gives you more to maintain and more that can break. For the wider picture, the small business SEO checklist puts schema alongside the other basics.
The rules: match the page and tell the truth
Google's structured data guidelines come down to two things. The markup must describe content that visitors can see on that page, and it must be accurate. Marking up hidden content, or facts that aren't true, breaks the guidelines.
This matters because spammy structured data can lead to a manual action. That can cost the page its eligibility for rich results. Manual actions are reported in Google Search Console.
Reviews and star ratings
Google doesn't show review stars for self-serving reviews, meaning reviews a business marks up about itself in its own LocalBusiness or Organization markup. Adding a rating to your homepage markup won't produce stars. Inventing ratings or reviews is a clear breach of the rules, so never do it.
Keep your details identical everywhere
Your name, address and phone number should match exactly in the markup, on your contact page, in your footer and in listings elsewhere, including your Google Business Profile. Suppose you appear as "Example Plumbing Ltd" in one place and "Example Plumbers" in another, or you changed your number but the markup still shows the old one. You're giving search engines conflicting information. If you're still setting up listings, see how to get your business on Google.
- Every value in the markup appears on the page
- Name, address and phone match the contact page character for character
- Opening hours match what visitors see, including recent changes
- No ratings or reviews about your own business in LocalBusiness or Organization markup
- Any prices in the markup match the prices on the page
How to check whether your site has schema
You don't need to read code to find out what's on your pages.
Pick one page
Start with your homepage or contact page, where business details usually live.
Run it through a validator
Paste the address into the schema markup validator. It lists the schema types it finds and flags errors (code that doesn't parse, or required properties that are missing) and warnings (recommended properties that are missing). It reads the HTML your server sends, so markup added later by JavaScript won't show up.
Fix errors first
Errors mean something is broken or a required property is missing. These need fixing.
Then review warnings
Warnings usually point to optional properties you haven't filled in. Add them only if the information is true and shown on the page.
Check Google eligibility
Google's Rich Results Test shows which Google rich results a page may be eligible for.
Watch Search Console
Once your site is verified in Google Search Console, Google reports structured data issues it finds for supported rich result types.
Adding or fixing schema without becoming a developer
There are four common routes:
- Website builder or CMS settings. Some include a business details section that outputs markup for you.
- An SEO plugin, if your site uses a platform that supports plugins.
- A developer, who can add or correct a JSON-LD block.
- By hand. A schema markup generator can give you a starting block to check against your page before you paste it in.
Whichever route you take, start small. Add one LocalBusiness block to your homepage or contact page, and copy every detail exactly as it appears on that page. Validate it, then expand only where another type genuinely fits.
Watch for doubling up. If your theme and a plugin both output business markup, you can end up with two blocks that disagree. Keep one source and switch the other off.
To keep this checked routinely, ArkaRank is software, not an agency. Its SEO audits and local SEO checks compare your LocalBusiness structured data with your own business details, alongside consistent contact details, a contact page and service-area pages. Any change its agents propose waits for your approval.
Next step: check one page today
You don't need to fix the whole site at once. Run your homepage or contact page through the schema markup validator, fix any errors, and make sure every detail matches what visitors see. Then repeat for your other key pages when you have time.
Frequently asked questions
Does schema markup improve my Google rankings?
Don't count on it. Google describes structured data as a way to help it understand your page and to make the page eligible for rich results, which it may or may not show. It isn't a ranking shortcut, and no one can guarantee rankings.
Do I need schema markup if I already have a Google Business Profile?
They do different jobs. Your Business Profile is managed in Google's own tools and describes your business on Google. Schema markup lives on your website and describes your pages. Having both is sensible, as long as your name, address, phone and hours are identical in each.
Which schema type should a local business use?
LocalBusiness, or the most specific subtype that fits, such as Dentist, Plumber or Restaurant. Put it on your homepage or contact page, using details exactly as they appear on that page.
What's the difference between schema markup and structured data?
Structured data is the general idea of labelling information in a standard format. Schema markup is structured data that uses the schema.org vocabulary. Most people use the two terms interchangeably.
Can I add review stars to my own website with schema?
Not for reviews about your own business in LocalBusiness or Organization markup. Google doesn't show stars for these self-serving reviews. Never invent ratings or reviews in markup, because it breaks Google's guidelines.
How do I know if my schema markup is working?
Run the page through a validator to catch errors, and use Google's Rich Results Test to see which rich results it may be eligible for. Once your site is verified, check Search Console for structured data issues. Even error-free markup may not produce a rich result, because Google decides what to show.
Related guides
- We checked 100 local trade searches. Directories hold most of page one.Who ranks when people search for a plumber, electrician, HVAC, roofing or landscaping company in 20 US cities, and what their websites share.Read the guide
- SEO for Beginners: How to Do SEO for a New WebsiteSEO for beginners, in plain English: how Google finds your new website, what to fix first, and how to measure progress without chasing tricks.Read the guide
- How to Create a Sitemap (and Check It's Working)Learn how to create a sitemap the easy way: check if you already have one, build it if not, submit it to Google and confirm it's working.Read the guide