How to add LocalBusiness schema to a location page

LocalBusiness schema is code on a location page that describes the business in a format search engines can read: its name, address, phone, and hours. It’s usually added as JSON-LD, a short script block in the page. Match every value to what the page shows, and test one live location before you copy the template to others.

Does LocalBusiness schema help Google get your details right?

Yes. LocalBusiness schema can tell Google your address, hours, and other location details, though Google’s docs don’t show that it boosts Maps rankings.

High confidence. Strong evidence, or the platform says so in its own docs. Based on 2 sources: 2 official docs.

What to do

Add the most specific LocalBusiness type that fits your location. Match the address and hours customers see on the page, then run Google’s Rich Results Test.

On this page
  1. What to do
  2. Start with accurate location details
  3. Add JSON-LD that matches the visible page
  4. How do you test LocalBusiness schema?
  5. The evidence
  6. Related tactics

Start with accurate location details

Check the public details on the page first. Then choose the most specific schema.org type that fits, such as Restaurant or Dentist, and use the location’s real name and address.

For a chain, each location page should describe the business at that location. Gather that page’s name, street address, phone number, and regular hours before you set up a shared template.

Bottom line

Only mark up facts a visitor can read on the page. If the page doesn’t show it, leave it out of the schema.

Add JSON-LD that matches the visible page

Here’s an example for a fictional restaurant that opens for lunch and dinner Tuesday through Sunday. Place a script like this on the location page, replace every example value, and add any other properties from Google’s documentation that apply.

Then compare every field with the page itself, line by line.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "name": "Juniper Kitchen",
  "url": "https://example.com/locations/north-station/",
  "telephone": "+1-617-555-0149",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "12 Station Square",
    "addressLocality": "Cambridge",
    "addressRegion": "MA",
    "postalCode": "02140",
    "addressCountry": "US"
  },
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
    "opens": "11:30",
    "closes": "21:00"
  }
}
</script>

Bottom line

When your hours change, update the page and the schema at the same time.

How do you test LocalBusiness schema?

Paste the draft code into Google’s Rich Resultsrich resultsSearch results with extra details, such as star ratings, prices, or event dates, usually made possible by structured data. Test and fix any errors it flags. Publish it on one location page and run the test again on the live URL. Compare the name, address, and hours it finds with what people can read on the page. If you need to check whether Google can see the page, use URL Inspection in Search ConsoleSearch ConsoleGoogle’s free dashboard for site owners. It shows which searches bring people to your site and flags problems Google finds..

Valid markup can help Google understand your location details and meet the conditions for some search features. Google still decides what to show. Check how the business appears in Maps with a separate local rank check.

Bottom line

Get one live page right before rolling out the template. A mistake in a shared template repeats on every location page.

The evidence

Google documents which business fields it can read and which search features may use structured data.

  • Google Search Central · Official guidance · Last updated 2026

    Local business (LocalBusiness) structured data

    Google says the markup can communicate facts about a location such as its hours. Its documentation defines the address and opening-hours fields and describes possible search displays.

    Google describes supported information and eligibility. The document does not test a Maps or Local Pack ranking effect.

  • Google Search Central · Official guidance · Last updated 2026

    General structured data guidelines

    Google says correct markup and a passing Rich Results Test do not guarantee display. Search context such as location and device can influence selection.

    General structured data eligibility guidance. It does not report a local business appearance rate or a change in Maps placement.

Every source above was checked against the original by a second reviewer. How we rate the evidence