Local SEO

How to Add LocalBusiness Schema Markup (JSON-LD)

Add JSON-LD LocalBusiness markup with a name and address, include useful recommended fields, then test it in the Rich Results Test and Search Console.

FindSEO5 min read

A weathered two-storey corner shop building on a leafy New Orleans street, with a grey awning, large ground-floor windows and a simple painted facade.

Photo: Infrogmation / Wikimedia Commons (CC BY-SA 4.0)

In this article
  1. What do you need to mark up?
  2. How do you add the JSON-LD?
  3. How do you test and publish it?
  4. How should you handle hours, departments and service areas?
  5. A LocalBusiness schema checklist
  6. The bottom line

To add LocalBusiness schema markup for Google, put JSON-LD on a page that already describes the business — usually the homepage or a contact page. The required properties are name and address (as a PostalAddress). Use the most specific type you can, such as Dentist or Restaurant, add recommended details such as phone, URL, geo coordinates and opening hours, then test the page in the Rich Results Test.

Structured data does not replace a Google Business Profile. It is a machine-readable copy of facts that are already visible on the page, so Google can understand the premises more clearly in Search and Maps. Google's Local Business structured data documentation was last updated in September 2026 and is the source for the steps below.

What do you need to mark up?

You must follow the general structured data guidelines as well as the Local Business rules. The markup has to match visible content. If a fact is not on the page, do not invent it in JSON-LD.

Google requires:

  • name: the business name.
  • address: a PostalAddress with as many parts as you can provide, such as street, suburb, region, postcode and country.

Google recommends, among other properties: url, telephone (with country code), geo latitude and longitude to at least five decimal places, openingHoursSpecification, priceRange, and image where it helps. Use the most specific LocalBusiness sub-type. If the business is several types at once, Google says you can list them as an array, for example electrician and plumber together. Because LocalBusiness is a sub-type of Organization, Google also recommends following the Organization fields where they apply.

Do not add review or aggregateRating unless your site publishes reviews of other local businesses and you follow the review snippet guidelines. Markup for reviews of your own business on your own site is not what that property is for.

How do you add the JSON-LD?

Google's documentation prefers JSON-LD in a script tag of type application/ld+json. You can place LocalBusiness structured data on any page, though it usually belongs on a page that already states the name, address and hours.

A minimal shape looks like this (replace every value with your real details):

{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Example Bakery",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "12 Example Street",
    "addressLocality": "Fitzroy",
    "addressRegion": "VIC",
    "postalCode": "3065",
    "addressCountry": "AU"
  },
  "url": "https://www.example.com/",
  "telephone": "+61-3-0000-0000"
}

Use a more specific @type when one exists. Add openingHoursSpecification for ordinary and weekend hours, and geo if you know the coordinates. Keep the phone number and URL identical to the ones on the Business Profile and in citations.

If you use a CMS, a plugin or our schema generator can draft the JSON-LD, but you still need to check that every field is true. Multiple locations should each have a page and markup for that premises, which pairs with well-built location pages.

LocalBusiness JSON-LD requires name and a PostalAddress, and is stronger when it also includes a specific type, telephone, URL, geo coordinates, opening hours, price range and images. Review markup is only for sites that publish reviews of other businesses.
Required fields are name and address. Everything else should repeat facts already on the page.

How do you test and publish it?

Google's Local Business documentation sets out the release steps:

  1. Add the required properties, then follow the guidelines.
  2. Validate the code with the Rich Results Test. Fix critical errors. Non-critical warnings are worth cleaning up, but Google says they are not required for eligibility.
  3. Publish the page and use the URL Inspection tool in Search Console to see how Google fetches it. The page must be crawlable: not blocked by robots.txt, not set to noindex, and not behind a login.
  4. If the page looks right, you can request a recrawl. Google notes that it may take several days to find and crawl the change.
  5. Keep the sitemap updated so the page stays easy to discover.
Steps to test and publish LocalBusiness JSON-LD: add it on a public page that already states the business details, validate it in the Rich Results Test, then inspect the URL in Search Console and request a recrawl.
Valid markup still needs a crawlable page, and Google does not guarantee a rich result.

Google does not guarantee that a rich result or knowledge panel will appear, even when the markup is valid. The general structured data guidelines list common reasons markup is ignored, including spammy content or a structured data manual action.

