LocalBusiness schema: how to add structured data to a small business website

What LocalBusiness structured data is, which properties to include, a ready-to-edit JSON-LD example, how to test it, and the schema mistakes to avoid.

SEOBy the SiteNirman teamPublished 2 min read

LocalBusiness schema is structured data, usually added as a JSON-LD script, that tells search engines your business name, address, phone, hours, location and type in a machine-readable way. It doesn’t guarantee higher rankings, but it helps Google and AI search tools understand and trust your details, and it supports consistency with your Google Business Profile. Use the most specific type available, such as Dentist, HairSalon or Plumber.

Which properties should you include?

Property Example Notes
@type Dentist Use the most specific subtype of LocalBusiness
name Your exact business name Match your signage and Business Profile
address PostalAddress Street, city, region, postcode, country
telephone +91-98xxxxxxxx Include the country code
url Your homepage
image A photo or logo URL
openingHoursSpecification Days and times Keep in sync with real hours
geo Latitude and longitude Optional, but helpful
priceRange ₹₹ or $$ Optional
sameAs Links to your social profiles Optional

What does an example look like?

{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "name": "Example Dental Care",
  "url": "https://example.com/",
  "telephone": "+91-20-0000-0000",
  "image": "https://example.com/clinic.jpg",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "12 Example Road, Kothrud",
    "addressLocality": "Pune",
    "addressRegion": "MH",
    "postalCode": "411038",
    "addressCountry": "IN"
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],
    "opens": "10:00",
    "closes": "20:00"
  }]
}

Wrap it in <script type="application/ld+json"> on your homepage or contact page. WordPress SEO plugins such as Rank Math and Yoast can generate much of this for you.

How do you test it?

Use Google’s Rich Results Test to check that Google can read it, and the Schema Markup Validator (validator.schema.org) to check the syntax. Then watch for errors in Google Search Console.

What mistakes should you avoid?

  • Marking up details that don’t appear on the page or don’t match reality
  • Adding star ratings for your own business from reviews you collected yourself; Google doesn’t show stars for these “self-serving” reviews of a LocalBusiness
  • Using the generic LocalBusiness type when a specific type exists
  • Different names, addresses or phone numbers in schema, on the page and on your Business Profile

Where does schema fit in local SEO?

Schema supports, but never replaces, a complete Google Business Profile, strong reviews and useful pages. See our local SEO checklist, or compare our plans.

Want this done for you? SiteNirman writes, builds and checks small business websites, with search basics and working forms included. Sites start at ₹1,999, paid once.

Start your site

Tell us about your business

We reply within one working day with a plan and a price. No payment until you approve the plan.

Enter your name.

Enter your business name.

Enter a phone number we can reach you on.

Enter an email address like [email protected].

Choose the closest type of business.

Enter the city you work in.

We use these details only to reply about your site.

Thanks, we have your details

We reply within one working day with a plan and a price for your site.

Browse sample sites while you wait