Local Business Schema Generator

Fill in your business details and get ready-to-paste LocalBusiness structured data (JSON-LD), the format Google recommends.

Opening hours
to
to
to
to
to
Closed
Closed

JSON-LD

Rich Results Test ↗

Missing required fields

  • Add the business name. Google requires it, and it should match your Google Business Profile.
  • Add the street address.
  • Add the city (addressLocality).

Recommended fields still open

  • Add the state or region.
  • Add the postal code.
  • Add the phone number with country and area code. Google recommends it.
  • Add the page URL for this location. Google recommends it.
  • Add a logo or photo URL.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "09:00",
      "closes": "17:00"
    }
  ]
}
</script>

Paste the script into the page HTML, in the head or before </body>. Then open Google's Rich Results Test, choose the code tab, and paste it again.

LocalBusiness on schema.org · Google's documentation

Want the marketing handled too?

SEOchat publishes pages about your business, keeps your Google listing active, and reports results every week. Starter is $99/month. Growth is $179/month. Cancel anytime.

A business name and website you already typed are carried into checkout. They do not change the price.

Why structured data helps local businesses

Search engines read your website like a stranger would: they guess which number is your phone, which text is your address and when you're open. Structured data removes the guessing. It labels each fact so Google, Bing and AI assistants can pick them up correctly and match your site to your Google Business Profile.

How to add it

  • Fill in the form. Use the exact name, address and phone that appear on your Google profile.
  • Copy the code and paste it into your homepage, or the page for that location if you have several.
  • Run the page through Google's Rich Results Test or the Schema Markup Validator to confirm it's valid.
  • Update it whenever your hours, phone or address change. Outdated schema is worse than none.

Common mistakes

  • Marking up information that isn't visible on the page. Google asks that structured data reflect what visitors can see.
  • Adding review stars to your own LocalBusiness markup. Google doesn't show self-serving review snippets for local businesses.
  • Using one block with several addresses. Each location should have its own page and its own markup.

This is one generator in the schema markup generator. The same set covers FAQ, review, product, event, article, organization, person, video, and brand markup.

Want to check what search engines see on your page now? Try the meta tag analyzer.

Questions

What is LocalBusiness schema?

It's structured data, a small block of code using the schema.org vocabulary, that tells search engines your business name, address, phone, hours and other facts in a format machines can read reliably.

Will schema make me rank higher?

Not by itself. Google uses structured data to understand your page and may show richer results, but it isn't a direct ranking boost. It helps search engines and AI tools get your details right.

Where do I put the code?

Inside the page's HTML, usually in the <head> or before </body> on your homepage or contact page. On WordPress you can use a header/footer code plugin; Wix and Squarespace have custom code settings.

Which business type should I choose?

Pick the most specific type that fits, such as Dentist or Plumber. If nothing fits, LocalBusiness is fine.

Do the details have to match my Google profile?

Yes. Use exactly the same name, address and phone number as your Google Business Profile and your website. Consistency is what builds trust.

More free tools

See all tools