What is LocalBusiness schema, and when should you use it?
What LocalBusiness schema means
LocalBusiness schema comes from the schema.org vocabulary. Schema.org defines LocalBusiness as a particular physical business or branch of an organisation. Examples include a restaurant, a bank branch, a medical practice or a bowling alley. It inherits from both Organization and Place, so it can describe the business and where it is.
There are many more specific subtypes, including `Dentist`, `Store`, `FoodEstablishment`, `LodgingBusiness`, `MedicalBusiness` and `FinancialService`, with further subtypes beneath many of them.
What Google uses it for
Google's LocalBusiness structured data guide says the markup can tell Google about business hours, departments and other details, which can support the knowledge panel shown when someone searches for the business. As with all structured data, Google does not guarantee any rich result will appear.
Google lists these properties:
- Required: `name` and `address`, with as many address fields as possible.
- Recommended: `geo` with at least five decimal places, `openingHoursSpecification`, `telephone` including country code, `url`, `priceRange` under 100 characters, plus `menu` and `servesCuisine` for food businesses and `department` for nested departments.
Google also says to use the most specific subtype that fits, and to list several types as an array if more than one applies. It notes that `additionalType` is not supported.
A sample to adapt
```json { "@context": "https://schema.org", "@type": "Dentist", "name": "Example Dental Practice", "url": "https://www.example.co.uk/", "telephone": "+44 1234 567890", "address": { "@type": "PostalAddress", "streetAddress": "1 High Street", "addressLocality": "Chesterfield", "postalCode": "S40 1AA", "addressCountry": "GB" }, "geo": { "@type": "GeoCoordinates", "latitude": 53.23456, "longitude": -1.42345 }, "openingHoursSpecification": [ { "@type": "OpeningHoursSpecification", "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"], "opens": "09:00:00", "closes": "17:30:00" } ] } ```
Place this inside a `script` element with the type `application/ld+json`, and make sure every value matches what visitors see on the page and on your Business Profile.
When to use it, and when not to
Use LocalBusiness when:
- The business has premises customers visit, or serves customers in a defined local area.
- The page represents that location, usually the home page for a single site business, or one page per branch.
- You can keep hours, phone numbers and addresses accurate.
Avoid it for online-only businesses, where Organization is a better fit, and do not add the same location markup to every page of the site. Test your markup with the Rich Results Test before and after publishing.
Common mistakes
- Using the generic `LocalBusiness` type when a more specific subtype such as `Dentist` or `Restaurant` fits.
- Giving coordinates with too few decimal places, which Google says should be at least five.
- Opening hours in the markup that differ from those shown on the page or on the Business Profile.
- Phone numbers without the country code.
- Adding self-written review ratings, which Google reserves for sites reviewing other businesses.
- Copying the same location markup across every page, including blog posts and policies.
Generate the markup
The Schema Generator from AI Web Page SEO reads a live page, detects the schema types and writes JSON-LD from the real content. You can also choose a type yourself, including local business types such as Dentist, fill in missing fields such as opening hours, then check and adjust so every value matches your real details.
Sources
Frequently asked questions
Should an online-only business use LocalBusiness schema?
Usually not. Schema.org defines LocalBusiness as a physical business or branch, and Google's documentation is built around address, location and opening hours. A business without premises or a local service area is better described with Organization markup. Google's guidance on LocalBusiness markup centres on real locations that customers can find.
Can I add review stars to my own LocalBusiness markup?
Google's documentation says the aggregateRating and review properties are recommended only for sites that capture reviews about other local businesses. That means ratings about your own business do not belong in your own LocalBusiness markup. Show genuine customer reviews on the page if you wish, but keep them out of this markup.