How to use the Local Business Schema Generator
LocalBusiness schema is the strongest on-page signal for local SEO. It tells Google your NAP (name, address, phone), hours, and service area — exactly the data the local pack and Maps results display.
Pick the most specific business type
LocalBusiness has 100+ subtypes — Restaurant, Dentist, Plumber, AutoRepair, etc. Always pick the most specific subtype. Generic LocalBusiness is the fallback.
Fill NAP exactly
name, address (as PostalAddress), telephone. These must match your Google Business Profile and citations everywhere else (Yelp, Yellow Pages, etc.) — even one digit different signals untrusted listing.
Add openingHours and geo coordinates
openingHours uses the day-time format (Mo-Fr 09:00-17:00). geo is latitude and longitude — pull from Google Maps for your exact pin.
Add @id for entity reference
Set @id to a permanent URL (typically your homepage or location page with #section). This lets you reference the same business entity from other schemas (Reviews, Events, Products).
Why LocalBusiness schema is required for local SEO
Google's local algorithm is fed by three signals: Google Business Profile, citations across the web, and on-page schema. LocalBusiness schema is the on-page leg of that tripod — without it, you're competing for local rankings with one hand tied.
Required NAP consistency
Your business name, address, and phone number must match character-for-character across your website schema, Google Business Profile, Bing Places, Apple Maps, Yelp, and every other citation. "Suite 200" vs "Ste 200" vs "#200" counts as three different entities to Google's parser. Inconsistency erodes local trust scores and demotes you from the local pack.
Subtypes that matter
LocalBusiness has 100+ schema.org subtypes. Always pick the most specific one — Google uses the subtype to match queries to listings:
- FoodEstablishment → Restaurant, Bakery, BarOrPub, CafeOrCoffeeShop.
- HealthAndBeautyBusiness → Dentist, MedicalClinic, BeautySalon.
- HomeAndConstructionBusiness → Plumber, Electrician, RoofingContractor.
- AutomotiveBusiness → AutoRepair, GasStation, MotorcycleRepair.
Service area vs storefront
Storefront businesses (where customers visit) use address. Service-area businesses (mobile services like plumbers) use areaServed with city/region polygons. Mixing both is allowed when you have a physical location plus deliver to surrounding areas.
Frequently asked questions
What is LocalBusiness schema?
LocalBusiness schema is JSON-LD structured data that describes a physical or service-area business with its name, address, phone number, hours, geo-coordinates, and other details. Google uses it as a primary signal for Google Maps rankings, the local pack (3-pack on SERPs), and rich result eligibility.
Should I use LocalBusiness or a more specific type?
Always pick the most specific subtype that fits — Restaurant, Dentist, AutoRepair, Plumber, etc. Specificity helps Google match your business to relevant queries. LocalBusiness alone is the fallback only when no subtype fits.
What's the difference between LocalBusiness schema and Google Business Profile?
GBP is a Google product — a profile page with hours, photos, reviews, and posts that displays in Maps and the local pack. LocalBusiness schema is on your own website and reinforces the same data. Both are needed: GBP for the Google-side listing, schema for the on-page signal that ties your site to that listing.
Do I need LocalBusiness on every page?
On every location page if you have multiple locations. On the homepage if you have a single location. Every contact page should also include it. Don't add it to unrelated pages (about us, blog posts) unless they reference the location specifically.
What hours format does openingHours use?
Day-of-week abbreviations followed by 24-hour times. Example: Mo-Fr 09:00-17:00 for weekdays 9 to 5, or Sa 10:00-15:00 for Saturday. Multiple ranges go in an array. 24/7 businesses use Mo-Su 00:00-23:59.