DevKit Tools

Local Business Schema Generator

Generate LocalBusiness structured data with address, phone, opening hours, price range and business type.

Structured Data/Local Business

LocalBusiness markup - helps Google show your address, hours and phone.

Rich result summary

Name
Acme Coffee
Address
123 Main St, Springfield, IL, 62701
Phone
+1-555-0100
Hours
Mo-Fr 09:00-18:00

Validate with Google's Rich Results Test before publishing.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "name": "Acme Coffee",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "telephone": "+1-555-0100",
  "priceRange": "$$",
  "url": "https://example.com",
  "openingHours": [
    "Mo-Fr 09:00-18:00"
  ]
}
</script>

About the local business schema generator

LocalBusiness markup feeds the details that appear in map results and the knowledge panel: address, phone, hours and price range. For a business with a physical location it is the highest-value structured data you can add.

The details must match your Google Business Profile exactly. Inconsistent name, address and phone across the web is the classic local SEO problem.

How to use it

  1. 1Pick the most specific business type that fits.
  2. 2Enter the full address in separate fields.
  3. 3Add phone and website.
  4. 4Set opening hours in the Mo-Fr 09:00-18:00 format.
  5. 5Copy the JSON-LD.

Questions

Which business type should I choose?

The most specific one that applies. Restaurant, Store and MedicalBusiness are all subtypes of LocalBusiness and give search engines more to work with.

How do I write opening hours?

Day abbreviations then times, for example Mo-Fr 09:00-18:00. Add several entries for different days.

Does this replace a Google Business Profile?

No. The profile is the primary source for local results. The markup reinforces it, and the two must agree.

More Structured Data tools