If you later see errors, check the Search Console structured data reports and the troubleshooting section of the Local Business documentation.

A butcher's shop window in a village street, with trays of meat, handwritten signs and a tiled counter visible behind the glass.
Test the live URL in the Rich Results Test, then inspect it in Search Console so you know Google can fetch the page. Photo: Winniepix, CC BY 2.0, via Wikimedia Commons.

How should you handle hours, departments and service areas?

Opening hours belong in openingHoursSpecification, with dayOfWeek, opens and closes. Google's Local Business documentation includes examples for ordinary hours, late closing times that pass midnight, all-day opening, and seasonal hours that use validFrom and validThrough. If you omit the seasonal dates, Google treats the hours as applying year-round. Use 24-hour times such as 09:00 and 17:00, and keep them in line with the Business Profile, including public holiday exceptions you have already published on the page.

If the location has named departments, Google allows a nested department with its own details. It asks you to include the store name with the department name, unless the department is separately branded. Do not invent a department that is not a real part of the business.

Service-area businesses should follow the same honesty rule as the service-area Business Profile guide: do not publish a street address in markup if you do not serve customers there. Required address fields still have to be truthful. If you are unsure, align the markup with whatever address policy the Business Profile already uses, and do not add a public pin you would not show in Maps.

Keep one consistent set of facts across the website, the Business Profile and citations. That consistency is also how Google ranks local results weighs prominence and relevance. Markup cannot fix a wrong category or a missing phone number.

For restaurants and food businesses, Google also documents servesCuisine and a menu URL, and a restaurant carousel that is limited to a small set of providers. Most local service businesses can ignore the carousel and concentrate on accurate type, address, hours and contact details. The point of the work is consistent facts, not a special search layout. When hours or the phone number change, update the page first, then the JSON-LD and the Business Profile on the same day. Stale markup is worse than a short page that is merely honest, because it contradicts what customers and Google already see.

A LocalBusiness schema checklist

  • JSON-LD sits on a public page that already shows the business details.
  • @type is the most specific LocalBusiness sub-type (or a truthful array of types).
  • name and a complete PostalAddress are present and match the visible text.
  • Phone, URL, hours and coordinates match the Business Profile and citations.
  • You have not marked up reviews of your own business on your own site.
  • The Rich Results Test reports no critical errors.
  • URL Inspection can fetch the page, and the page is not blocked or set to noindex.

The bottom line

LocalBusiness markup is a structured copy of facts you should already be publishing clearly. Required fields are just the name and address; the recommended fields are what make the data useful. Keep it consistent with your Business Profile, test it, and give Google time to recrawl. For the wider local presence, see how Google ranks local results, compare local SEO services, or get matched with an agency. The Academy lesson on structured data basics covers the wider markup types.

FAQs

What properties are required for LocalBusiness markup?

Google requires name and address. The address must be a PostalAddress object. Recommended properties include url, telephone, geo coordinates, opening hours, price range and images. Use the most specific LocalBusiness sub-type you can.

Where should I put LocalBusiness JSON-LD?

Google says you can add it to any page, though it makes more sense on a page that already contains information about the business, such as the homepage or a contact or location page. The facts in the markup must be visible on the page.

Does LocalBusiness schema replace a Google Business Profile?

No. The Business Profile is the listing in Search and Maps. Schema markup on your website is a structured way to repeat the same facts. Use both, and keep the name, address, phone number and hours consistent.

Can I add review stars in LocalBusiness markup?

Only if your site captures reviews about other local businesses, and only if you follow Google's review snippet guidelines. Do not use review or aggregateRating markup for reviews of your own business on your own site.

Will valid markup guarantee a rich result?

No. Google says it does not guarantee that features which consume structured data will show up. The markup must be valid and follow the guidelines, the page must be crawlable, and even then appearance in results is not guaranteed.

Sources

Ready for help with SEO?

Compare SEO-only agencies near you, with client reviews checked by a person, or tell us what you need and get matched.

Local SEO

How to Set Up a Google Business Profile

Add or claim your listing, complete the verification method Google offers, and fill in accurate hours, photos and contact details for Search and Maps.

FindSEO5 min read