LocalBusiness schema is JSON-LD code that tells search engines your business name, address, phone, hours and location in a structured format. Google requires only name and address, and recommends telephone, url, geo, opening hours and priceRange. Pair it with Organization schema on your home page. Below are copy-ready templates for one location, several locations and online-only businesses.

Most small business sites I audit either have no structured data about the business at all, or have three copies of it from three different plugins, each saying something slightly different. Neither helps. A single, accurate block of LocalBusiness schema, plus a clean Organization block, is usually all you need.

This guide gives you templates you can copy, explains every property Google actually documents, and covers the mistakes I see most often. I checked every property against Google’s LocalBusiness documentation, Google’s Organization documentation and schema.org as of November 2026.

What is LocalBusiness schema?

LocalBusiness schema is a type of structured data from schema.org. It describes a business with a physical location that customers visit or that serves a local area: a dentist, a plumber, a restaurant, a law office, a gym. You add it to your page as a JSON-LD script, and search engines read it to understand who you are, where you are and when you’re open.

It doesn’t replace your Google Business Profile, and adding it won’t change what your profile shows. Think of it as a clear, machine-readable version of the contact details already on your website. It helps search engines and AI tools connect your site to your business, and it gives Google the details its documentation says it can use for business information in search.

Business profile JSON format structure, explained

People often search for the “business profile json format structure” when they want to know how this code is laid out. Every JSON-LD block follows the same pattern:

  • @context is always https://schema.org. It tells the reader which vocabulary you’re using.
  • @type is the kind of thing you’re describing, such as Plumber, Dentist or Organization.
  • @id is an optional unique URL for this entity, so other blocks can refer to it.
  • Properties such as name, telephone and url hold plain values.
  • Nested objects such as address (a PostalAddress) and geo (a GeoCoordinates) have their own @type and properties.

The whole thing sits inside a <script type="application/ld+json"> tag, usually in the page’s head. That’s the entire business profile json format structure. Everything else is choosing the right type and filling in accurate values.

Which LocalBusiness schema properties does Google use?

Google’s documentation lists two required properties and a set of recommended ones. This table covers them, with the rules Google states for each.

PropertyRequired?Notes from Google’s docs
nameRequiredThe name of the business
address (PostalAddress)RequiredThe physical location; include as many sub-properties as possible
telephoneRecommendedInclude the country code and area code
urlRecommendedA working URL for the specific business location
geo (latitude, longitude)RecommendedAt least 5 decimal places
openingHoursSpecificationRecommendeddayOfWeek, opens, closes, and optional validFrom / validThrough
priceRangeRecommendedA range like “$10-15” or signs like “$$$”; under 100 characters
departmentRecommendedNested LocalBusiness for departments inside the business
menu, servesCuisineRecommendedFor food businesses only
aggregateRating, reviewRecommendedOnly for sites that capture reviews about other local businesses

That last row matters. Google recommends review and rating markup in LocalBusiness schema only for sites that publish reviews of other businesses. If you add star ratings about your own business, collected from your own testimonials, you’re outside what Google’s docs describe, and it can lead to a manual action.

LocalBusiness schema required and recommended properties
What Google requires and recommends for LocalBusiness markup.

LocalBusiness schema template: single location

This is the template I start with for a single-location business. Replace every value with your own, and change Plumber to the most specific type that fits. Google’s guidance is to use the most specific LocalBusiness sub-type possible.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Plumber",
  "@id": "https://www.example.com/#localbusiness",
  "name": "Example Plumbing Co.",
  "url": "https://www.example.com/",
  "telephone": "+1-555-555-0123",
  "image": "https://www.example.com/images/storefront.jpg",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 39.78172,
    "longitude": -89.65015
  },
  "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": "Springfield, IL",
  "sameAs": [
    "https://www.facebook.com/exampleplumbing",
    "https://www.linkedin.com/company/exampleplumbing"
  ],
  "parentOrganization": { "@id": "https://www.example.com/#organization" }
}
</script>

A few notes on this LocalBusiness schema template. The phone number uses the international format with the country code, as Google asks. The coordinates have five decimal places. areaServed and sameAs aren’t in Google’s list, but they’re valid schema.org properties and useful for other search engines and AI tools. The parentOrganization line links this location to the Organization block below.

Organization schema JSON-LD template

