# Local Business Schema Markup: Generate and Add It (2026)

> Local business schema markup made simple: key properties, how to generate valid JSON-LD, where to paste it, and how to test it. A practical 2026 guide.

Source: https://ranklocaltoday.com/blog/local-business-schema-markup-guide  
Last updated: 2026-11-27

**In short:** local business schema is a block of JSON-LD code, using the schema.org LocalBusiness type, that tells search engines your business name, address, phone, hours, website and location in a format they read reliably. Generate it free with our [schema generator](https://ranklocaltoday.com/schema-generator), paste it into your page, then check it with Google's Rich Results Test.

If you run a local business, **local business schema markup** is one of the highest-value technical changes you can make to your site. It is a small block of code that tells search engines exactly what your business is, where you are, and how to reach you, in a format they read with confidence. This guide is for owners and marketers who want to add valid LocalBusiness structured data themselves and confirm it works, no developer required. You will not write code from scratch - you mainly need to know which details to include and where they go.

**What Google actually requires:** for a LocalBusiness block to be eligible for Google's rich results, Google's documentation lists only two required properties: **name** and **address**. Everything else, including geo coordinates, opening hours, phone and URL, is recommended. Google also says structured data does not guarantee that any search feature will appear. So the goal is accurate markup that matches your Google Business Profile exactly, not the longest block you can build.

## What LocalBusiness schema markup does

Schema markup is a shared vocabulary from schema.org that labels the information on your page so a search engine does not have to guess. Google already reads your page, but structured data removes the ambiguity by naming each fact clearly. **LocalBusiness** is the schema type built for storefront and service-area businesses. When you add it, you hand Google a clean, machine-readable summary of your name, address, phone number, hours, and more. That is exactly what people mean when they talk about "local business structured data."

It helps in a few practical ways:

- It confirms your NAP (name, address, phone) so your core details stay consistent everywhere they appear.
- It can make you eligible for richer search features, like the details some businesses show directly in results.
- It gives AI answers and voice assistants a reliable source for your facts instead of scraped guesses.

Be honest about the limits. Schema on its own is not a ranking guarantee, and results vary with how competitive your area is. It is a supporting signal that works alongside your Google Business Profile, reviews, and links. To see where it sits among everything else, our guide on [how ranking signals fit together](https://ranklocaltoday.com/blog/how-to-get-into-google-map-pack) gives you the bigger picture.

## The key properties to include

Google's documentation splits the properties into two groups. Get the required ones exactly right, then add the recommended ones you can keep accurate:

| Property | Google status | What Google says to use |
| --- | --- | --- |
| name | Required | The name of the business. |
| address | Required | A PostalAddress with as many of its sub-properties as possible. |
| geo | Recommended | GeoCoordinates with at least 5 decimal places of precision for latitude and longitude. |
| url | Recommended | A working link to the specific location's page, not just the homepage of a chain. |
| telephone | Recommended | A phone number customers can use, ideally with country and area code. |
| openingHoursSpecification | Recommended | Regular hours, plus validFrom and validThrough for seasonal closures. |
| priceRange | Recommended | A relative price band, under 100 characters. |

In plain terms, these are the details worth including and how to fill each one:

- **name** - your exact business name, matching your storefront and Google Business Profile.
- **address** - a full PostalAddress: street, city, state or region, postal code, and country.
- **geo** - GeoCoordinates (latitude and longitude) so your location is pinned precisely.
- **telephone** - the public phone number in a clear format, including country code.
- **url** - the canonical web address for the business or that specific location.
- **openingHoursSpecification** - your hours by day, including special or seasonal hours if they apply.
- **sameAs** - links to your official profiles (Facebook, Instagram, LinkedIn, Yelp) that confirm you are the same entity.
- **image** and **priceRange** - a logo or storefront photo and a rough price band, which some listings display.

If you serve customers at their location rather than yours, add **areaServed** to describe the cities or regions you cover. Before you generate anything, make sure these details are accurate and match your listings. If you are not sure your information is complete, you can [check profile completeness](https://ranklocaltoday.com/gbp-scorecard) first and fix the gaps before they get baked into your code.

## How to generate valid JSON-LD

Google recommends **JSON-LD**, a format that sits in a single script block and keeps the markup separate from your visible page. It is easier to add and update than older styles like microdata, which weave the labels through your HTML. You have two paths to create it:

1. **Use a generator.** Fill in a form with your name, address, hours, and links, and it outputs ready-to-paste JSON-LD. This is the fastest route and it avoids the syntax errors that trip people up.
2. **Write it by hand.** Start from a schema.org LocalBusiness example, replace the placeholder values, and keep the quotes and commas exact. One missing comma can break the entire block.

Pick the most specific type that fits you, such as Dentist, Plumber, Restaurant, or Attorney, because these inherit from LocalBusiness and describe you more precisely. If none fit, plain LocalBusiness is fine. Keep every value truthful and identical to what appears on the page - marking up information a visitor cannot see goes against Google's guidelines and can get your markup ignored.

## Copy-paste JSON-LD for a storefront

Here is a complete block for a business customers visit. Replace every REPLACE_ME value with your real details, swap the @type for the most specific type that fits you, and delete any property you cannot keep accurate. Coordinates need at least five decimal places.

```
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "REPLACE_ME Business Name",
"url": "https://www.REPLACE_ME.com/locations/REPLACE_ME-city",
"telephone": "+1-REPLACE_ME",
"image": "https://www.REPLACE_ME.com/images/storefront.jpg",
"priceRange": "$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "REPLACE_ME 123 Main St",
"addressLocality": "REPLACE_ME City",
"addressRegion": "REPLACE_ME State",
"postalCode": "REPLACE_ME",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 0.00000,
"longitude": -0.00000
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "08:00",
"closes": "17:00"
}
],
"sameAs": [
"https://www.facebook.com/REPLACE_ME"
]
}
</script>
```

Only list profiles in **sameAs** that the business genuinely owns and controls. A sameAs link to someone else's page, or to a directory listing you never claimed, adds nothing.

## Copy-paste JSON-LD for a service-area business

A service-area business that does not serve customers at its address has a real tradeoff here, and it is better to know it than to paper over it. Google's Business Profile guidance says to hide your address if customers do not visit you. But Google's structured data documentation lists address as a required property for LocalBusiness rich results. The block below follows what your Business Profile shows: it keeps the city, region, postal code and country, lists the areas you serve with **areaServed**, and leaves the street address out. That keeps your public details consistent; it may also mean the block is not eligible for some rich-result features. If your profile does show your street address, use the storefront block instead.

```
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "HousePainter",
"name": "REPLACE_ME Business Name",
"url": "https://www.REPLACE_ME.com/",
"telephone": "+1-REPLACE_ME",
"address": {
"@type": "PostalAddress",
"addressLocality": "REPLACE_ME City",
"addressRegion": "REPLACE_ME State",
"postalCode": "REPLACE_ME",
"addressCountry": "US"
},
"areaServed": [
{ "@type": "City", "name": "REPLACE_ME City One" },
{ "@type": "City", "name": "REPLACE_ME City Two" }
]
}
</script>
```

Whichever version you use, the rule is the same: your markup should say what your profile and your page say, character for character.

## Holiday and seasonal hours in schema

Google's documentation says to use **validFrom** and **validThrough** on an openingHoursSpecification to mark a seasonal closure, with its own example of a business closed over the winter holidays. A closure is written as opens and closes both set to 00:00 for the dates it covers:

```
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "08:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"opens": "00:00",
"closes": "00:00",
"validFrom": "2026-12-24",
"validThrough": "2026-12-26"
}
]
```

Set the same dates on your Business Profile at the same time. Our guide to [special hours on your profile](https://ranklocaltoday.com/blog/how-to-set-hours-special-hours-google-business-profile) covers that side; the two should never disagree.

## Where to paste the code on your site

Place the JSON-LD on the page it actually describes, usually your homepage, contact page, or a dedicated location page. Add it inside the head of the page or just before the closing body tag. Both positions work, so use whichever your platform makes easier:

- **WordPress** - a schema or SEO plugin, or a "custom code" header and footer box.
- **Wix, Squarespace, or Shopify** - a custom-code or header-injection setting in the site editor.
- **Google Tag Manager** - a Custom HTML tag set to fire on the right pages.

If you have more than one location, give each one its own page with its own LocalBusiness block and its own address and coordinates. Do not stack every location into a single block on the homepage, because that confuses which details belong to which place.

## How to test and validate it

Never trust markup you have not tested. Run every block through two free checks before and after you publish:

1. **Rich Results Test** - paste your URL or code into Google's tool to confirm it is valid and see which supported features you may qualify for.
2. **Schema Markup Validator** - the schema.org validator flags syntax problems and properties that Google may not use.

Once the page is live, open the **URL Inspection** tool in Google Search Console and inspect the published address. It shows you the structured data Google actually reads when it crawls the page, which is the version of the truth that matters most. If a dedicated structured-data report appears for your markup, review it for warnings, but do not worry if one never shows up, because not every schema type gets its own report. After you publish, Google's documentation says to allow several days for the page to be recrawled and reprocessed; submitting your sitemap helps Google find updated pages. Once you have more than a handful of pages, our guide to [automating structured data testing and monitoring](https://ranklocaltoday.com/blog/structured-data-testing-automation) shows how to run these checks continuously.

## Keep your markup current

Schema is not a set-and-forget task. The moment your hours, phone number, address, or business name changes, update the JSON-LD to match, because stale markup that contradicts your live page or your Google Business Profile is worse than none at all. Set a reminder to review it whenever you move, add seasonal hours, or refresh your contact details. A quick re-test in the validator after each edit takes a minute and saves you from shipping a broken block that quietly stops working. For sites with many locations, our guide to [structured data at scale](https://ranklocaltoday.com/blog/structured-data-at-scale-guide) explains how to keep that markup current through templates instead of manual edits.

## Common mistakes to avoid

- **NAP that does not match.** Your name, address, and phone in schema must match your website and Google Business Profile character for character.
- **Marking up your own reviews.** Google's LocalBusiness documentation says aggregateRating and review markup are only recommended for sites that capture reviews about other local businesses. A business marking up reviews of itself on its own site does not fit that description, and Google notes that structured data that breaks its guidelines can lead to a manual action. Leave rating markup out of your own LocalBusiness block.
- **Wrong or missing coordinates.** A latitude and longitude copied from the wrong spot sends a confusing location signal.
- **Marking up hidden content.** Only describe details a visitor can actually see on that page.

Structured data is one piece of a larger local strategy, so treat it as part of the whole rather than a magic fix. Reviewing [the 2026 ranking factors](https://ranklocaltoday.com/blog/local-seo-ranking-factors-2026) will help you decide what to work on next once your schema is clean and validated.

For markup beyond LocalBusiness, such as Service markup on each service page, see our guide to [schema for service businesses](https://ranklocaltoday.com/blog/schema-markup-service-businesses), and for a walkthrough of the tool itself, how to use our [free schema generator](https://ranklocaltoday.com/blog/how-to-use-schema-generator).

Ready to build yours? Our [free schema generator](https://ranklocaltoday.com/schema-generator) turns your business details into valid, paste-ready JSON-LD in a few minutes, so you can add it, test it, and move on to the rest of your local SEO.

Read next: What Is LocalBusiness Schema and Why It Matters.

## Frequently asked questions

### Does local business schema markup improve my rankings?

Not directly, and no honest tool can promise a specific position. Schema helps search engines understand and trust your business details, and it can make you eligible for richer search features. Think of it as a supporting signal that works alongside your Google Business Profile, reviews, and links rather than a ranking button.

### Do I need to know how to code to add schema?

No. A generator lets you fill in a simple form and copy the finished JSON-LD, so you never write code from scratch. You do need to paste that block into your site, which most website builders and SEO plugins make easy. If you can edit a page or add a plugin, you can add schema.

### Where should I put my LocalBusiness schema?

Put it on the page it describes, usually your homepage, contact page, or a location page. You can place it inside the head of the page or just before the closing body tag, and both work fine. If you have multiple locations, give each one its own page and its own block.

### What is the difference between JSON-LD and microdata?

JSON-LD is a single, self-contained script block that keeps the markup separate from your visible content, which makes it easy to add and update. Microdata weaves the labels directly into your HTML tags, so it is harder to maintain. Google recommends JSON-LD, and it is the format most generators produce.

### How do I know my schema is working?

Test it with Google's Rich Results Test and the schema.org Markup Validator to catch syntax errors and confirm it is valid. Once the page is live, use the URL Inspection tool in Google Search Console to see the structured data Google actually reads on that page. That live view is the most reliable confirmation that your markup is working.

### Which LocalBusiness properties are required?

Google's documentation lists two required properties for LocalBusiness rich-result eligibility: name and address, with the address given as a PostalAddress using as many sub-properties as possible. Geo, url, telephone, openingHoursSpecification and priceRange are recommended, not required.

### Can I mark up my own reviews with schema?

Google's documentation says aggregateRating and review markup are only recommended for sites that capture reviews about other local businesses. Reviews of your own business on your own site do not fit that description, and markup that breaks Google's guidelines can lead to a manual action.

### How do I add Christmas or holiday hours in schema?

Add an extra openingHoursSpecification with validFrom and validThrough set to the dates, as Google's documentation describes for seasonal closures. For a full closure, set opens and closes to 00:00. Set the same special hours on your Google Business Profile so the two match.

## Sources

- [Google Search Central: Local business (LocalBusiness) structured data](https://developers.google.com/search/docs/appearance/structured-data/local-business), accessed November 27, 2026
- [Google Business Profile Help: Guidelines for representing your business on Google](https://support.google.com/business/answer/3038177), accessed November 27, 2026

More in this topic: [Website SEO, all 208 guides →](https://ranklocaltoday.com/blog/local-website-seo-guides)
