Free tool · No signup required

Local Business Schema
Generator

Generate valid LocalBusiness JSON-LD structured data. Help your business appear in Google Maps, local knowledge panels, and local search results with rich information.

Google-approved format
Instant output
🔒
No data stored
Unlimited use
Business details Step 1 of 2
Basic information
Contact & location
Use 2-letter ISO country code (US, GB, IN, AU…)
Geo coordinates (optional: improves local ranking signals)
Aggregate rating (optional: shows stars in search)
Additional details (optional)
Opening hours (optional check days that are open)
Day
Opens
Closes
Closed
Paste output into your <head> tag
JSON-LD Output · Ready to paste

  

How to use

01

Enter business details

Fill in your business name, address, contact info, and opening hours above.

02

Generate the code

Click "Generate Schema" to produce valid JSON-LD markup instantly.

03

Paste in <head>

Copy and paste the output inside the <head> tag of your homepage or contact page.

04

Validate & publish

Test with Google's Rich Results Test, then publish and submit to Search Console.

What is Local Business Schema Markup?

A local business schema is JSON-LD structured data that tells Google exactly who your business is, your name, address, phone number, opening hours, and more. Google uses this information to populate local search panels, Google Maps entries, and the knowledge graph card that appears when someone searches for your business by name.

Unlike most schema types that require Google to discover information on their own, local business schema is a direct signal. You're telling Google your business type, location, and contact details in a machine-readable format, which speeds up indexing and improves accuracy in local results.

What does Local Business schema affect?

When properly implemented, Local Business schema can influence your appearance in the Google Knowledge Panel (the box on the right side of search results), Google Maps listings, local 3-pack results, and voice search responses for "near me" queries.

AggregateRating: Should you include it?

If your business has reviews, adding an AggregateRating to your Local Business schema can display star ratings in search results. This is one of the most visible signals in local search. A 4.7★ rating next to your business name significantly increases trust and click-through rates.

Who benefits most? Any brick-and-mortar business with a physical location: restaurants, salons, dentists, contractors, retailers. If Google Maps or local search drives customers to your business, this schema is essential.

How to Validate Local Business Schema Markup

After generating your schema, always validate before publishing. Follow these 4 steps:

1
Generate your schema
Fill in your business details above, click Generate Schema, and copy the output.
2
Open Schema Markup Validator
Go to Schema Markup Validator and click the "Validate" tab.
3
Paste & run the test
Paste your JSON-LD and run the test. Google shows whether it's valid and eligible for rich results.
4
Fix errors & publish
Fix any errors, re-test, then paste the code into your page's <head> tag and publish.

Common Local Business Schema Mistakes to Avoid

These are the most frequent reasons Local Business schema fails to improve your local search presence:

❌ NAP inconsistency
Your Name, Address, and Phone (NAP) in the schema must match exactly what's on Google Business Profile and other directories. Even small differences confuse Google's local algorithm.
❌ Wrong business type
Using a generic "LocalBusiness" type when a specific one like "Restaurant" or "Dentist" exists misses an opportunity. Google's local features are richer for specific types.
❌ Adding fake reviews
Inflating your AggregateRating with fabricated counts or scores violates Google's guidelines and can result in manual penalties. Only use real, verifiable review data.
❌ Stale opening hours
Incorrect hours in your schema, especially during holidays, lead to frustrated customers and hurt your credibility. Keep hours updated whenever they change.
❌ Schema on every page
A local business schema should only appear on your homepage or main contact page, not every page of your site. Duplicating it across hundreds of pages can cause confusion.
❌ Missing Google Business Profile
Schema alone won't get you into the local 3-pack. You still need a verified Google Business Profile. Schema complements GBP — it doesn't replace it.

Frequently Asked Questions about Local Business Schema

No, they work together. Google Business Profile (GBP) is your primary local listing and is required to appear in the local 3-pack and Google Maps. The local business schema on your website provides additional structured signals that reinforce your GBP data and can improve how Google understands your business.
Add it to your homepage or your main "Contact Us" page, whichever most accurately represents your business location and is most likely to rank for local queries. Avoid adding it to every page on your site, as this creates unnecessary duplication.
Yes. Service area businesses (plumbers, electricians, cleaners) can still use Local Business schema with their business address even if they don't receive customers at that location. You can use the areaServed property to indicate the geographic areas you serve, though this generator focuses on the core address-based schema.
Google needs to crawl and re-index your page before changes take effect. For most sites this takes a few days to a few weeks. You can speed this up by submitting the URL in Google Search Console under "URL Inspection → Request Indexing" immediately after publishing your schema.
If your hours change seasonally or frequently, it's better to omit them from the schema rather than show incorrect hours. Google will fall back to whatever hours are on your Google Business Profile. For stable hours, always include them; they're a valuable signal for local search and voice search queries like "Are they open now?"

Related Schema Generators

Other free structured data tools you might need

Review Schema
Star ratings for products & services
FAQ Schema
Q&A rich results in Google Search
🛍️
Product Schema
Price, availability & aggregate ratings
📝
Article Schema
Author & date metadata for blogs
🔗
Breadcrumb Schema
Show site path in Google results
📋
HowTo Schema
Step-by-step rich results