Skip to content

Schema markup.Written for you.

Type in your details and copy the JSON-LD. It uses the most specific type for your trade and runs in your browser.

The short answer

Updated

The LocalBusiness schema generator writes Schema.org JSON-LD for a local service business from details you type in. It uses the most specific type for your trade, such as Plumber or HVACBusiness, as Google recommends, and leaves out review stars, which Google doesn't show for reviews a business controls. Paste the code into your homepage, then test it with Google.

Your details

Exactly as it appears on your Google profile.

Include the country and area code, as Google asks.

One town per line, only places you really work.

Opening hours

Full links to your Google, Yelp, Facebook or BBB pages, one per line.

Optional. Leave blank if it doesn't fit how you price.

Your markup

Still missing: business name, phone, website, city.

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

How it works.No hidden steps.

  1. 01Choose the type that matches your trade. Google asks for the most specific LocalBusiness subtype, and accepts several as an array.
  2. 02Enter your name, phone with country code, website and address. Google requires a name and an address.
  3. 03Add hours, the towns you serve and links to your profiles on other sites.
  4. 04Copy the code into the head of your homepage and check it with Google's Rich Results Test.

What we store: nothing. Your details stay in your browser and aren't sent or saved.

Questions people ask.Short answers.

Do I need this to appear in AI Overviews?

No. Google says there's no special schema needed for AI Overviews or AI Mode. Structured data helps search engines read your details accurately, which still matters.

Which type should a med spa use?

Schema.org has no MedicalSpa type. We use MedicalBusiness and DaySpa together, which Google allows as an array. That choice is our judgement.

Will this give my site review stars?

No. Google says pages where a business controls the reviews about itself aren't eligible for review stars, so the generator leaves ratings out.

By Shakhawat Ullah Badhon, Founder, Damex Digital. Published Oct 31, 2026, updated Oct 31, 2026.