SEO
Schema markup for local businesses, step by step
Short answer
Schema markup for a local business is a short block of code, usually JSON-LD, that labels your business name, address, phone number, opening hours and other details so search engines can read them reliably. Use the most specific LocalBusiness type, include only details visitors can see, test it with Google's Rich Results Test and check it in Search Console.
Schema markup sounds technical, but for a local business it mostly means writing down your business details carefully, in a format machines can read. A short block of code tells search engines who you are, what you do, where you are and when you are open.
Here is how to do it step by step, as of October 2026.
What is schema markup, in plain English?
Schema markup, also called structured data, is code that labels the facts on a web page so search engines can read them without guessing. Visitors never see it.
Think of it as a filled-in form behind your contact page. The field names come from schema.org, a shared vocabulary that Bing, Google and Yahoo launched in 2011, so “Plumber” or “telephone” means the same to every search engine that reads it. Google supports three formats and recommends JSON-LD, a self-contained block of code that sits apart from your page text.
What does schema markup do, and what does it not do?
It helps search engines understand your page and can make it eligible for rich results: search listings with extras such as images or star ratings. It guarantees none of them, and Google says it is not needed for its AI features.
| Schema markup can | Schema markup cannot |
|---|---|
| Help Google understand a page | Guarantee a rich result |
| Make a page eligible for some rich results | Get you into AI Overviews or AI Mode on its own |
| Give your hours, address and phone number a machine-readable form | Replace your Google Business Profile |
| Help Google tell your business apart from similarly named ones | Show review stars for your own business |
From Google’s documentation:
- Structured data helps Google understand page content and tell organisations apart, but Google does not guarantee it will show in results.
- For AI Overviews and AI Mode, there is “no special schema.org structured data that you need to add” (Google Search Central). Google’s generative AI guide still recommends structured data for rich results.
- Rich results change: FAQ rich results stopped showing from 7 May 2026.
Bing has supported JSON-LD since 2018 too. For how AI tools pick local firms, see how AI recommends local businesses and Google AI Overviews.
Which schema type should a local business use?
Use LocalBusiness, or better, the most specific subtype that fits, such as Plumber or Dentist. Google’s local business guide asks for the most specific subtype possible.
A subtype is a more precise version of a type. LocalBusiness has 30 direct subtypes, many with subtypes of their own. Common UK choices:
| Your business | Type to use | Parent type |
|---|---|---|
| Plumber, electrician, locksmith, roofer | Plumber, Electrician, Locksmith, RoofingContractor | HomeAndConstructionBusiness |
| Dental practice | Dentist | LocalBusiness |
| Hair or beauty salon | HairSalon, BeautySalon | HealthAndBeautyBusiness |
| Accountant | AccountingService | FinancialService |
| Solicitor | LegalService | LocalBusiness |
| Estate or letting agent | RealEstateAgent | LocalBusiness |
| Shop | Store | LocalBusiness |
If nothing fits, use the nearest parent type. A business that is genuinely two things can list both types, but Google does not support the additionalType property. LocalBusiness is a kind of Organization, so Google’s Organization guide applies too.
Which properties does Google ask for?
Google requires only name and address, and recommends several more. Add every one that applies, but complete, accurate values matter more than quantity.
| Property | Status in Google’s guides | What to put |
|---|---|---|
name |
Required | Your business name, as on your signage |
address |
Required | Street, town, postcode and country code (GB) |
telephone |
Recommended | Your main number with +44 |
url |
Recommended | The full web address of this location’s page |
geo |
Recommended | Latitude and longitude, at least five decimal places |
openingHoursSpecification |
Recommended | Days in English, times in 24-hour format |
priceRange |
Recommended | A rough guide such as ££, under 100 characters |
image |
Required only for the restaurant carousel | Real photos of your premises, team or work |
logo, sameAs |
Recommended in the Organization guide | Your logo, and links to profiles such as Facebook or your trade body |
review, aggregateRating |
Only for sites reviewing other businesses | Leave out for your own business |
For a day you are open 24 hours, Google says to use 00:00 to 23:59; for a closed day, 00:00 for both.
A complete example for a fictional plumber
Below is a complete JSON-LD block for Example Plumbing Ltd, a made-up business. The phone number comes from the 01632 960000 to 960999 range Ofcom sets aside for TV and radio drama, example.com is kept for documentation, and the postcode and coordinates are placeholders.
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Example Plumbing Ltd",
"url": "https://www.example.com/",
"telephone": "+441632960123",
"priceRange": "££",
"image": "https://www.example.com/images/team-and-van.jpg",
"logo": "https://www.example.com/images/logo.png",
"address": {
"@type": "PostalAddress",
"streetAddress": "1 Example Street",
"addressLocality": "Exampleton",
"postalCode": "AA1 1AA",
"addressCountry": "GB"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.01234,
"longitude": -1.01234
},
"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": ["Exampleton", "Sampleford"],
"sameAs": [
"https://social.example.net/exampleplumbing",
"https://directory.example.org/example-plumbing-ltd"
]
}
areaServed is a schema.org property, not on Google’s list, that names the towns a trade covers.
Where does the code go?
Wrap the block in an opening <script type="application/ld+json"> tag and a closing </script> tag. Google accepts it in the head or the body of the page. Put it on the page that shows these details, usually your homepage or contact page, where Google says it makes most sense. It does not need to go on every page.
To adapt it, change the type, replace every value, and delete anything your site does not show, such as priceRange if you do not publish prices.
How do you add schema markup to your website?
Start with your platform or SEO plugin, as most can produce the markup from a settings form. Write it by hand only if yours cannot.
- WordPress with Yoast: Local SEO is a separate plugin, included in Yoast’s paid Premium package. Under Yoast SEO, then Local SEO, fill in your business info (including business type) and opening hours. Yoast says setting a primary location lets it output the correct structured data.
- WordPress with Rank Math: under Rank Math SEO, then Titles & Meta, then Local SEO, choose person or organisation, then add a Business Type, address, opening hours, phone number, coordinates and logo. Rank Math then adds the markup.
- Wix: Wix creates LocalBusiness markup automatically for your homepage from the name, URL, logo and address in Business info, for your primary location only. You can switch it off and add your own JSON-LD in a page’s Advanced SEO tab: up to five blocks per page, each under 7,000 characters.
- Squarespace: it generates local business and organisation markup that you cannot edit or remove, so test what it produces before adding more. Extra code goes in through code injection on Core, Plus, Advanced and some legacy plans.
- Shopify: the built-in structured_data filter covers products and articles, not local businesses. Add your block through Edit code, in theme.liquid, the default layout file and a good place for head content. Shopify advises you to duplicate your theme first and warns that edits can be lost in a theme update.
- By hand or with Google Tag Manager: paste the script block into the page’s HTML. Google can also read markup added with JavaScript, including through Google Tag Manager, if it is in the page when Google renders it. Test the live URL, not pasted code.
How do you test and monitor your markup?
Test with Google’s Rich Results Test and the Schema Markup Validator, then use Search Console to confirm Google can crawl the page and to catch errors.
- Rich Results Test. Paste your code or a live URL to see what Google detects. Google says to fix critical errors and consider fixing non-critical ones.
- Schema Markup Validator. The successor to Google’s old Structured Data Testing Tool checks your code against schema.org in general, but not Google’s requirements, so use both.
- Your own eyes. Neither tool knows your real hours, so check every value against the page.
- URL Inspection. In Search Console, Google’s free tool for site owners, URL Inspection confirms the page is indexed, shows the crawled page so you can check your code is there, and lets you request indexing. Neither URL Inspection nor the rich result reports list local business markup, so do not worry when it is absent.
- Unparsable structured data report. This report appears only if Google finds markup it cannot read, such as code with a missing comma. Fix it, then ask Search Console to validate the fix.
- Retest after changes to your hours, phone number or address, and after theme or plugin updates.
We tested the example above in both tools in October 2026, and neither reported errors or warnings.
What are the most common schema mistakes?
Most problems come from markup that does not match the page, or does not match the truth.
- Marking up what visitors cannot see. Google’s guidelines rule this out and say markup must truly represent the page. Breaches can bring a manual action (a penalty from a human reviewer at Google), after which Google ignores the page’s structured data.
- Fake reviews in markup. In July 2026 Google added a guideline against fake or undisclosed incentivised reviews on the page or in review markup. In the UK, fake reviews have been banned since 6 April 2025. See Google reviews and AI recommendations for collecting genuine ones.
- Self-serving review markup. Since September 2019, Google has not shown stars for LocalBusiness or Organization markup when the business controls the reviews about itself, including through a reviews widget. Google says this alone brings no manual action, but no stars either.
- Inconsistent details. If your markup says you close at 6pm, your page says 5.30pm and your Business Profile says 5pm, you are giving three different answers.
- Copying a template unedited. Watch for leftover example.com links, placeholder coordinates, the wrong type, or a plugin and a hand-written block describing you differently.
- Format slips. Phone numbers without +44, coordinates with fewer than five decimal places, times like “6pm”, and day names in other languages, which Google does not support.
Your schema checklist for this week
Six steps, in order:
- Run your homepage through the Rich Results Test to see what markup it already has.
- Choose the most specific type for your business.
- Copy your name, address, phone number and hours exactly as your website shows them.
- Add the markup through your platform or plugin, or adapt the example above.
- Test with both tools and fix every error.
- Request indexing in Search Console, and retest whenever your details change.
Schema markup is one small part of SEO in the AI era. If you would rather someone checked where you stand, every CleverNorth package starts with a free audit, delivered within 48 hours.