My Tool Studio
SchemaURL-first

Local Business Schema Generator

This local business schema generator turns your name, address, phone, opening hours and services into LocalBusiness JSON-LD, with 32 subtypes from Dentist to TravelAgency. Enter your website and the auto-fill reads your homepage plus contact, about and locations pages, or paste existing JSON-LD to load it. Paste a Google Maps link to read the coordinates, apply common opening hours in one click, and add holiday hours, departments and reviews. Restaurants get menu, cuisine and reservation fields. Add more locations and each becomes its own node linked to the main business. Local SEO consultants run it for each new client. A Validation panel shows what Google requires and recommends.

Always freeNo sign upRuns in your browser
Auto-fill from your live site. We'll read the page's meta tags, <tel:> / <mailto:> links, and any existing LocalBusiness JSON-LD to pre-populate fields. Your edits are kept.
Import existing JSON-LD(paste code or read it from a URL)

Paste LocalBusiness JSON-LD (any subtype, such as Restaurant or Dentist) to load it into the form. Hours, services, reviews and holiday hours are loaded too.

Business basics

Address

Geo & media

Areas served

Services offered (offer catalog)

Service 1

Opening hours

Presets:
to

Contact point

Call-to-action

Pricing, ratings & social

Founder / key person

Holiday and special hours

Dates when the normal hours do not apply. A closed day is written as opens and closes 00:00 with validFrom and validThrough, as Google documents.

Departments

For a business with separate parts at the same address, such as a store with a pharmacy or a car dealer with a service center.

Reviews

Only add reviews that are visible on this page. Google does not show review stars for LocalBusiness pages that host reviews about the business itself.

More locations (multi-location)

Each branch becomes its own LocalBusiness in the same @graph, linked to the main business with parentOrganization. Hours and price range are copied from above. Ideally each branch also has its own location page carrying its own block.

  • LocalBusinessMissing required name.
  • LocalBusinessMissing required address.
  • LocalBusinessRecommended: add telephone.
  • LocalBusinessRecommended: add url.
  • LocalBusinessRecommended: add geo.
  • LocalBusinessRecommended: add priceRange.
  • LocalBusinessRecommended: add image.
Output (1 node)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "LocalBusiness",
      "openingHoursSpecification": [
        {
          "@type": "OpeningHoursSpecification",
          "dayOfWeek": "Monday",
          "opens": "09:00",
          "closes": "17:00"
        }
      ]
    }
  ]
}
</script>
Test in Google Rich Results TestValidate at validator.schema.orgThe test links copy your code first. Paste it into the tester's Code tab.

How to use

01

Auto-fill and pick a subtype

Enter your website and press Auto-fill, then choose the closest of 32 business types. Check the name, phone, street address, city and country the crawler found.

02

Add location and hours

Paste a Google Maps link under Geo and media and press Read link to fill latitude and longitude. Pick an opening hours preset or add time slots one day at a time.

03

Add extras and copy

Add areas served, services, holiday hours, departments, reviews and other locations if they apply. Clear the errors in the Validation panel, press Copy script and test the block in Google's Rich Results Test.

Why Local Business Schema Generator

Which LocalBusiness subtype fits your business

Schema.org has many LocalBusiness subtypes, and the dropdown includes 32 of the common ones. Pick the most specific match. If your business does several things, choose the one customers mainly come for.

The subtype only sets the @type in the output. It does not change which fields you can fill, so you can switch it at any time.

BusinessSubtype to pickNote
Dental clinicDentistOther clinics can use MedicalBusiness
Restaurant or cafeRestaurant or FoodEstablishmentAdd a price range and hours
Plumber, electrician, builderHomeAndConstructionBusinessHVAC firms have their own HVACBusiness type
Law firmLegalServiceCovers solicitors and attorneys
Accountant, bank, insurerFinancialServiceUse for advisers too
Hair salon, spaHealthAndBeautyBusinessCovers beauty and wellness services
Estate agentRealEstateAgentOne block per office
ShopStoreOnline-only shops fit Organization better
Hotel, guest houseLodgingBusinessAdd check-in details on the page

Common questions

Which LocalBusiness properties does Google require?
Only name and address. Google recommends telephone, url, geo coordinates, opening hours, price range, image and more. The Validation panel shows name and address as errors when empty and the recommended ones as warnings.
Which subtype should I pick in the local business schema form?
The most specific one that describes you honestly, such as Dentist, Restaurant or HVAC Business. Use the generic LocalBusiness type only when nothing narrower fits.
How do I get coordinates for LocalBusiness schema from Google Maps?
Open your business on Google Maps, copy the full URL from the address bar and paste it into Import from a Google Maps link. The tool reads the pin coordinates, or the map centre as a fallback, and the place name. Short maps.app.goo.gl links are followed where possible; if that fails, copy the long URL instead.
How do I mark a business as open 24 hours in LocalBusiness schema?
Choose the Open 24/7 preset. It writes each day with opens 00:00 and closes 23:59, which is how Google's documentation shows a business that never closes. For a day you are closed, leave it out, or set opens and closes to 00:00 as Google's documentation shows.
How do opening hours work in LocalBusiness JSON-LD?
Each time slot becomes an openingHoursSpecification with dayOfWeek, opens and closes. Add two slots for the same day to show a lunch break. Presets replace the current slots, which you can then edit.
Does local business schema get me into the Google map pack?
No, not by itself. Map pack placement depends mainly on your Google Business Profile, distance and reviews. The markup confirms your name, address and phone on your own website, which supports that work.
What if my business serves an area rather than a storefront?
Add each city or region under Areas served. You can also set latitude, longitude and a radius in meters to write a GeoCircle. Plumbers, tutors and mobile groomers usually need both.
How do I mark up a business with several locations?
Add each branch under More locations with its name, address, phone, coordinates and page URL. Each becomes its own node in the @graph with parentOrganization pointing at the main business. Ideally, each location page also carries a block for that branch alone.
How do I add holiday opening hours to LocalBusiness schema?
Add a row under Holiday and special hours with the dates, and either tick Closed or set the hours for those days. The tool writes an extra openingHoursSpecification with validFrom and validThrough. A closed day is written as opens and closes 00:00, which is how Google's documentation shows it.

More Schema tools

View all