Organization schema describes the company itself rather than a location. Google says there are no required properties, recommends placing it on your home page or an about page, and says the logo must be at least 112 by 112 pixels.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.example.com/#organization",
  "name": "Example Plumbing Co.",
  "legalName": "Example Plumbing Company LLC",
  "url": "https://www.example.com/",
  "logo": "https://www.example.com/images/logo-512.png",
  "description": "Residential and commercial plumbing in Springfield, Illinois.",
  "email": "hello@example.com",
  "telephone": "+1-555-555-0123",
  "foundingDate": "2012",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer service",
    "telephone": "+1-555-555-0123",
    "email": "hello@example.com"
  },
  "sameAs": [
    "https://www.facebook.com/exampleplumbing",
    "https://www.linkedin.com/company/exampleplumbing"
  ]
}
</script>

Google’s recommended Organization properties also include alternateName, numberOfEmployees, and business identifiers such as taxID, vatID, duns, leiCode, naics and globalLocationNumber. Add the ones you actually have and are happy to publish. Don’t invent them.

Organization schema vs LocalBusiness schema: which do you need?

Both, in most cases. They answer different questions. Organization describes the company: its name, logo, legal name, social profiles and contact points. LocalBusiness schema describes a place where the business serves customers: address, hours, coordinates and phone for that location.

Your businessUseWhere
One shop, office or clinicLocalBusiness subtype (can double as Organization)Home page or contact page
Several locationsOrganization once, plus a LocalBusiness block per locationHome page, and each location page
Online only, no public locationOrganization or a subtype like OnlineStoreHome page or about page
Service-area businessLocalBusiness subtype with areaServedHome page or contact page

For a single-location business, a LocalBusiness subtype is also an Organization in schema.org terms, so some sites use one combined block. I prefer two linked blocks with @id, because it stays clean if the business opens a second location later.

Choosing Organization or LocalBusiness schema for your business
Which block to use, and where, for each kind of business.

LocalBusiness schema for multiple locations

For a business with several locations, give each one its own page with its own address, phone, hours and map. Then add one LocalBusiness schema block to each location page. Google says the url should point to the specific business location, so don’t point every location at the home page.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "@id": "https://www.example.com/locations/downtown/#localbusiness",
  "name": "Example Dental Downtown",
  "url": "https://www.example.com/locations/downtown/",
  "telephone": "+1-555-555-0145",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "45 Market Street",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "parentOrganization": { "@id": "https://www.example.com/#organization" }
}
</script>

Keep the name consistent with how the location appears on your Google Business Profile and your website. If one location has a branded department, such as a pharmacy inside a store, Google documents a nested department property for that.

Opening hours: the formats that trip people up

Hours cause more LocalBusiness schema errors than anything else. Google’s documentation shows these patterns:

  • Normal hours: one object per group of days, with opens and closes in 24-hour time, such as “09:00” and “17:00”.
  • Open past midnight: one object, for example Saturday opening “18:00” and closing “03:00”.
  • Open 24 hours: opens “00:00” and closes “23:59”.
  • Closed all day: set both opens and closes to “00:00”.
  • Holiday or seasonal hours: add validFrom and validThrough dates in YYYY-MM-DD format.
{
  "@type": "OpeningHoursSpecification",
  "dayOfWeek": "Sunday",
  "opens": "00:00",
  "closes": "00:00"
},
{
  "@type": "OpeningHoursSpecification",
  "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
  "opens": "00:00",
  "closes": "00:00",
  "validFrom": "2026-12-25",
  "validThrough": "2026-12-25"
}

Whatever you put here must match the hours on the page and on your Google Business Profile. Out-of-date hours in LocalBusiness schema are worse than none, because they send search engines conflicting signals.

Service-area and online businesses

If you travel to customers and don’t serve people at your address, you can still use a LocalBusiness subtype and add areaServed with the cities or regions you cover. Google lists address as required for LocalBusiness markup, so include the address details you’re comfortable publishing and make sure they match your website and profile.

If you’re purely online, with no location customers visit, LocalBusiness schema isn’t the right type. Use Organization, or a more specific subtype. Google’s Organization documentation suggests the most specific subtype, for example OnlineStore rather than the broader OnlineBusiness for an ecommerce site.

How to write your own LocalBusiness schema, step by step

