Local Business Schema: 3 Easy, Tested JSON-LD Examples

What Google requires, three JSON-LD examples you can copy for one location, a service-area business and several branches, and how to test your own code.

By SEO Expert Marketing Team · Updated November 1, 2026 · 7 min read

Local Business Schema: 3 Easy, Tested JSON-LD Examples: Structured data for small businesses

Local business schema is code that states your business facts (name, address, phone number and opening hours) in a format search engines read reliably. Google calls it LocalBusiness structured data. It doesn't replace your Google Business Profile or good pages, and it won't lift rankings by itself, but it takes the guesswork out of who you are and where you work. Below are three examples you can copy, each checked with the Schema.org Validator, and the rules Google publishes for this markup.

What Google requires and recommends

Google's guide to LocalBusiness structured data (last updated 8 September 2026) requires only two properties: name and address. Everything else is recommended. These are the ones that matter for most small businesses:

PropertyWhat Google says, and what to put
nameRequired. Your real business name, as on your sign and your Business Profile.
addressRequired. A postal address with as many parts as you can give.
telephoneRecommended. Your main number, with the country code and area code.
urlRecommended. The full, working address of this location's page.
geoRecommended. Latitude and longitude, at least 5 decimal places.
openingHoursSpecificationRecommended. Opening and closing times for each group of days.
priceRangeRecommended. Under 100 characters, such as "$$" or "$10-15"; Google won't show a longer one.
review, aggregateRatingOnly for sites that review other businesses. Leave them out for reviews of your own business.

Two more rules apply to every example below: mark up only facts that visitors can also see on the page, and keep them identical to your Business Profile.

Key schema properties (diagram): Type, Name, Address, Telephone, And more

Example 1: a business customers visit

Here is local business schema for an illustrative dental practice with one address. Replace every value with your own details and delete any line you don't need:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "name": "Example Dental Studio",
  "url": "https://www.example.com/",
  "telephone": "+1-217-555-0142",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "120 Example Avenue, Suite 4",
    "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": "17:30"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Saturday",
      "opens": "09:00",
      "closes": "13:00"
    }
  ]
}
</script>

Use the most specific type that fits. Dentist, Plumber, Restaurant and LegalService are all kinds of LocalBusiness on Schema.org, and the type tells search engines what you do before they read anything else. Opening hours use short day names, which Google supports, and 24-hour times.

Example 2: a service-area business

If you visit customers and hide your street address on your Business Profile, don't publish it in your code either. Google still requires an address, so give the parts you show publicly: town, region, postal code and country.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Plumber",
  "name": "Example Plumbing Co",
  "url": "https://www.example.com/",
  "telephone": "+1-217-555-0187",
  "address": {
    "@type": "PostalAddress",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62704",
    "addressCountry": "US"
  },
  "areaServed": [
    { "@type": "City", "name": "Springfield, IL" },
    { "@type": "City", "name": "Chatham, IL" },
    { "@type": "City", "name": "Rochester, IL" }
  ],
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
    "opens": "07:00",
    "closes": "19:00"
  }
}
</script>

The areaServed lines list the places you cover. It's a Schema.org property that Google's LocalBusiness guide doesn't mention, so treat it as a clear description for any tool reading your code, not as a ranking lever. Our guide to service area business SEO covers the rest of the setup.

Example 3: one page per branch

With several locations, give each branch its own page and its own markup: that branch's name, address, phone number and hours. Google describes the url property as the address of the specific business location, which works best when every branch has a page. The parentOrganization property links the branch to your company, and @id gives each item a stable name that other markup can point to.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "@id": "https://www.example.com/locations/chatham/#dentist",
  "name": "Example Dental Studio Chatham",
  "url": "https://www.example.com/locations/chatham/",
  "telephone": "+1-217-555-0163",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "45 Sample Road",
    "addressLocality": "Chatham",
    "addressRegion": "IL",
    "postalCode": "62629",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 39.67615,
    "longitude": -89.70432
  },
  "parentOrganization": {
    "@type": "Organization",
    "@id": "https://www.example.com/#organization",
    "name": "Example Dental Studio",
    "url": "https://www.example.com/"
  }
}
</script>

