Local Business Schema Generator

Describe your shop, restaurant or service business and get LocalBusiness JSON-LD with address, hours and map coordinates.

Your details

Then test the page with Google's Rich Results Test.

What is LocalBusiness schema?

LocalBusiness markup describes a business that customers can visit or that serves a local area: its name, address, phone number, opening hours and location on a map. Google can use these details for business information in Search and Maps, alongside your Google Business Profile.

Choose the most specific business type

schema.org has dozens of LocalBusiness subtypes, such as Restaurant, Dentist, Plumber or HairSalon. Pick the most specific one that fits; if nothing matches, keep LocalBusiness.

Required and recommended properties

PropertyStatusNotes
nameRequiredThe business name as customers know it.
addressRequiredA PostalAddress with street, city, postal code and country.
telephoneRecommendedInclude the country and area code.
geoRecommendedLatitude and longitude with at least five decimal places.
openingHoursSpecificationRecommendedOne entry per set of days with the same hours.
url, image, priceRangeRecommendedYour site, photos of the business and a price range such as $$.

Opening hours tips

  • Open past midnight: use one entry, for example opens 18:00 and closes 02:00.
  • Open 24 hours: opens 00:00, closes 23:59.
  • Closed all day: opens and closes 00:00, or simply leave that day out.

Several locations?

Give each location its own page with its own LocalBusiness markup, address and phone number, rather than listing every branch on one page.

Frequently asked questions

Do I still need a Google Business Profile?

Yes. Your Business Profile is the main source for your listing in Google Maps and the local pack. LocalBusiness markup on your website supports it by stating the same details on your own site.

How do I find my latitude and longitude?

Open Google Maps, right-click your exact location and click the coordinates at the top of the menu to copy them.

Should I add reviews to LocalBusiness markup?

Google does not show review stars for reviews a business publishes about itself on its own site, so adding your own aggregate rating usually won't produce stars.

Which page should the markup go on?

Usually your home page or contact page, or each location page if you have several branches.