Skip to content
Larkpin
SEO Basics

What Is Schema Markup?

By · Updated

The short answer

Schema markup is code added to a web page that labels key facts, such as your business name, address, phone number and hours, in a standard format Google can read. It is also called structured data. Schema markup helps Google understand your page and can make it eligible for richer search results, but it does not guarantee them.

  • What schema markup is, with a real code example
  • What it does for a local business, and what it does not
  • The few schema types a local business actually needs
A pest control owner reviewing his website details at the office

What is schema markup?

Schema markup is code added to a web page that labels key facts, such as your business name, address, phone number and hours, in a standard format Google can read. It is also called structured data. Schema markup helps Google understand your page and can make it eligible for richer search results, but it does not guarantee them.

Google defines structured data as a standardized format for providing information about a page and classifying its content. The labels themselves come from schema.org, a shared vocabulary that Google and other search engines use. That is where the name "schema markup" comes from.

Here is the idea in plain terms. A person reading your contact page knows "(555) 010-4477" is a phone number. A computer sees a string of digits. Schema markup adds a label that says, in effect, "this is the telephone number for this business."

How does schema markup work?

Schema markup works by adding a small block of code to your page, usually in a format called JSON-LD. Google says it generally recommends JSON-LD if your site's setup allows it. Visitors never see the code. Google reads it when it crawls the page.

Here is an example for a made-up plumbing company. It uses the Plumber type, which is one of the specific business types under LocalBusiness:

{
  "@context": "https://schema.org",
  "@type": "Plumber",
  "name": "Smith Plumbing",
  "url": "https://www.smithplumbing.com/",
  "telephone": "+1-555-010-4477",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "100 Main St",
    "addressLocality": "Mesa",
    "addressRegion": "AZ",
    "postalCode": "85201",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
    "opens": "07:00",
    "closes": "18:00"
  }]
}

On a real page, this block sits inside a script tag in the page code. Google's local business documentation lists name and address as required, and recommends telephone, hours, the page URL and map coordinates. It also says to use the most specific business type possible, so a plumber should use Plumber rather than the general LocalBusiness.

What can schema markup do for a local business?

Schema markup does two useful things for a local business: it removes guesswork for Google, and it can make your pages eligible for special search features.

Google says it uses structured data it finds on the web to understand the content of a page. Its SEO Starter Guide adds that valid structured data makes pages eligible for many special features in Google Search results. Google's local business documentation says this markup can tell Google about your hours and departments, and that business details can appear in a knowledge panel.

For a dentist with two offices, or an HVAC company with different hours for sales and emergency service, clear structured data makes those details harder for Google to get wrong.

What can schema markup not do?

Schema markup has limits, and a lot of SEO advice oversells it. Here is what Google's own documentation says.

Common belief What Google actually says
"Schema guarantees rich results" Google does not guarantee that structured data will show up in search results
"You need schema to appear in AI Overviews" Google says no special schema.org markup is needed for AI Overviews or AI Mode
"FAQ schema gets you extra space in results" Google stopped showing FAQ rich results in Search in May 2026
"Add review stars from your testimonials page" Businesses that control reviews about themselves are not eligible for the star review feature
"Schema can describe anything you want" Structured data must be a true representation of the page and describe visible content

Google also warns against marking up content that is irrelevant or misleading, such as fake reviews. Spammy structured data can earn a manual action, which removes a page's eligibility for rich results.

The honest summary: schema markup is a good habit that makes your facts clear. It is not a shortcut to rankings, and it cannot make up for a thin page.

Which schema types does a local business need?

Most local businesses need only a few schema types. Google's gallery of supported structured data lists dozens, but these are the ones that usually apply.

Schema type What it labels Where it goes
LocalBusiness (or a subtype like Dentist, Plumber, Electrician) Name, address, phone, hours, location Home page and contact page, or each location page
Organization Logo, legal name, contact details Home page
BreadcrumbList The page's place in your site structure Service pages and blog posts
Article Title, author and dates of a blog post or guide Blog posts
Video Details of a video on the page Pages with your own videos

Skip the rest unless you have a specific reason. A roofer does not need recipe markup, and piling on unrelated types does not help.

How do you add schema markup to your website?

Adding schema markup is a short process. Here is the order we follow.

  1. Pick the most specific type for your business, such as Dentist or Plumber.
  2. Write the markup using only details that are visible on the page and match your Google Business Profile exactly.
  3. Add the JSON-LD block to the page, either directly in the code or through your website platform or SEO plugin.
  4. Test the page with Google's Rich Results Test, which Google calls an easy and useful tool for validating structured data.
  5. Watch Google Search Console for structured data errors after Google recrawls the page.
  6. Update the markup whenever your hours, phone number or address change, at the same time you update your profile.

Step 2 is where most mistakes happen. If your schema says you close at 6 p.m. and your profile says 8 p.m., you are sending Google mixed signals.

Schema markup is usually grouped with technical SEO because it lives in your site's code. It only works if Google can crawl and index the page in the first place, which our guide to technical SEO covers.

For AI search, Google's guidance is clear: structured data is not required for generative AI search, but it is still part of good SEO. What matters most for AI answers is that your pages are indexed and that your business details are accurate and consistent everywhere. Our guide on how to rank in AI Overviews covers the visible page work that matters more.

If review stars are what you are after, your Google Business Profile is where they count. See how to get more Google reviews.

Want more calls from Google Maps?

Schema helps Google read your site, but most calls for a local service business come from where you rank on the map and how fast you answer. Larkpin helps US local service businesses book more jobs from Google, starting with Google Maps ranking work on your Business Profile. If you are not sure how your business looks to Google today, the free Map Ranking Report checks your map rankings and how your reviews compare with your top 3 competitors.

Questions owners ask us

Does schema markup improve Google rankings?

Google does not describe schema markup as a ranking boost. Google says it uses structured data to understand page content and that valid structured data can make pages eligible for special features in search results. Those features can make your listing stand out, but schema will not lift a weak page above a stronger one.

Do I need schema markup to show up in Google AI Overviews?

Google says there is no special schema.org structured data you need to add to appear in AI Overviews or AI Mode, and that structured data is not required for generative AI search. Google still recommends structured data as part of normal SEO, and says it should match the visible text on the page.

Can I add review stars to my own website with schema?

Usually not in a way Google will show. Google's review snippet guidelines say that if a business controls the reviews about itself, its pages using LocalBusiness or Organization structured data are not eligible for the star review feature. That includes reviews shown through an embedded widget. Focus on reviews on your Google Business Profile instead.

Is schema markup the same as a Google Business Profile?

Your Google Business Profile is a listing you manage on Google that powers the map results. Schema markup is code on your own website that describes your business. Both should show the same name, address, phone number and hours so Google sees one consistent set of facts.

Does WordPress add schema markup automatically?

Some WordPress themes and SEO plugins add basic schema markup, but the local details are only as good as the settings you fill in. Your exact business type, hours and address often need setup by hand. Run your home page through Google's Rich Results Test to see what the page actually outputs, then fix anything missing or wrong.

Keep exploring

Free Map Ranking Report

See where you are losing jobs to competitors. Free.

Your Google Maps rank across your service area, your reviews next to the top 3, and the fixes that win back calls first. One email, within 2 business days. No call needed.

  • Your map rank grid: where you show up on Google Maps across your service area, not just from your front door
  • Your reviews next to the top 3 businesses in your trade and city: count, rating and how fast new ones come in
  • Your Google Business Profile checked against the fixes that move rankings, in order of impact

No call needed. Your report arrives by email within 2 business days. See our privacy policy.