Generate LocalBusiness schema for your homepage

Fill in your name, address, phone and hours and copy the structured data block for your homepage. Free, no login.

Opening hours
to
to
to
to
to
Closed
Closed
Paste this into your homepage's <head>
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Your business name",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "09:00",
      "closes": "17:00"
    }
  ]
}
</script>
Input
Your business details and opening hours
Runs in
Your browser. Nothing is sent to us.
Output
A JSON-LD block to paste into your homepage
Best for
A local business whose homepage has no structured data

About the Local business schema generator

Structured data is a block of code in your page that states facts in the schema.org format, so search engines and AI assistants read them as facts: your name, address, phone and opening hours.

The generator writes a JSON-LD block, the format Google recommends for structured data. Pick the most specific type of business, such as Dentist or Plumber, and leave out any field you do not have.

Questions about the Local business schema generator

Where do I paste the block?

In the <head> of your homepage, or in the structured data or custom code setting of your website builder. One block per site is enough for most businesses.

Which type of business should I pick?

The most specific one that fits. Dentist, Plumber, Electrician and LegalService are all kinds of LocalBusiness, so search engines read every field either way.

How do I check it after I add it?

Run the schema checker on your domain. It finds the block on your live homepage and lists what it contains.

More free tools