Local Business Schema Generator
LocalBusiness schema is structured data that tells search engines the facts about a business: its name, address, phone, hours, and service area. This free tool writes valid JSON-LD for you from a simple form, so you can paste it into a client site without hand-coding a thing.
By Micah Manzano, Founder & CEO, Manzano Labs
Micah builds reporting and local search tools for marketing agencies that run paid media for service businesses.
Updated
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Monday",
"opens": "09:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Tuesday",
"opens": "09:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Wednesday",
"opens": "09:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Thursday",
"opens": "09:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Friday",
"opens": "09:00",
"closes": "17:00"
}
]
}
</script>Field coverage
Required and recommended fields from Google's LocalBusiness doc.
- NamerequiredMissing
- AddressrequiredMissing
- TelephonerecommendedMissing
- Website URLrecommendedMissing
- Geo coordinatesrecommendedMissing
- Opening hoursrecommendedPresent
- ImagerecommendedMissing
How to use it
- 1
Pick the business type
Choose LocalBusiness or the closest schema.org subtype, such as Plumber or Dentist. When in doubt, the general LocalBusiness type is always valid.
- 2
Fill in the form
Add the name, address, phone, website, hours, and service area. Leave anything you do not have blank and it is left out of the output.
- 3
Copy the JSON-LD
The code panel updates as you type. Use Copy to grab it, or Download to save a .json file.
- 4
Paste it in and test it
Drop the script into the page head of the business site, then run it through the Rich Results Test and the Schema Markup Validator linked below.
Nooma turns client data into reports in your voice
Built for agencies running paid media for local service businesses. See how your client reporting could run itself.
Frequently asked questions
- What is LocalBusiness schema?
- LocalBusiness schema is a block of JSON-LD structured data that describes a physical, local business to search engines: its name, address, phone, website, opening hours, and the areas it serves. Search engines read it to understand the business behind a page, independent of how the page is worded.
- Where do I put the JSON-LD?
- Paste the generated script into the HTML head of the relevant page, usually the home page or a location page. It belongs on the page it describes. Most content management systems and site builders have a way to add a code snippet to the head.
- Does schema improve rankings or AI answers?
- The honest answer is that it helps search engines and AI systems understand the business, and it guarantees nothing. Schema makes the facts machine readable, which can support eligibility for certain result features, but it is not a ranking trick. Accurate, consistent data is the point.
- Which business type should I pick?
- Pick the most specific schema.org subtype that fits, such as Plumber, Dentist, or RoofingContractor. If none fits cleanly, use the general LocalBusiness type. A more specific type adds clarity, but an accurate general type beats a wrong specific one.
- Why is there no star rating field?
- This tool leaves out aggregateRating and review on purpose. Google states that when the business controls the reviews about itself, pages using LocalBusiness or other Organization structured data are not eligible for the star review feature, so self-serving review markup earns no stars and risks a manual action. See Google's review snippet documentation for the current guidance.