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" }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.
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.
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.
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.
{
"@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"
}]
}Two properties are required. The rest are recommended, and each one you add gives Google a more complete picture of your business.
| Property | What to add | Google status |
|---|---|---|
name | Your business name, exactly as on your Google Business Profile | Required |
address | The full postal address of the location | Required |
telephone | The main number, with country code such as +91 | Recommended |
url | The page about this specific location | Recommended |
geo | Latitude and longitude, with at least 5 decimal places | Recommended |
openingHoursSpecification | Opening and closing times for each day | Recommended |
priceRange | A short price indicator such as ₹₹ or ₹500–2,000 | Recommended |
servesCuisine, menu | Cuisine types and a menu link, for food businesses | Recommended |
aggregateRating | Ratings from a third-party source shown on the page | Only if shown |
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 type | Use it for |
|---|---|
Restaurant, CafeOrCoffeeShop, BarOrPub | Restaurants, cafés, bars and pubs. Unlocks cuisine, menu and reservation fields. |
MedicalClinic, Dentist | Clinics, doctors’ practices and dental surgeries |
Store, GroceryStore, ClothingStore | Retail shops, supermarkets and clothing outlets |
Hotel | Hotels, guesthouses and homestays |
AutoRepair | Garages, service centres and workshops |
ProfessionalService | Offices of consultants, agencies and other service firms |
| Any other subtype | Type it under “More specific type”, for example HairSalon, Pharmacy or Bakery |
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.
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" }Use 00:00 to open and 23:59 to close.
{ "dayOfWeek": "Saturday", "opens": "00:00", "closes": "23:59" }Give a closing time earlier than the opening time.
{ "dayOfWeek": "Friday", "opens": "18:00", "closes": "02:00" }Leave the day out, or set both times to 00:00.
{ "dayOfWeek": "Sunday", "opens": "00:00", "closes": "00:00" }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.
{
"@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
}The generator above writes the code. These four steps take it from the form to a live, tested page.
Pick the closest match, such as Restaurant, Dentist or Store.
Enter your name, address and phone exactly as on your Business Profile.
Set the weekly hours and paste your coordinates and Maps link.
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.
Every platform has a place for code in the page head. Limit the code to the location page.
Use your SEO plugin’s local settings, or add the script to the location page with a plugin such as WPCode.
Paste the script into the page template for your store-locator or contact page, before the closing head tag.
Open the page’s SEO settings, choose Advanced SEO, then Structured data markup, and paste the JSON.
Create a Custom HTML tag with the script and fire it only on the location page.
Short answers on types, hours, ratings and branches.
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.
Google requires name and address. It recommends telephone, url, geo coordinates, opening hours and price range, plus servesCuisine and menu for food businesses.
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.
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.
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.
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.
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.
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.
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.
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.
Local pages work best with brand, service and breadcrumb markup alongside them.
Search Savvy’s local SEO team optimises Business Profiles, cleans up listings and adds accurate schema to every location page.