Get a Free Consultation

Local Business Schema Generator

Create valid LocalBusiness JSON-LD for a shop, clinic, restaurant or office. Add your name, address, phone and opening hours, preview the listing, then copy the code into your location page. Free, no sign-up, and nothing leaves your browser.

Updated 12 business types plus any subtype Split shifts, 24-hour and overnight hours

Your business

Jump to your JSON-LD code
1Business type

2Name and contact

The page this code will go on. For a single location, use your homepage.

3Address and map

In Google Maps, right-click your pin to copy the coordinates. Google recommends at least 5 decimal places.

4Opening hours

For split shifts, add two rows for the same day. Days with the same hours are grouped automatically. A closing time earlier than the opening time means you close after midnight.

5Profiles and listings sameAs
More details: rating, payments, service area, brand and subtype

Rating

Only add a rating your visitors can see on this page. Google does not show stars for reviews a business collects about itself on its own site.

Payments and service area

Brand and subtype

For branches of a larger brand. Links this location to your Organization schema by @id.

If filled, this replaces the type chosen in step 1.

What is LocalBusiness schema?

LocalBusiness schema is structured data, based on the schema.org LocalBusiness type, that describes a business customers can visit or call: its name, address, phone number, opening hours, location and price range. You add it as JSON-LD to the page about that location.

Google uses LocalBusiness markup to understand your business details and can show them in Search and Maps, for example your hours or how to contact you. Accurate markup also helps Google match your website to the right Business Profile.

Google requires only two properties, name and address. It recommends adding telephone, url, geo, openingHoursSpecification and priceRange, plus servesCuisine and menu for food businesses.

Dentist schema example

{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "@id": "https://www.example.com/#business",
  "name": "Smile Dental Clinic",
  "url": "https://www.example.com/",
  "telephone": "+91-22-1234-5678",
  "priceRange": "₹₹",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "Shop 4, Sunrise Plaza, 123 Main Road",
    "addressLocality": "Mumbai",
    "addressRegion": "Maharashtra",
    "postalCode": "400001",
    "addressCountry": "IN"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 18.93885,
    "longitude": 72.83542
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday",
                  "Thursday", "Friday"],
    "opens": "10:00",
    "closes": "19:00"
  }]
}

Which LocalBusiness schema properties does Google need?

Two properties are required. The rest are recommended, and each one you add gives Google a more complete picture of your business.

Based on Google’s Local Business structured data documentation. Last checked October 2026.
PropertyWhat to addGoogle status
nameYour business name, exactly as on your Google Business ProfileRequired
addressThe full postal address of the locationRequired
telephoneThe main number, with country code such as +91Recommended
urlThe page about this specific locationRecommended
geoLatitude and longitude, with at least 5 decimal placesRecommended
openingHoursSpecificationOpening and closing times for each dayRecommended
priceRangeA short price indicator such as ₹₹ or ₹500–2,000Recommended
servesCuisine, menuCuisine types and a menu link, for food businessesRecommended
aggregateRatingRatings from a third-party source shown on the pageOnly if shown

Which LocalBusiness type should you choose?

Every subtype shares the same properties. Pick the most specific one that matches your business, and use plain LocalBusiness only when nothing fits.

schema.org typeUse it for
Restaurant, CafeOrCoffeeShop, BarOrPubRestaurants, cafés, bars and pubs. Unlocks cuisine, menu and reservation fields.
MedicalClinic, DentistClinics, doctors’ practices and dental surgeries
Store, GroceryStore, ClothingStoreRetail shops, supermarkets and clothing outlets
HotelHotels, guesthouses and homestays
AutoRepairGarages, service centres and workshops
ProfessionalServiceOffices of consultants, agencies and other service firms
Any other subtypeType it under “More specific type”, for example HairSalon, Pharmacy or Bakery

How do you mark up unusual opening hours?

Most errors in local markup come from opening hours. These are the patterns Google expects for the common special cases. The generator handles each one for you.

Split shifts

Add two entries for the same day, one per shift.

{ "dayOfWeek": "Monday", "opens": "09:00", "closes": "13:00" },
{ "dayOfWeek": "Monday", "opens": "16:00", "closes": "20:00" }

Open 24 hours

Use 00:00 to open and 23:59 to close.

{ "dayOfWeek": "Saturday", "opens": "00:00", "closes": "23:59" }

