Generate valid JSON-LD LocalBusiness structured data for your website — fill in your business name, type, address, contact details, opening hours, price range, and geo coordinates, then copy the schema code straight into your site.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Your Business Name"
}
</script>Search engines increasingly favor businesses that provide clear, structured facts about themselves over ones that rely purely on unstructured page text, because structured data removes ambiguity — a phone number embedded in a paragraph might be misread or missed entirely, while a telephone property in JSON-LD is unambiguous. LocalBusiness schema is also a foundational input for local search features: Google's local pack, map listings, 'open now' badges, and knowledge panel details for a business all draw on the same structured facts this schema type provides.
The output follows the JSON-LD format recommended by both schema.org and Google's own structured data guidelines: a top-level object with an '@context' pointing to https://schema.org, an '@type' matching your selected business category, and a flat set of properties (name, telephone, email, priceRange) alongside nested objects for structure that genuinely has sub-parts — a PostalAddress object for your address fields, and a GeoCoordinates object for latitude/longitude. Any field left empty in the form is simply omitted from the output entirely, rather than being included as an empty string, which keeps the generated schema clean and avoids search engines flagging placeholder or missing values.
Schema.org organizes LocalBusiness as a hierarchy, with the generic LocalBusiness type at the top and dozens of increasingly specific subtypes branching from it — Restaurant, Dentist, AutomotiveBusiness, and many more. Using the most specific accurate subtype available generally gives search engines more confidence in how to categorize and surface your business, similar to how choosing a precise category on a Google Business Profile helps you show up for more relevant searches than a vague one would.
This tool outputs opening hours in schema.org's compact 'openingHours' string format — a comma-separated list of two-letter day codes followed by a start and end time, like 'Mo,Tu,We,Th,Fr 09:00-17:00'. This format is well-supported by Google and is easier to read and generate than the more verbose openingHoursSpecification object format. Building it from a row-based UI (one row per distinct schedule) avoids the common mistake of leaving gaps or accidentally overlapping day ranges that can happen when hand-writing this string format directly.
After copying the generated code onto your live page, it's good practice to run the page through Google's Rich Results Test or the Schema.org Validator to confirm the markup is being read correctly in context — structured data can sometimes be affected by how a CMS renders or escapes the script tag, which a generator alone can't detect. Both validators will show exactly which properties were successfully parsed and flag any warnings specific to your business type.
Local Business Schema pairs naturally with these SEO tools for structured data and technical SEO.