Avoid one block on your home page that lists every address. Each branch page should describe only that branch, with details that match its own Business Profile.

How to add local business schema to your site

Local business schema diagram: choose the type, collect details, add the code and test it

1. Check what's already there

Many WordPress SEO plugins and themes already output business markup. Two sources that describe the same business with different details send mixed signals. View your page source and search for application/ld+json, or run our free SEO audit, which reports the business details it finds in your home page's structured data.

2. Add it in one place

On WordPress, Rank Math has a Local SEO module and Yoast sells a Local SEO add-on; both write the code from a settings form. You can also paste your own JSON-LD into the page. On Shopify, add it to your theme or use an app. Our guide to local SEO for WordPress covers the WordPress side.

3. Copy your details exactly

Use the same name, address and phone number as your Google Business Profile and your website footer, down to the suite number. Consistency across your listings matters more than the code itself, as our guide to local SEO citations explains.

4. Test it, then keep it current

Test the code before and after publishing (see below). When your hours, phone number or address change, update the markup on the same day as your Business Profile. Out-of-date markup is worse than none.

How to test your code

  • Before publishing: paste the code into the Schema.org Validator. It catches broken JSON and misspelled properties. We checked the three examples above there on 31 October 2026: no errors and no warnings.
  • After publishing: run the live page through Google's Rich Results Test to check for errors and see which result types Google detects.
  • A few days later: use URL Inspection in Search Console to confirm Google sees the code on the page it indexed.

Does local business schema help rankings?

Not by itself. Structured data helps Google understand a page and can make it eligible for richer results, but Google doesn't promise either. Your Business Profile, reviews, content and links have a much bigger effect on local visibility. Our local SEO checklist shows where schema fits among them.

Common mistakes to avoid

  • Marking up details that aren't visible on the page.
  • A different name or phone number from your Business Profile.
  • Review stars for reviews of your own business on your own site.
  • Two plugins writing different markup for the same business.
  • Coordinates with fewer than 5 decimal places, or a phone number without the country code.
  • Hours left unchanged after a change.
Schema mistakes to avoid (diagram): Hidden info, Mismatch, Own reviews, Two plugins, Old hours

Need a hand?

Checking and fixing local business schema is part of our technical SEO services. To see what your home page tells search engines today, run the free SEO audit, or ask us for a free website review.

Local business schema: quick answers

Is local business schema required?

No. Google ranks pages without it, and a complete Google Business Profile matters more for local results. Local business schema helps Google read your name, address, phone number and hours reliably, and it can make your pages eligible for richer results.

Where should I put local business schema?

On the page that describes the business: usually your home page if you have one location, or each branch page if you have several. Google recommends the JSON-LD format, placed in a script tag anywhere in the page.

How do I test my schema?

Paste the code into the Schema.org Validator before publishing to catch syntax errors. After publishing, run the live page through Google's Rich Results Test, then check it with URL Inspection in Search Console once Google has crawled it again.

Will schema improve my rankings?

Not on its own. It makes your facts clear and consistent for search engines. Your Business Profile, reviews, useful content and links from other websites have a much bigger effect on local visibility.

Can I add review stars for my own business?

Google recommends review and rating markup on LocalBusiness only for sites that collect reviews about other businesses. Reviews of your own business on your own site won't earn stars in Google, so leave those properties out.

What is the difference between Organization and LocalBusiness schema?

LocalBusiness is a more specific kind of Organization on Schema.org, meant for a business with a physical location or a service area. A local shop, clinic or trade business should use LocalBusiness or one of its subtypes, such as Dentist or Plumber.

How we write our guides

This guide is by the SEO Expert Marketing team. We research and draft our guides with the help of AI tools. Facts come from named sources, mostly Google's own help pages and official government sites, and we never publish made-up statistics, reviews or client results. If you spot a mistake, tell us through our contact form and we will correct it.

Want a second pair of eyes on your website?

Send us your website address through our short form and we will reply with the main issues we see and a sensible first step. It's free, with no obligation.