Open past midnight

Give a closing time earlier than the opening time.

{ "dayOfWeek": "Friday", "opens": "18:00", "closes": "02:00" }

Closed all day

Leave the day out, or set both times to 00:00.

{ "dayOfWeek": "Sunday", "opens": "00:00", "closes": "00:00" }

Why must your name, address and phone match everywhere?

Your name, address and phone number, often called NAP, should be identical in your schema, on the page, on your Google Business Profile and on listings such as Justdial. When they differ, search engines are less sure the listings describe the same place.

Copy the details straight from your Business Profile, including the formatting of the street address. For a business with several branches, give each branch its own page and its own LocalBusiness code, and link them all to your brand with the Parent brand website field.

A branch linked to its brand

{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "@id": "https://www.example.com/pune/#business",
  "name": "Spice Route, Koregaon Park",
  "parentOrganization": {
    "@id": "https://www.example.com/#organization"
  },
  "telephone": "+91-20-5555-1234",
  "servesCuisine": ["North Indian", "Mughlai"],
  "menu": "https://www.example.com/pune/menu/",
  "acceptsReservations": true
}

How do you add LocalBusiness schema to your website?

The generator above writes the code. These four steps take it from the form to a live, tested page.

  1. Choose the type

    Pick the closest match, such as Restaurant, Dentist or Store.

  2. Copy your NAP

    Enter your name, address and phone exactly as on your Business Profile.

  3. Add hours and map

    Set the weekly hours and paste your coordinates and Maps link.

  4. Paste and test

    Add the code to the location page, then run the Rich Results Test.

Put the code only on the page that describes this location, not on every page of your site. SEO plugins sometimes output LocalBusiness markup already, so check your page source and turn off the plugin’s version rather than publishing two.

Where do you paste the code on popular platforms?

Every platform has a place for code in the page head. Limit the code to the location page.

WordPress

Use your SEO plugin’s local settings, or add the script to the location page with a plugin such as WPCode.

Shopify

Paste the script into the page template for your store-locator or contact page, before the closing head tag.

Wix

Open the page’s SEO settings, choose Advanced SEO, then Structured data markup, and paste the JSON.

Google Tag Manager

Create a Custom HTML tag with the script and fire it only on the location page.

Local business schema questions, answered

Short answers on types, hours, ratings and branches.

What is LocalBusiness schema used for?

LocalBusiness schema tells search engines a business’s name, address, phone number, opening hours, location and price range. Google can use it to show these details in Search and Maps, and to match your website to the right business.

What fields are required for LocalBusiness schema?

Google requires name and address. It recommends telephone, url, geo coordinates, opening hours and price range, plus servesCuisine and menu for food businesses.

Which LocalBusiness type should I use?

Use the most specific schema.org subtype that matches your business, such as Restaurant, Dentist or Store. All subtypes share the same properties, so a specific type adds meaning without extra work.

How do I mark up split shifts or 24-hour opening?

For split shifts, add two OpeningHoursSpecification entries for the same day. For 24-hour opening, set opens to 00:00 and closes to 23:59. If you close after midnight, give a closing time earlier than the opening time.

Will aggregateRating show star ratings for my business?

Usually not. Google does not show review stars for a LocalBusiness or Organization when the business collects or publishes the reviews about itself. Only add a rating that visitors can see on the page.

How does LocalBusiness schema relate to Google Business Profile?

They are separate. Your Business Profile controls your Maps listing, while schema describes your business on your own website. Keeping the name, address and phone identical in both helps Google connect them.

How do I add schema for several branches?

Give each branch its own page and its own LocalBusiness code with that branch’s address, phone and hours. Use parentOrganization to link every branch to your main Organization schema.

Where do I put LocalBusiness schema?

Paste it into the head of the page that describes the location, such as your contact or branch page. For a single-location business, the homepage is fine.

Does LocalBusiness schema help with AI Overviews?

Google says AI features need no special markup. Accurate LocalBusiness schema still gives search engines a clear, consistent record of your address, hours and contact details. It does not guarantee being cited.

Is this LocalBusiness schema generator free?

Yes. It is completely free, with no sign-up and no limit. Everything runs in your browser, so your business details are never uploaded to a server.

Want more customers from local search?

Search Savvy’s local SEO team optimises Business Profiles, cleans up listings and adds accurate schema to every location page.

See local SEO services