Skip to content

Local business schema generator

Fill in your business details and get structured data search engines can read: name, address, phone, opening hours, and profiles, ready to paste into your site. Nothing you type leaves your browser.

International format helps outside your own country.

Two letters: GB, AE, US.

Mon to Fri opening hours

Mon to Fri

Saturday opening hours

Saturday

Sunday opening hours

Sunday

One address per line. Anything that is not a link is ignored.

Your structured data

Paste this into the head of your homepage, or into a custom code block if your site builder has one.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "address": {
    "@type": "PostalAddress",
    "addressCountry": "GB"
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "09:00",
      "closes": "17:00"
    }
  ]
}
</script>

Add your business name to copy the code.

Questions

What is LocalBusiness schema?

Structured data that tells search engines, in a format they read directly, your business name, address, phone number, opening hours, and profiles. It sits in the page's code and visitors do not see it.

Will schema make my business rank higher?

Not on its own. It helps search engines understand and trust your business details. Rankings still depend on your pages, your Google Business Profile, reviews, and links from other sites.

Where do I put the code?

In the head section of your homepage. WordPress, Wix, Squarespace, and Shopify all let you add custom code there, through a setting, a theme option, or a plugin.

Does the schema need to match my Google Business Profile?

Yes. Use the same business name, address, and phone number everywhere: website, schema, Google Business Profile, and directories. Google says structured data must also match what is visible on the page.

For the rest of what a local business site needs, read what a service business website needs to bring in quote requests. More free checks are on the tools page.