A Local Business Schema Generator that produces complete, valid
schema.org/LocalBusiness JSON-LD structured data — the format Google,
Bing, and other search engines use to power knowledge panels, map-pack
entries, and rich snippets. Fill in your details, click Copy, and paste one
snippet into your website’s <head>.
Why structured data matters for local businesses
Search engines are getting better at reading plain text, but they still work
best with explicit signals. When your page contains a correctly structured
LocalBusiness block, Google can reliably extract your opening hours, phone
number, address, and star rating and surface them directly in search results —
without the user having to click through. Studies consistently show that rich
results earn 20–30% higher click-through rates than plain blue links.
Local structured data is also a prerequisite for several Google features: business hours in the knowledge panel, aggregate star ratings under the map listing, and the “Open now” indicator in mobile search. None of those appear reliably from unstructured HTML alone.
How the generator works
The tool builds a JSON-LD object in real time as you type. Every field maps
directly to an official schema.org property:
| Your input | Schema.org property |
|---|---|
| Business name | name |
| Website URL | url |
| Address fields | address (PostalAddress node) |
| Lat / long | geo (GeoCoordinates node) |
| Opening hours | openingHoursSpecification (one node per time-slot) |
| Average rating + count | aggregateRating (AggregateRating node) |
| Payment methods | paymentAccepted + acceptedPaymentMethod |
| Social profiles | sameAs array |
| Cities served | areaServed (City nodes) |
| Cuisine | servesCuisine |
| Amenities | amenityFeature (LocationFeatureSpecification nodes) |
Opening hours are handled by a day-by-day builder — toggle each day on
or off, set open and close times, and the generator automatically groups
days with identical hours into a single OpeningHoursSpecification node to
keep the output compact.
Worked example
A café in Bristol with weekday hours (08:00–17:00), a Saturday morning session (09:00–13:00), a 4.8-star rating from 312 reviews, and card payments accepted would produce (abbreviated):
{
"@context": "https://schema.org",
"@type": "CafeOrCoffeeShop",
"name": "The Corner Café",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Clifton Road",
"addressLocality": "Bristol",
"postalCode": "BS8 1AB",
"addressCountry": "GB"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["https://schema.org/Monday", "...Friday"],
"opens": "08:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Saturday",
"opens": "09:00",
"closes": "13:00"
}
],
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 4.8,
"reviewCount": 312,
"bestRating": 5,
"worstRating": 1
}
}
Schema.org type reference
The generator includes 80+ specific types. Common choices:
- Restaurants and cafés:
Restaurant,CafeOrCoffeeShop,FastFoodRestaurant,SushiRestaurant,Bakery,BarOrPub - Health and beauty:
Dentist,Physician,Pharmacy,HairSalon,BeautySalon,NailSalon,Optician,VeterinaryCare - Home services:
Plumber,HVACBusiness,RoofingContractor,HousePainter,LockSmith,MovingCompany - Retail:
GroceryStore,Electronics Store,BookStore,ShoeStore,PetStore,JewelryStore - Professional services:
LegalService,AccountingService,RealEstateAgent,InsuranceAgency,FinancialService - Accommodation:
Hotel,Motel,Hostel,Campground - Fitness and sport:
GymOrHealthClub,SportsActivityLocation
Always pick the most specific type — Google unlocks additional rich-result
features for specific types that it does not show for the generic LocalBusiness.