Local Business Schema Generator
Create LocalBusiness JSON-LD schema with address, phone, opening hours and geo location. Copy valid code that helps your business appear in local results.
// Your schema code will appear here after you click Generate.
Runs in your browser — nothing is uploaded.
Local Business Schema Generator
LocalBusiness schema puts your address, phone number, opening hours and location into a format Google can read confidently — the details that power map packs and "near me" results. Fill in your real business details and copy the code to your site.
How to use
- Choose the business type closest to what you do.
- Enter the business name, phone and website exactly as customers see them.
- Fill the full postal address, matching your Google Business Profile.
- Add latitude and longitude if you know them (find them from any map pin).
- Set opening hours for each day, marking closed days.
- Generate, copy, and paste the code on your homepage or contact page.
Tips
- Every detail must match your Google Business Profile and your website's contact page — mismatches weaken trust.
- Never invent reviews, ratings or hours for the schema; false details breach Google's guidelines.
- If you move or change hours, update the schema the same day.
Frequently asked questions
Who should use LocalBusiness schema?
Any business serving customers at a physical location or in a local area — shops, clinics, restaurants, trades and professional services.
Does this replace a Google Business Profile?
No. You need both: the profile powers Maps, and the schema confirms the same details on your own website.
What if my business type is not in the list?
Choose "LocalBusiness" — the general type is always valid, and the specific fields still apply.
How do I find my latitude and longitude?
Drop a pin on your business in any map app; the coordinates shown are the latitude and longitude to enter.
Can I add opening hours for holidays?
This generator covers regular weekly hours. Special holiday hours belong in your Google Business Profile.
Should the phone number include the country code?
Yes — use the international format (for example +92-300-1234567) so it is unambiguous.
Is this tool free?
Yes, free with no sign-up, running entirely in your browser.
Where should the code be placed?
On your homepage or contact page — one copy per location is enough.
What if I have several locations?
Generate one schema block per location, each with its own address and hours, and place each on that location's page.
Can I add star ratings here?
No. This generator deliberately has no rating field — ratings may only be marked up when they come from real, visible customer reviews on your site.