You've heard that "schema" helps local SEO, but every explanation turns into code within two sentences. You just want to know whether it's worth doing and how to get it right.
This guide explains local business schema markup in plain English. You'll learn what it is, what it can and can't do for your rankings, which details to include, and how to add and test it without hiring a developer.
Local business schema markup is a small block of structured data on your website that tells search engines your business name, address, phone number, hours and type in a format they can read reliably. It helps Google understand and trust your details. It won't lift your Google Maps ranking on its own, but it's a quick, low-risk fix that supports your local SEO.
What local business schema is
Schema markup is a shared vocabulary from Schema.org. Search engines use it to understand what's on a page. Instead of guessing which line on your contact page is the phone number, Google can read it from a labelled field.
The LocalBusiness type is the part of that vocabulary for businesses with a physical location or service area. It has more specific subtypes, such as Dentist, Plumber or Restaurant.
Google recommends JSON-LD as the format. It's a block of code placed in the page that visitors don't see. You don't need to change your visible content at all.
What it does and doesn't do
Schema is often oversold. Here's a fair picture:
| What it can do | What it can't do |
|---|---|
| Help Google read your name, address, phone and hours accurately | Guarantee rich results or special features |
| Connect your website to your business entity | Replace a complete Google Business Profile |
| Reduce confusion when details vary across the web | Make up for weak reviews or a poor category |
| Support eligibility for some search features | Move you into the map pack by itself |
Google ranks local results using relevance, distance and prominence. Schema supports relevance and consistency. It's a foundation, not a shortcut. For the bigger picture, read Google Maps ranking factors.
Choose the right type
Use the most specific type that fits your business. Schema.org lists many subtypes of LocalBusiness. Some examples:
Dentistfor a dental practice.Plumber,ElectricianorRoofingContractorfor trades.Restaurant,CafeOrCoffeeShoporBakeryfor food businesses.AutoRepairfor a garage.LegalServiceorAttorneyfor law firms.
If nothing specific fits, LocalBusiness itself is fine. It's better to be general and correct than specific and wrong.
Properties to include
Start with the essentials. Each should match your Google Business Profile exactly.
Essential
- name: your real business name.
- address: street, town, postcode and country, as a
PostalAddress. - telephone: your main local number.
- url: the page for this location.
Recommended
- openingHoursSpecification: your days and hours.
- geo: latitude and longitude of the premises.
- image: a real photo of the business or logo.
- priceRange: a simple indicator, if relevant.
- sameAs: links to your official profiles, such as social pages.
- areaServed: for service-area businesses, the towns or region you cover.
Consistency is the whole point. If your schema says one phone number and your profile says another, you've added confusion. Our guide on NAP in local SEO explains why consistent details matter.
A JSON-LD example
Here's what local business schema markup looks like for an imaginary bakery. Replace every value with your own.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Bakery",
"name": "Example Bakery",
"url": "https://www.example.com/",
"telephone": "+44 113 000 0000",
"image": "https://www.example.com/shopfront.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "1 Example Street",
"addressLocality": "Leeds",
"postalCode": "LS1 1AA",
"addressCountry": "GB"
},
"geo": { "@type": "GeoCoordinates", "latitude": 53.8, "longitude": -1.55 },
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
"opens": "07:00",
"closes": "17:00"
}]
}
</script>
Don't want to write it by hand? Our free local business schema generator builds the code from a simple form.
How to add it to your site
Where you add the code depends on how your site is built.
- Website builders: most let you add custom code to the page header. Paste the script there for your homepage or contact page.
- WordPress: use an SEO plugin's local business settings, or a header code plugin to paste the script.
- Custom sites: ask your developer to add the JSON-LD to the template for the relevant page.
For one location, add it to the homepage or the main contact page. For several locations, put each location's schema on its own location page. Our guide to local SEO for multiple locations covers how to structure those pages.
Test and maintain it
Always test after adding schema. Google offers a Rich Results Test, and Schema.org has a validator. Paste in your page URL or the code.
- Fix errors first. These can stop the markup being used.
- Review warnings. They often point to optional fields you can add.
- Check Search Console over time for structured data reports.
Then keep it current. When you change hours, phone numbers or address, update the schema at the same time as your profile and website.
Mistakes to avoid
- Marking up information that isn't on the page. Google's guidelines say structured data should reflect visible content.
- Adding review stars you wrote yourself. Self-serving review markup for local businesses isn't eligible for review rich results.
- Copying another site's code and forgetting to change the details.
- Stuffing keywords into the name or description fields.
- Setting and forgetting. Old hours in schema contradict your profile.
Key takeaway: accurate, simple schema beats elaborate schema with mistakes.
Service areas and multiple locations
Not every business fits the simple one-shop example. Two situations need a little more thought.
Service area businesses
If you hide your address on Google because customers don't visit you, think carefully before publishing a full street address in your schema. Your structured data should match what you show publicly on your website.
A common approach is to include your town, region and postcode area, leave out the street, and use the areaServed property to list the places you cover. Keep that list realistic and in line with the service areas on your profile.
Several locations
Each location should have its own page and its own schema block with that location's name, address, phone number and hours. Don't put every branch into one block on the homepage.
Give each location a stable identifier with the @id property, such as the location page URL followed by a fragment. You can also link each location to your main organisation with parentOrganization. This helps search engines understand that the branches belong to one brand.
Finally, keep locations in sync. When a branch changes its hours, update the profile, the location page and the schema together. A simple checklist for each change prevents mismatches that confuse customers and search engines.
Watch for duplicate markup
Many websites output schema from more than one place. A theme, an SEO plugin and a booking widget might each add their own block. The result can be two or three LocalBusiness entries with slightly different details on the same page.
To check, run the page through a testing tool and look at how many business entities it finds. If there are several, keep the most complete one and switch off the others in their settings. One accurate block is far better than three that disagree.
Your next step
Local business schema markup is a small, honest signal that helps Google read your details correctly. Choose the right type, include the essentials, match your profile exactly and test it. Then focus on the bigger levers: your profile, reviews and local relevance.
Generate your code with our free schema generator, then see how you rank: start a free Local Rank Grid trial with two free scans or audits.
FAQ
Do I need a developer to add local business schema?
Usually not. Most website builders and WordPress SEO plugins let you add it through settings or a header code box. A free schema generator can create the code for you.
Should a service area business include its address in schema?
Match what you show publicly. If you hide your street address, you can include your town and postcode area and list the places you cover with the areaServed property.
Does local business schema improve Google Maps rankings?
Not directly. It helps Google read your business details accurately and supports consistency, but map rankings depend mainly on relevance, distance and prominence.
Where should I put local business schema on my website?
For a single location, on the homepage or the main contact page. For several locations, put each location's markup on its own location page.
What format should local business schema use?
Google recommends JSON-LD. It's a script block in the page that visitors don't see, so you don't need to change your visible content.
Can I add review stars with local business schema?
Not for reviews about your own business that you publish on your own site. Google doesn't show self-serving review markup for local businesses as rich results.
How do I test my schema markup?
Use Google's Rich Results Test or the Schema.org validator. Fix any errors, then check Search Console's structured data reports over time.
Free trial, no card needed. Your first grid takes two minutes.