How it works
- Fill in your business details as they appear on your Business Profile.
- Pick your category; the schema.org type is chosen for you.
- Copy the code into the head or body of your home page.
- Run the page through Google's Rich Results Test to check it.
How do I check the markup works?
Run these four checks after you paste the code and publish the page:
- Open the Rich Results Test, enter your page's address and run it.
- Look for “LocalBusiness” or your type, such as “Dentist”, under detected items, with no errors.
- Open the item and check each value: name, address, phone and hours as your Business Profile shows them.
- Fix any warning you can, publish again and re-test. Search Console reports problems on later crawls.
Google's LocalBusiness documentation lists every property it reads.
Worked example
The markup the tool produces for a made-up dental clinic in New Delhi, with a photo and logo link, the areas it serves, a price range, hours and one social profile.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Sharma Dental Clinic",
"url": "https://www.sharmadental.example/",
"image": "https://www.sharmadental.example/images/clinic-front.jpg",
"logo": "https://www.sharmadental.example/images/logo.png",
"telephone": "+91 11 4000 0000",
"priceRange": "₹₹",
"address": {
"@type": "PostalAddress",
"streetAddress": "A-12, Ring Road, Lajpat Nagar IV",
"addressLocality": "New Delhi",
"addressRegion": "Delhi",
"postalCode": "110024",
"addressCountry": "IN"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 28.5677,
"longitude": 77.2433
},
"areaServed": [
"Lajpat Nagar",
"Defence Colony",
"South Delhi"
],
"sameAs": [
"https://www.instagram.com/sharmadental.example"
],
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"opens": "10:00",
"closes": "20:00"
}
]
}
</script>The type is Dentist rather than LocalBusiness because the category maps to it; Monday to Saturday share one hours entry; the name has no “| Dentist in Delhi” tail.
Questions
- What is LocalBusiness JSON-LD?
- It is structured data that describes your business in a form search engines can read: name, address, phone, hours and links. It sits in a script tag and does not change how the page looks.
- Will this make my business rank higher?
- No one can promise that. Structured data helps search engines read your details correctly; it is not a ranking switch.
- Should the details match my Business Profile?
- Yes. Use the same name, address and phone as your Business Profile so the two do not disagree.
- Is my information stored anywhere?
- No. The code is built in your browser. Nothing you type is sent to Reach.
- Should I add the same markup to every page?
- No. Add it once, to the home page or the page about this location. A business with several branches adds one block per branch, each on that branch's own page.
