Skip to main content

LocalBusiness JSON-LD generator

Fill in your business details: the generator writes the LocalBusiness structured data to paste on your site, for Google and AI.

Your business

Address

Opening hours

  • Monday
    to
  • Tuesday
    to
  • Wednesday
    to
  • Thursday
    to
  • Friday
    to
  • Saturday
  • Sunday

Going further

Your JSON-LD

Paste this code into the head of your home or contact page. Then check it with Google’s Rich Results Test.

To fill in for a valid result: Name, Street, City, Phone

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

Why describe your business in JSON-LD

  • For Google

    Name, address, phone and opening hours help Google link your site to your business listing and show you in local searches.

  • For AI

    ChatGPT and Perplexity rely on clear, consistent details to recommend a local professional.

  • The same details everywhere

    Your name, address and phone must be identical on your site, your Google listing and directories.

  • The right type

    A precise type (Plumber, Restaurant, Dentist) says more than Local business. Pick the closest to your trade.

  • In the head of your home page, or of your contact page. On WordPress, a header plugin or your theme lets you do it.

  • Google no longer shows stars for reviews a business publishes about itself. Grow your reviews on your Google listing instead.

  • One page per location, with its own LocalBusiness block: the address, phone and opening hours of that place.

Go further with the full audit

The free audit also checks mobile speed, authority, the tags of 30 pages and broken links.

  • No credit card
  • Results in 30 seconds
  • 5 free credits
Audit my site