Technical SEO

Local Business Schema Markup: A Step-by-Step Setup Guide

Local business schema markup gives Google your name, address, and hours in a format it trusts. Here's a step-by-step way to add it and stand out locally.

On this page

Local business schema markup is a small piece of code you add to your website that hands Google your name, address, phone number, hours, and other key details in a format it fully trusts. Think of it as a fact sheet written in a language search engines read perfectly, so there is no guessing about who you are or where you operate.

The payoff is worth the effort. When Google is confident about your details, it is more likely to show you in rich results, in the local map pack, and in the AI answers that increasingly sit at the top of the page. This guide walks you through what it is and how to set it up step by step, even if you have never touched code.

What local business schema markup actually is

Schema markup is a shared vocabulary that search engines agreed on years ago. It lives in the background of your page and labels your information so a machine knows that "Tuesday 9 to 5" is your opening hours and not a phone number. The specific type built for brick-and-mortar and service businesses is called LocalBusiness.

Your visitors never see this code. It works quietly for the search engines and AI tools that read your site. If you want the bigger picture of how these behind-the-scenes signals fit together, our plain-English guide to technical SEO is a good companion read.

There are more specific subtypes too, like Restaurant, Dentist, Plumber, or Attorney. Using the closest match tells Google exactly what kind of business you run, which helps it match you to the right searches.

Why it matters for local businesses

Google already pulls your details from your website, your Google Business Profile, and directories around the web. When all of those sources agree, Google trusts the information more. Schema markup is one of the clearest ways to state the facts directly on your own site.

Here is what accurate markup helps with:

  • Stronger eligibility for rich results and knowledge panels
  • Better chances in the local map pack for nearby searches
  • Cleaner information for AI answer engines that quote local businesses
  • Consistent name, address, and phone across the web

That last point connects to something called NAP consistency. If your details match everywhere, you look more legitimate. Our guide to local citations and NAP consistency explains why this matters so much.

Tip: Schema markup does not replace your Google Business Profile, and your profile does not replace schema. They reinforce each other. Keep the name, address, phone, and hours identical in both places so the signals line up.

What to include in your markup

Good local business schema covers the details a searcher expects to find. At a minimum, include these:

FieldWhat it means
nameYour exact business name
addressStreet, city, state, and postal code
telephoneYour main public phone number
openingHoursThe days and times you are open
urlYour website homepage
geoLatitude and longitude of your location
imageA photo of your storefront or logo
priceRangeA simple range like $ or $$

Only include details that are true and public. Never invent hours or an address you do not actually operate from, and never add review stars you did not earn. Google treats fake markup as a violation and can penalize your site.

How to add local business schema markup, step by step

The recommended format is called JSON-LD. It is a block of code that sits inside your page and is the easiest type to add and maintain. Here is the process.

Step 1: Gather your details

Write down your business name, full address, phone number, hours, and website exactly as they appear on your Google Business Profile. Getting these consistent now saves you from mismatches later.

Step 2: Generate the code

You do not need to write this by hand. A free schema generator lets you fill in a form and produces the JSON-LD for you. Google's own Structured Data Markup Helper is one option, and there are several free tools built specifically for LocalBusiness markup. You fill in the blanks, and it hands you the finished code.

Step 3: Add it to your site

Paste the generated code into your homepage, ideally inside the head section or just before the closing body tag. If you run WordPress, an SEO plugin can add it for you without touching a template. Our roundup of essential WordPress plugins points to tools that handle this cleanly. If Arbor built your site, you can simply ask Sage to add or update your local business schema and it is done.

Step 4: Test it

Before you call it finished, run your page through Google's Rich Results Test and the Schema Markup Validator. Paste in your URL or the code, and the tool flags any errors or missing fields. Fix anything it warns about and test again.

Step 5: Submit and monitor

Once it is live, make sure Google can find the page. If you have not already, our walkthrough on setting up Google Search Console shows you how to check that your pages are indexed and watch for structured data issues over time.

Common mistakes to avoid

A few missteps come up again and again. Steer clear of these:

  1. Mismatched details. If your schema says one address and your Google Business Profile says another, you undercut the trust you are trying to build.
  2. Marking up information that is not on the page. The details in your schema should also be visible to human visitors on that page.
  3. Fake reviews or ratings. Only mark up genuine reviews collected through a real system.
  4. Forgetting to update it. When your hours or phone number change, update the schema too.

Schema is one piece of a bigger local strategy. To see how it fits alongside reviews, citations, and your profile, read our full local SEO guide. And because AI search now leans heavily on structured data, our guide to schema markup for AI search is worth a look once the basics are in place.

Frequently asked questions

Do I need coding skills to add local business schema markup?

No. Free generators produce the code for you from a simple form, and most website platforms or plugins let you paste it in without editing templates. If your site was built by a service that includes an AI editor, you can often just ask it to add the markup.

Will schema markup make my site rank higher right away?

Schema is not a direct ranking boost you will see overnight. It helps Google understand and trust your details, which supports your visibility in rich results and local listings over time. It works best as part of a broader effort, so pair it with a solid on-page SEO foundation.

Where should the schema go on my site?

Put your main LocalBusiness markup on your homepage or contact page, since those best represent your business as a whole. If you have multiple locations, give each location page its own markup with that location's specific details.

Want this handled for you?

Arbor builds your site, does the keyword research, and keeps you found on Google and in AI answers. You just ask.

See plans Or get your free SEO & AI score →