Free tool

LocalBusiness schema generator

Pick the type of business, fill in your details and copy the structured data. It uses schema.org's LocalBusiness types in JSON-LD, the format Google recommends, and leaves out anything you don't fill in.

Address

Opening hours
to
More details (optional)

Your structured data

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Your business",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "09:00",
      "closes": "17:00"
    }
  ]
}
</script>
  • • Add the business name (required).
  • • Add an address (Google lists it as required). If you visit customers and have no premises, use the areas you cover and keep the address to town and postcode.
  • • Add a phone number.
  • • Add your website address.

Paste it into the <head> of your homepage or contact page, then test it with Google's Rich Results Test. Every value must match what the page itself says.

Does schema markup help with AI search?

It helps search engines read your facts reliably, which is worth having. It is not a switch for AI answers: Google says its AI features need no special markup, and that structured data should match what the visible page says. So treat this as tidying up, after the things that matter more: your opening hours, prices, services and areas written out in plain text on the page, a complete Google Business Profile, and reviews.

Our guide to LocalBusiness schema for AI search explains which properties are worth filling in and how to check the result. To see whether AI assistants recommend you today, run the free AI visibility check.

Which type should I pick?

The most specific one that is true. A plumber is a Plumber, which schema.org files under home and construction businesses under local business. If nothing fits, the general local business type is fine. You can only pick one here; a business that is genuinely two things can still describe both in its description.

I work from home or visit customers. What address do I use?

Don't publish a home address you wouldn't put on your website. Give the town you work from, and list the areas you cover so the markup says where you work.