If you’d rather build the block yourself than copy mine, this is the order I work in:

  1. Collect the facts first. Business name exactly as customers see it, full address, main phone with country code, website URL and current hours. Use the same details that appear on the page.
  2. Pick the most specific type. Search the schema.org type list for your trade. Plumber, Electrician, Dentist, Attorney and HVACBusiness all exist. Google’s docs show that you can list more than one type in an array if the business really does several things.
  3. Get accurate coordinates. Copy latitude and longitude from a map and keep at least five decimal places.
  4. Write the hours using the formats in the section above, including any days you’re closed.
  5. Add an @id so the block can be linked from your Organization markup.
  6. Test it in the Rich Results Test before you publish, then again on the live URL.
  7. Set a reminder to review it whenever your hours, phone or address change.

The last step is the one people skip. LocalBusiness schema isn’t a one-time task. It has to stay true.

Adding LocalBusiness schema in WordPress

On WordPress you have three practical options:

  1. Your SEO plugin. Most popular SEO plugins can output Organization and local business markup from a settings screen. This is the easiest route, and fine for most single-location sites.
  2. A custom snippet. For multi-location sites or unusual setups, I add the JSON-LD with a small function in a child theme or code snippets plugin, so each location page outputs its own block.
  3. Page-level fields. For larger sites, custom fields for address, phone and hours feed the schema, so editors update one place and the page and markup stay in sync.

Whichever route you pick, check the page source afterward. The most common problem I find in audits is two or three plugins each printing their own Organization or LocalBusiness schema, with different names or phone numbers. Pick one source and turn off the others. My SEO audit report guide explains how I document issues like this for clients.

How to test your LocalBusiness schema

Test every block before and after it goes live:

  • Google’s Rich Results Test shows what Google can read and flags errors in supported types.
  • The Schema Markup Validator checks general schema.org validity, including properties Google doesn’t use.
  • Search Console reports structured data issues across the whole site once Google has crawled the pages.

A clean test doesn’t guarantee any special search feature. It only means the markup is readable. The real value comes from accurate, consistent details across your site, your profile and the rest of the web.

Common LocalBusiness schema mistakes

  • Generic type. Using LocalBusiness when Dentist, Plumber or Attorney exists.
  • Phone without country code. Google asks for country and area code.
  • Self-serving star ratings. Ratings about your own business from your own testimonials.
  • Wrong or stale hours that don’t match the page or profile.
  • Every location pointing at the home page instead of its own URL.
  • Duplicate blocks from a theme, an SEO plugin and a schema plugin at once.
  • Markup for details not shown on the page. Structured data should describe what visitors can see.

It helps AI tools in the same way it helps search engines: it removes guesswork. A clear name, address, phone, hours and service area in a standard format makes it easier for any system to match your website to your business. It won’t make an AI tool recommend you on its own. Accurate content, reviews on trusted platforms and consistent details across the web matter more. I cover the bigger picture in my post on answer engine optimization strategies.

Who doesn’t need LocalBusiness schema

If you have no location and don’t serve a local area, skip it and use Organization schema instead. Bloggers, SaaS companies and online-only shops fall into this group. And if your SEO plugin already outputs correct, single-copy markup with accurate details, you don’t need to add anything by hand. Check it, fix what’s wrong, and move on to work that matters more.

Frequently asked questions

What is LocalBusiness schema?

LocalBusiness schema is schema.org structured data, usually written in JSON-LD, that describes a business with a physical location or local service area: name, address, phone, URL, coordinates and opening hours.

What properties are required for LocalBusiness schema?

Google’s documentation lists name and address as required. It recommends telephone, url, geo, openingHoursSpecification, priceRange and, where relevant, department, menu and servesCuisine.

What is the business profile JSON format structure?

It’s a JSON-LD object with @context set to https://schema.org, an @type such as Plumber or Organization, simple properties like name and telephone, and nested objects such as a PostalAddress and GeoCoordinates, placed inside a script tag of type application/ld+json.

Do I need both Organization and LocalBusiness schema?

Usually yes. Organization describes the company, its logo and social profiles. LocalBusiness describes each location. Link them with @id so search engines know they belong together.

Can I add review stars to my own LocalBusiness schema?

Google recommends review and aggregateRating markup in LocalBusiness only for sites that capture reviews about other local businesses. Marking up ratings for your own business from your own testimonials isn’t what its documentation describes.

Where should I put LocalBusiness schema on my site?

Put it on the page that represents the location, usually the home page for a single location or each location page for several. Google recommends placing Organization markup on the home page or an about page.

Want your schema checked or built properly?

I add and clean up Organization and LocalBusiness schema as part of technical SEO work: one accurate block per entity, the right subtype, correct hours and no plugin duplicates. See my technical SEO service, with audits from $149 and fixes at $15 an hour, or send me your site and I’ll check what your structured data says about you today.