Table of contents

This guide covers what the markup tells Google, how to pick the type, a complete example you can adapt, and the mistakes we see most often. For the wider picture, start with the technical SEO guide.
What does local business schema do?
Local business schema tells Google the basic facts about your business in labelled form, so it does not have to infer them from your page text. Google's own documentation says that when people search for businesses, Search results may display a knowledge panel with details about a business that matched the query. With local business structured data, you can "tell Google about business hours, different departments within a business, reviews (if your site captures reviews about other businesses), and more".
Google does not promise a result. Its general guidelines say that using structured data "enables a feature to be present, it does not guarantee that it will be present". Structured data helps Google understand a page. It is no ranking switch.
AI answers need nothing extra. Google's guidance on AI features says there is "no special schema.org structured data that you need to add" to appear in AI Overviews or AI Mode. We still recommend local business schema as a clean statement of facts that matches your profile and listings. If the term is new to you, what schema markup is covers the basics.
Which schema type should a local business use?
Use the most specific LocalBusiness subtype that describes what you do. Google's structured data guidelines say to "use the most specific applicable type and property names defined by schema.org". A plumber marked up as plain LocalBusiness is correct but vague. A plumber marked up as Plumber says exactly what the business is.
We checked each of these on schema.org. All sit under LocalBusiness, and the trade ones sit under HomeAndConstructionBusiness:
| Trade or business | Schema.org type | Reference |
|---|---|---|
| Plumber | Plumber | schema.org/Plumber |
| Electrician | Electrician | schema.org/Electrician |
| Heating, ventilation, air conditioning | HVACBusiness | schema.org/HVACBusiness |
| Locksmith | Locksmith | schema.org/Locksmith |
| Roofer | RoofingContractor | schema.org/RoofingContractor |
| Painter and decorator | HousePainter | schema.org/HousePainter |
| Builder, kitchen fitter, general contractor | GeneralContractor | schema.org/GeneralContractor |
| Anything without a closer match | LocalBusiness | schema.org/LocalBusiness |
The full list of subtypes is on the LocalBusiness page. Check it before you settle on a type. If your trade has no match, fall back to LocalBusiness or the nearest parent, such as HomeAndConstructionBusiness, rather than stretching a type that describes something else. If the business does two things, such as plumbing and heating, @type can take a list, for example ["Plumber", "HVACBusiness"]. Keep that to types that describe the business honestly.
What does a complete local business schema example look like?
A complete example names the business, gives it one stable identifier, and states the address, phone number, hours and service area. This one is for a fictional firm, Hartley Plumbing in Bromley. Every detail in it is invented for illustration, so replace each value with your own.
{
"@context": "https://schema.org",
"@type": "Plumber",
"@id": "https://www.hartleyplumbing.example/#business",
"name": "Hartley Plumbing",
"url": "https://www.hartleyplumbing.example/",
"telephone": "+442079460123",
"address": {
"@type": "PostalAddress",
"streetAddress": "1 Example Street",
"addressLocality": "Bromley",
"addressRegion": "Kent",
"postalCode": "BR1 1AA",
"addressCountry": "GB"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.4064,
"longitude": 0.0148
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "08:00",
"closes": "18:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Saturday",
"opens": "09:00",
"closes": "13:00"
}
],
"areaServed": [
{
"@type": "City",
"name": "Bromley",
"sameAs": "https://en.wikipedia.org/wiki/Bromley"
},
{
"@type": "City",
"name": "Beckenham",
"sameAs": "https://en.wikipedia.org/wiki/Beckenham"
},
{
"@type": "City",
"name": "Orpington",
"sameAs": "https://en.wikipedia.org/wiki/Orpington"
}
],
"sameAs": [
"https://maps.app.goo.gl/hartleyplumbingexample"
]
}
Here is what each part does.
| Property | What it does |
|---|---|
@type | The specific subtype. Plumber here. |
@id | A permanent identifier for the business, written as your own URL plus a fragment such as #business. Other markup on the site (a service, a person, an article) can point back to it, so Google sees one business instead of several look-alikes. |
name | The trading name, written exactly as it appears on your Google Business Profile. |
url | The page that represents the business, normally the home page. |
telephone | The number in international format, with no spaces. +44 replaces the leading zero of a UK number. |
address | A PostalAddress in UK order: street, town, county or region, postcode, and GB for the country. |
geo | The latitude and longitude of the premises. |
openingHoursSpecification | One entry per run of days that share the same hours. Hours use the 24-hour clock. |
areaServed | The towns the business covers. Each carries a sameAs link to its Wikipedia page, so Google knows which Bromley is meant. |
sameAs | Other pages that are definitely the same business, here the Google Business Profile link. |
Google's documentation shows openingHoursSpecification as a list for different hours on different days, and as a single object when the hours are the same every day.
We left out priceRange on purpose. A plumber's jobs vary too much for one band to be accurate. Add image, logo and email if you have them, with real values.
The sameAs link to the profile above is made up. To find your own, open your business on Google Maps and use the share option to copy the link. Our guide to setting up a Google Business Profile covers claiming the profile in the first place, and entity SEO explains why linking to the places that describe you helps Google tell you apart from similar names.
How should a service-area business mark up its address?
A business that travels to customers should describe its reach with areaServed, and keep an address in the markup only if that address is visible on the page. Many trades hide their home address on their Google Business Profile.
Google's guideline is plain: "Don't mark up content that is not visible to readers of the page." A home address that sits in the markup but nowhere on the page is content readers cannot see, and it publishes an address you chose to hide.
The practical rule has three parts:
- If the address shows on the page, put it in the markup.
- If it does not, drop the
addressandgeoproperties. Keepname,url,telephone,openingHoursSpecificationandareaServed. - List the places you serve in
areaServed, as in the example. Schema.org lets this property take a text value, a place, or a named area, so you can also give a town as plain text. We prefer the linked version, becausesameAsremoves any doubt about which town is meant (schema.org/areaServed).
Only list areas you cover. A list of forty towns you rarely visit is a claim that may not be true.
How do you match your Google Business Profile and listings?
Copy the details from your Google Business Profile, character for character, into the markup and the visible page. The name, phone number, address (or lack of one), opening hours and website address should be identical everywhere. If the markup says 17:00 and the profile says 18:00, Google has two answers and must pick one.
A short routine keeps this under control:
- Treat the Google Business Profile as the master record.
- Write the same business name in the markup, on the page, and on every directory listing. Do not add keywords to one of them.
- Use the same number everywhere.
- Update the markup the same day you change hours.
- Re-check after any site redesign.
Our guide to local business listings and consistent details explains which directories matter and how to find old entries that carry a previous address or number.
What are the most common local business schema mistakes?
The common mistakes are a vague type, details that differ from the profile, and reviews of yourself. This table lists the ones we see most, with the fix for each.
| Mistake | Why it matters | Fix |
|---|---|---|
Plain LocalBusiness when a specific type exists | The markup describes the business less precisely than it could. Google asks for the most specific applicable type. | Pick the closest subtype from the table above. |
| Name, phone or hours that differ from the Google Business Profile | Google meets conflicting facts and has to guess which is right. | Copy from the profile and re-check after every change. |
| A hidden address in the markup | The markup describes content readers cannot see, which Google's guidelines tell you not to do. | Remove address and geo, and use areaServed. |
| Marking up reviews of your own business | Google says reviews that the business controls about itself make the page ineligible for star results. | Leave your own reviews out of the markup (see below). |
| Several conflicting blocks on one page | A theme and a plugin each add one, with a different name or number. | Keep one block per business. |
| Template markup never edited | Placeholder names, numbers or towns go live. | Read every value before publishing. |
| Opening hours left unchanged | Google asks for up-to-date information. | Update the markup and the profile together. |
Why not mark up your own reviews?
Google's review snippet guidelines say that if "the entity that's being reviewed controls the reviews about itself", then "their pages that use LocalBusiness or any other type of Organization structured data are ineligible for star review feature". That covers reviews placed on your own site "either directly in their structured data or through an embedded third-party widget".
For a trade firm, the rule is simple. Show your reviews to visitors, but keep review and aggregateRating out of your own LocalBusiness markup.
How do you add and test local business schema?
Add the JSON-LD block to the page it describes, then run it through a validator before and after publishing. Google's introduction to structured data describes JSON-LD as a script tag that can sit in the <head> or the <body> of the page. Google recommends it over the other two formats.
There are two ordinary routes:
- A CMS plugin. Google's local business page notes that "Using a CMS? It may be easier to use a plugin that's integrated into your CMS." Fill in every field and check what the plugin outputs.
- A script tag. Paste the block inside
<script type="application/ld+json">and</script>in the<head>of your home page or contact page.
Put the full block on the page that represents the business, usually the home page. Other pages can refer to it by its @id.
To produce the code without writing it by hand, use our schema generator, which makes LocalBusiness JSON-LD from a short form. Then test it:
- Run the live page through our schema validator, which finds the JSON-LD on a page and flags invalid markup.
- Run it through Google's Rich Results Test. Google's local business documentation recommends it and says to fix critical errors. Fixing non-critical ones can improve quality, but is not necessary to be eligible for rich results.
- After publishing, inspect the page in Search Console's URL Inspection tool. Check the page is not blocked by robots.txt, a
noindextag or a login, because Google cannot read markup on a page it cannot fetch.
Allow time: Google's page says it may take several days after publishing for Google to find and crawl a page.
FAQ
What does local business schema do?
It gives Google a labelled statement of your business name, address, phone number, opening hours and service area. Google says this can feed features such as a knowledge panel, and that it enables a feature to appear without guaranteeing it. It helps Google understand the business and does not by itself raise your ranking.
Do I need local business schema if I have a Google Business Profile?
Yes, we would still add it. The profile is the master record that Google holds, and your website is the source you control. Markup that matches the profile confirms the same facts from a second place.
Should I use LocalBusiness or a more specific type?
Use the most specific type that fits, such as Plumber, Electrician or RoofingContractor. Google's guidelines ask for the most specific applicable type. If none fits, use LocalBusiness.
Does schema help me appear in AI answers?
Google says no special schema is needed for AI Overviews or AI Mode, and its usual search practices still apply. Accurate markup keeps your business details consistent, which helps, but it guarantees nothing.
Where does the schema code go?
Put the JSON-LD script tag in the <head> of the page that describes the business, normally the home page. Google also accepts it in the <body>. If you use WordPress or a similar CMS, a plugin can add it for you.
Next step
If you would rather have the markup built, checked against your Google Business Profile and kept current alongside the rest of your local search work, see our local SEO plans.


