LocalBusiness schema generator
Missing LocalBusiness schema is one of the most common failures in our free audit. Fill this in, copy the JSON-LD, paste it into your homepage — done.
- 14 trade-specific types
- Runs in your browser
- No signup
Pick the most specific type that fits. Specific types outperform generic LocalBusiness.
Opening hours
Your JSON-LD
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Your Business Name",
"url": "https://yourwebsite.com",
"priceRange": "$$",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Monday",
"opens": "08:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Tuesday",
"opens": "08:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Wednesday",
"opens": "08:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Thursday",
"opens": "08:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Friday",
"opens": "08:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Saturday",
"opens": "08:00",
"closes": "17:00"
}
]
}
</script>- 1. Copy the block above.
- 2. Paste it into the
<head>of your homepage. - 3. Validate it in Google's Rich Results Test.
- 4. Re-run the free audit to confirm it is detected.
Frequently asked questions
What is LocalBusiness schema?+
LocalBusiness schema is structured data — a small block of JSON-LD in your page source — that tells Google explicitly what kind of business you are, where you are located, how to contact you, and when you are open. Without it Google infers all of that from your page copy, which is a guess. With it, Google has a direct answer.
Where do I put the generated code?+
Paste the whole <script type="application/ld+json"> block into the <head> of your homepage. Most CMS platforms have a "header scripts" or "custom code" field for exactly this. It does not need to be visible anywhere on the page.
Should I use a specific type instead of LocalBusiness?+
Yes, whenever one exists for your trade. Plumber, HVACBusiness, Electrician, Dentist, RoofingContractor, AutoRepair, and Attorney are all valid schema.org types that inherit everything LocalBusiness has while telling Google far more precisely what you do.
Is my business data sent anywhere?+
No. This generator runs entirely in your browser. Nothing you type is transmitted to us or stored.
How do I know it worked?+
Validate the block in Google's Rich Results Test, then run our free local SEO audit on your homepage — it parses every JSON-LD block on the page and reports whether a valid LocalBusiness node was found and whether it carries an address, geo coordinates, and opening hours.
Not sure what else is missing?
Run the free 75+ point local SEO audit on your homepage and get every issue ranked by impact.
Run my free audit