Local Business Schema Explained - Address, Hours and Business Type

How LocalBusiness structured data describes a physical business, how to pick the right type, write opening hours correctly and keep details consistent.

Updated September 29, 2026 5 min read

Use the free Local Business Schema GeneratorCreate LocalBusiness JSON-LD with address, hours and geo data

A café, a dental practice, a plumber or a hotel all share one need online: people must be able to find the address, the phone number and whether the place is open right now. Search engines gather that information from many sources, and your own website is one of the most authoritative.

LocalBusiness structured data is a way to state those facts on your site in a format machines read reliably. This guide explains what it covers, how it relates to listings such as Google Business Profile, how to write tricky details like opening hours, and how to generate the markup for your business.

What LocalBusiness markup describes

LocalBusiness is a schema.org type for an organisation with a physical location that customers visit or that serves a local area. It carries the practical details:

  • name, url, telephone and image
  • address as a PostalAddress: street, city, region, postal code and country
  • geo coordinates: latitude and longitude
  • openingHoursSpecification: which days, from what time, until what time
  • priceRange: a rough indication such as $$ or 10-30 EUR
  • sameAs: links to your profiles on social networks and directory sites

It is placed on the page that represents the location, usually the home page for a single-location business, or each branch page for a chain.

How it relates to your business profile

For appearing in map results and the local pack, the business profile you manage on the search engine (Google Business Profile, Bing Places and so on) is the main source. Structured data does not replace it.

What markup does is confirm the same details from your own site. When the name, address and phone number on your website, in your markup and in your profiles all agree, search engines have fewer conflicting signals to resolve. Inconsistent details, such as an old phone number on the site, are a common cause of confusion.

Choosing the business type

schema.org has many subtypes of LocalBusiness. Using the most specific one that fits gives more context. A few examples:

Kind of business Suitable type
Coffee shop CafeOrCoffeeShop
Restaurant Restaurant
Dentist Dentist
Gym ExerciseGym
Plumber Plumber
Accountant AccountingService
Estate agent RealEstateAgent
Hotel Hotel

If nothing fits, LocalBusiness itself is always valid. Do not pick a type just because it sounds more impressive.

Writing opening hours correctly

Opening hours are where most local markup goes wrong. A OpeningHoursSpecification has three parts: the days it applies to, the opening time and the closing time, in 24-hour HH:MM format.

"openingHoursSpecification": [
  { "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
    "opens": "07:30", "closes": "18:00" },
  { "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Saturday","Sunday"],
    "opens": "09:00", "closes": "16:00" }
]

Some special cases:

  • Open past midnight. A closing time earlier than the opening time is ambiguous. Google's documentation suggests closing at 23:59 or splitting the hours across two days.
  • Open 24 hours. Google documents using opens 00:00 and closes 23:59.
  • Closed all day. Leave the day out, or use 00:00 for both opening and closing, as described in Google's guidance.
  • Holiday hours. Temporary changes are better handled in your business profile, where they can be set for specific dates.

Generate the markup with our tool

The Local Business Schema Generator builds the JSON-LD and checks it as you go.

  1. Open the Local Business Schema Generator and choose the Business type from the list of 28 types.
  2. Fill in Business name, Website URL, Image / logo URL, Telephone and Price range.
  3. Under Address, enter Street address, City, State / region, Postal code and the two-letter Country code (for example GB, US or IN).
  4. Add Latitude and Longitude. You can copy them from a map service by right-clicking the building.
  5. In Opening hours, click the day buttons to select the days for each row, then set opening and closing times. Use Add opening hours for different schedules, such as weekends.
  6. For food businesses, a Menu URL field appears. Add it if you have a menu page.
  7. List your social and directory profiles under Social profiles / listings (sameAs, one URL per line).
  8. Review the Checks. They flag missing name or address, coordinates out of range, a country that is not a two-letter code, non-URL sameAs entries and closing times before opening times.
  9. Copy or download the script and add it to the location page.

Other ways to do it

Website builders and local SEO plugins. Many offer a "business details" screen that outputs LocalBusiness markup site-wide. That is convenient, but check which type it uses; some default to a generic type for everyone.

Multi-location templates. A chain with dozens of branches should generate markup for each branch page from its location database. Put the parent brand in site-wide Organization markup and the branch details on each branch page.

Directory listings only. Some small businesses rely entirely on their profiles and directories. That can work, but your own site is the one source you fully control, so it is worth making it clear and consistent.

Common pitfalls

Mismatched phone numbers

Use the same number on the page, in the markup and in your profiles. Write it in international format, such as +44 20 7946 0000.

Service-area businesses

If you visit customers rather than receive them, you may not want a street address shown publicly. Follow the policies of the business profile service you use, and do not mark up an address that customers cannot visit.

Self-review stars

Google does not show review stars for markup where a business reviews itself. Adding an aggregate rating to your own LocalBusiness block will not create stars.

Forgetting the page itself

Markup must describe the page it is on. Pair it with a clear address, map and opening hours in the visible content. You can check the rest of the page's tags with the Meta Tag Analyzer.

Frequently asked questions

Does LocalBusiness schema improve local rankings?

Search engines have not said it is a ranking factor. Its role is to help them understand and confirm your business details. Your business profile and reviews matter more for map results.

Which page should carry the markup?

The page that represents the location: the home page for a single-location business, or each branch page for a business with several locations.

Do I need geo coordinates if I have an address?

They are recommended rather than required. Coordinates remove any doubt about where the building is, which helps with new streets or rural addresses.

Can I list several locations in one block?

It is better to give each location its own page and its own markup. One block per location keeps the details clear.

What format should the phone number use?

International format starting with a plus sign and country code, which works for visitors from any country.

Try it now: Local Business Schema Generator

Loading tool…