Free tool
LocalBusiness Schema Generator
Generate LocalBusiness JSON-LD structured data for your website in seconds — the code that helps Google connect your site to your profile.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"address": {
"@type": "PostalAddress",
"addressCountry": "IN"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"opens": "09:00",
"closes": "21:00"
}
]
}
</script>Why add schema to a local business website?
Schema removes guesswork: it states your exact name, address, phone and hours in a machine-readable way. That supports consistency between your website and your Google Business Profile, and gives AI search clean facts to quote.
Tips
- Use exactly the same name, address and phone as on Google.
- Pick the most specific business type available.
- Validate your page with Google's Rich Results Test after adding it.
Frequently asked questions
What is LocalBusiness schema?
Structured data (JSON-LD) that describes your business — name, address, phone, hours — in a format search engines read reliably.
Where do I put the code?
Inside the <head> of your website's homepage or contact page. Most website builders have a 'custom code' or 'header scripts' setting.
Does schema guarantee rich results?
No, but it helps search engines and AI assistants understand your business accurately.