← Back to Free Tools

Local Business Schema Generator

Fill in your business name, address, phone, opening hours, and map coordinates to get LocalBusiness JSON-LD you can paste into your site. It runs in your browser, so nothing you enter is sent anywhere.

Fields

Opening Hours

Hours 1

JSON-LD Output

{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "09:00",
      "closes": "17:00"
    }
  ]
}

This free tool

  • One location at a time, filled in by hand
  • Name, address, phone, opening hours, and map coordinates
  • Copy-paste JSON-LD output

Floyi does this better

  • Service and location page URLs mapped from simple lists
  • A clean hierarchy for every service in every location
  • Strategy-aligned content generated for every page
Start Free →

LocalBusiness markup describes one location. Floyi's Site Architecture maps every service and location page a multi-location business needs from simple lists, then generates strategy-aligned content for each one.

Start Free →

How to Use the Local Business Schema Generator

  1. Enter the business name exactly as it appears on your Google Business Profile.
  2. Fill in the address and phone number in the same format you use everywhere else.
  3. Add map coordinates from Google Maps so the markup pins the exact location.
  4. Add opening hours. Use one row per set of hours, with days typed as a range, a list or a group.
  5. Copy the JSON-LD and paste it into the location's page inside a <script type="application/ld+json"> tag.
  6. Validate it with Google's Rich Results Test or the Schema Markup Validator.

One Block Per Location

A business with three locations needs three LocalBusiness blocks, one on each location page, each with that location's own address, phone and hours. Putting every location in one block on the homepage makes it harder for search engines to tie each address to the page that serves it.

The pages themselves come first. If you're still deciding which service and location pages a local site needs, the local SEO site structure generator plans the URL hierarchy before you mark anything up.

Frequently Asked Questions

What is LocalBusiness schema?
LocalBusiness is the schema.org type for a business with a physical location or a defined service area. Its JSON-LD states the business name, address, phone number, opening hours, and map coordinates in a format search engines and AI systems read directly, instead of inferring them from the page text.
Should the details match my Google Business Profile?
Yes. Use the same business name, address and phone number as your Google Business Profile and your directory listings, written the same way each time. Consistent NAP (name, address, phone) details make it easier for search engines to connect your website to your listing.
Which business type should I use?
This generator outputs the general LocalBusiness type. If a more specific schema.org subtype fits, such as Dentist, Plumber, Restaurant, or LegalService, replace "LocalBusiness" in the "@type" line after you copy the code. Google recommends the most specific type that describes the business, and every subtype accepts the same address, phone and hours properties.
Where do I add LocalBusiness schema?
Add it to the page that represents the location: usually the homepage for a single-location business, or each location page for a multi-location one. Paste it inside a <script type="application/ld+json"> tag in the page head, or use your CMS's custom code setting. Each location gets its own block with its own address, phone and hours.
How do I find my latitude and longitude?
In Google Maps on a computer, right-click your business location on the map. The first line of the menu shows the coordinates. Click it to copy them, then paste the first number into Latitude and the second into Longitude.
How do I enter opening hours?
Add one row per set of hours. Type the days as a range ("Monday-Friday"), a list ("Sat, Sun") or a group ("weekdays", "daily"), and the generator writes them as the separate day names schema.org expects. Add another row for days with different hours, such as a shorter Saturday.
Does LocalBusiness schema improve local rankings?
Structured data isn't a direct ranking factor. LocalBusiness markup states your business details in a form search engines and AI systems read without guessing, which helps Google match your website to your business and show its details in results. Local pack rankings still depend mostly on relevance, distance and prominence.