Free LocalBusiness Schema Generator - Instant NAP, Hours & Rating JSON-LD
A free schema markup generator and JSON-LD builder for LocalBusiness, Restaurant, Store, Clinic and more - with address, opening hours and aggregate rating support.
Fill in your business name, address, hours and social listings - copy the generated JSON-LD and paste it into your page's <head>. Whether you run a clinic, a cafe, a store, or a professional service, this local business schema generator builds clean, standards-compliant markup on the exact schema.org/LocalBusiness spec, instantly, for free.
Based on schema.org/LocalBusiness · Validated JSON-LD Output
Fill Your Business Details
⚠️ Please fix the following errors:
Aggregate Rating (optional)
Advanced Options
What Is LocalBusiness Schema (schema.org/LocalBusiness)?
LocalBusiness schema is JSON-LD structured data, based on the LocalBusiness
type on schema.org/LocalBusiness,
that describes a physical or location-based business: its name, address, phone number (NAP), opening
hours, price range, and rating. It's added to a page's <head> as a
<script type="application/ld+json"> block.
In short: a "local business schema generator" is a tool that turns your business's details (name, address, hours, ratings, listings) into a ready-to-use JSON-LD block matching the schema.org LocalBusiness spec - covering restaurants, clinics, stores, salons, hotels and more. This page generates that code instantly, for free, in your browser.
LocalBusiness schema helps Google's local and Maps-related features, Knowledge Panels, and AI-based answer engines such as AI Overviews confirm your business's name, address, hours and reputation consistently across the web - which matters most when it matches your Google Business Profile exactly.
LocalBusiness schema example
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "ABC Dental Clinic",
"url": "https://example.com",
"telephone": "+91-22-1234-5678",
"priceRange": "\u20b9\u20b9",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main Road, 2nd Floor",
"addressLocality": "Mumbai",
"addressRegion": "Maharashtra",
"postalCode": "400001",
"addressCountry": "IN"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Monday",
"opens": "10:00",
"closes": "19:00"
}
]
}LocalBusiness, Restaurant, Store, Clinic - Which @type Should You Use?
All LocalBusiness subtypes share the same base properties. Pick the most specific one that matches your business.
| Type | Best for |
|---|---|
LocalBusiness | The generic, catch-all type for any physical or location-based business |
Restaurant | Restaurants, eateries, dining establishments |
CafeOrCoffeeShop | Cafes, coffee shops, tea houses |
BarOrPub | Bars, pubs, breweries |
MedicalClinic / Dentist | Clinics, dental practices, healthcare providers |
Store / GroceryStore / ClothingStore | Retail shops, grocery stores, clothing outlets |
Hotel | Hotels, guesthouses, accommodation |
AutomotiveBusiness | Garages, car dealers, auto repair shops |
ProfessionalService | Salons, consultancies, and other service-based businesses |
Getting Your Address (NAP) & Location Right
The address property nests a PostalAddress object, and geo
nests GeoCoordinates (latitude and longitude) for precise mapping. Both matter for local
SEO: your Name, Address, and Phone number (NAP) in schema should match your Google Business Profile and
every other citation exactly - inconsistent NAP is one of the most common local SEO problems.
Add a hasMap URL (your Google Maps link) so users and crawlers can jump straight to directions, and set areaServed in Advanced Options if you deliver or serve a defined radius rather than walk-ins only.
Address & geo example
{
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main Road, 2nd Floor",
"addressLocality": "Mumbai",
"addressRegion": "Maharashtra",
"postalCode": "400001",
"addressCountry": "IN"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "18.9388",
"longitude": "72.8354"
},
"hasMap": "https://goo.gl/maps/your-location"
}Hours & Ratings Inside LocalBusiness Schema
Two small properties with an outsized effect on how trustworthy a listing looks.
Opening hours
Each row becomes an OpeningHoursSpecification object with a day, open time, and close time. Add multiple rows for the same day to cover split shifts (e.g. a lunch break), and keep this in sync with your Google Business Profile hours.
Aggregate rating
Nests an AggregateRating with a value and review count. Only add this if the rating is genuinely displayed on your page - Google's guidelines require review-related structured data to reflect visible, real ratings, not invented ones.
How to Build & Implement LocalBusiness Schema Markup
This JSON-LD builder does the heavy lifting - here's the full technical SEO workflow, start to finish.
Pick the closest LocalBusiness subtype
Choose Restaurant, Store, MedicalClinic, or another subtype that matches what you run.
Add name, URL, phone & address
Fill in the required fields above, then your full NAP details and map link.
Add hours, rating & listings
Set opening hours, an aggregate rating (if genuinely displayed), and links to your GMB, Zomato, Instagram, etc.
Copy & paste into your <head>
Hit Copy (or Download), paste the script into your location page's <head>, then validate with Google's Rich Results Test.
Implementation note: place one <script type="application/ld+json"> block
per location page, inside <head> (or just before </body> if your CMS
doesn't expose the head). If you run multiple branches, generate a separate schema block for each location
page rather than listing every branch inside one script.
A Free, Instant Schema Generator Built for Real Local Businesses
No sign-up, no watermark, no code editor required - just clean, valid LocalBusiness JSON-LD you can trust.
100% Free, No Sign-Up
Generate unlimited local business schema - no account, no email, no usage cap.
Instant Schema, Live Preview
Your JSON-LD updates as you type - no waiting, no separate "generate" step. A true instant schema and JSON-LD builder.
Clean, Valid JSON-LD
Output follows the schema.org LocalBusiness spec exactly, so it passes Google's Rich Results Test and the Schema Markup Validator.
12 Business Types in One Tool
Restaurant, Cafe, Bar, Clinic, Dentist, Store, Hotel, Automotive, ProfessionalService & more.
Full Opening Hours Support
Add as many hours rows as you need, including split shifts, with correct schema.org day URLs.
Nothing Leaves Your Browser
Everything runs client-side. Your business details are never uploaded or stored on a server.
Frequently Asked Questions About LocalBusiness Schema
What is LocalBusiness schema (schema.org/LocalBusiness) used for?
LocalBusiness schema tells search engines and AI systems your business's name, address, phone number, hours, price range and rating - helping it appear accurately in local search features, Knowledge Panels, and AI Overviews.
Which LocalBusiness subtype should I use - Restaurant, Store, or MedicalClinic?
All subtypes share the same core properties. Use the most specific one that matches your business - Restaurant for dining, MedicalClinic or Dentist for healthcare, Store or GroceryStore for retail - and fall back to the generic LocalBusiness type if nothing fits precisely.
Is this local business schema generator really free?
Yes. It's completely free to use, with no sign-up, no watermark, and no limit on how many LocalBusiness schemas you generate.
What fields are required for valid LocalBusiness schema?
At minimum: a business name and a website URL. Address, phone number, and opening hours are strongly recommended for local SEO, and this generator flags missing required fields before you copy or download.
How do opening hours work in LocalBusiness schema?
Each opening hours entry becomes an OpeningHoursSpecification object with a day, open time, and close time. For split shifts, add multiple rows for the same day - for example, one row for a morning shift and another for an evening shift.
Does adding aggregateRating create star ratings automatically?
No. Adding aggregateRating only tells search engines the rating value and count - whether it displays as a rich result depends on Google's current guidelines and page quality. It should also only be used if that same rating is genuinely visible on your page.
How does LocalBusiness schema relate to my Google Business Profile?
They're separate systems, but consistency matters: your schema's name, address, and phone number (NAP) should match your Google Business Profile and other citations exactly. Mismatched details across sources can hurt local search trust and rankings.
How do I implement LocalBusiness schema markup technically?
Copy the generated code and paste it inside a single script tag of type application/ld+json in your location page's head. For multi-branch businesses, generate and publish a separate schema block on each location's own page.
Does Google's AI Overview use LocalBusiness schema?
AI Overviews and similar AI-based answer engines rely on the same crawlable, structured signals as traditional search, including clearly marked-up business names, addresses, hours, and ratings. Valid LocalBusiness schema makes those facts easier to extract accurately alongside clear on-page content, though it doesn't guarantee inclusion.
Explore More Free Schema & SEO Tools
Schema Markup Generator Hub
16 JSON-LD generators in one place - Organization, Article, Product, Review, Event, and more.
Service Schema Generator
Price, provider & offer markup for Service, ProfessionalService & LocalBusiness.
Event Schema Generator
Venue, organizer, performer & ticket markup for concerts, webinars & more.
Article Schema Generator
Headline, author, publisher & speakable markup for Article, BlogPosting & NewsArticle.
FAQ Schema Generator
Turn your Q&A content into valid FAQPage JSON-LD in seconds.
Breadcrumb Schema Generator
Turn your breadcrumb trail into valid BreadcrumbList JSON-LD in seconds.