Local Business Schema Markup: Copy and Verify
The LocalBusiness JSON-LD block for an Indian shop, clinic or salon, with hours and map point added by hand, and free checks that prove Google reads it.

The block you came for
Here is a complete LocalBusiness block for a single-location business in India. Change the values, paste it into the page head, and read the rest of this page to find out whether it actually arrived.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Greenway Dental Care",
"url": "https://www.example-clinic.in/",
"telephone": "+914442015566",
"priceRange": "600 to 4000 INR",
"image": "https://www.example-clinic.in/photos/front.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Habibullah Road, T. Nagar",
"addressLocality": "Chennai",
"addressRegion": "Tamil Nadu",
"postalCode": "600017",
"addressCountry": "IN"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 13.04065,
"longitude": 80.23395
},
"areaServed": "Chennai",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "09:30",
"closes": "19:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Saturday",
"opens": "09:30",
"closes": "14:00"
}
]
}
</script>Greenway Dental Care is invented, and so are its address and coordinates. Nothing in that block is a real clinic. Replace every value before you ship it.
Of everything in that block, Google insists on exactly two things. Its LocalBusiness documentation lists two required properties: name and address. Everything else on the page, including the hours, the phone number and the map point, is in the recommended list. That is worth knowing before you spend an afternoon on a plugin: a correct block is small, and you can write it in a text editor.
What this markup does, and three things it does not do
Most guides on this query open with what you gain. The useful half is what you do not gain, because that is where people waste money.
It is not a Google Business Profile. The profile is the listing that shows up in Maps and in the local pack with your photos, hours and reviews. You create and verify it inside Google Business Profile, and it lives on Google's side. LocalBusiness markup lives on your own site and describes the same business in a form a crawler can parse. They reinforce each other, and keeping the name, address and phone number identical across both is sensible, but adding the markup creates nothing in Maps. If you have no profile, the markup will not produce one.
Reviews you control will not put stars on your result. This is the trap in a lot of generated snippets. Google's review snippet guidance is explicit: if the entity being reviewed controls the reviews about itself, its pages using LocalBusiness or any other Organization type are ineligible for the star review feature. That covers testimonials you typed yourself and, in Google's own wording, an embedded third party widget such as a Google Business reviews or Facebook reviews widget placed on your own site. The same page adds that ratings must be sourced directly from users and tells you not to aggregate reviews or ratings from other websites. Google's LocalBusiness reference carries the matching note on review and aggregateRating: both are recommended only for sites that capture reviews about other local businesses. A directory can use them. Your own clinic page cannot.
What the markup cannot manufacture, the profile still can, and the stars that show in Maps come from real customers being asked properly. How to get your Google review link and QR code has the current click path, a redirect trace that proves the link lands on the review box, and the print sizing for a table card or counter standee.
Valid markup makes a page eligible, not featured. Google states that you must include the required properties for your content to be eligible for display as a rich result, and separately that it does not guarantee that features that consume structured data will show up in search results. Treat a green tick in a validator as proof that the file parses, not as a forecast of your listing.
One more rule that catches people: do not mark up content that is not visible to readers of the page. If the block claims you open at 09:30 on Saturday, the page should say so too. Marking up hours, an address or a phone number that appears nowhere on the page is a policy problem, not a shortcut.
Build the base block in the generator
You do not need a plugin, and you do not need to remember the property names. The free schema markup generator has a LocalBusiness mode with nine fields: Name, Website URL, Phone, Street, City, State, Postcode, Country code and Price range. It runs in your browser, so nothing you type is sent anywhere.
Filling those nine fields with the example clinic produced this, exactly as the tool emits it:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Greenway Dental Care",
"url": "https://www.example-clinic.in/",
"telephone": "+914442015566",
"priceRange": "600 to 4000 INR",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Habibullah Road, T. Nagar",
"addressLocality": "Chennai",
"addressRegion": "Tamil Nadu",
"postalCode": "600017",
"addressCountry": "IN"
}
}
</script>The useful part is that the five address fields are not dropped in flat. The tool collects Street, City, State, Postcode and Country code into a nested address object typed as PostalAddress, which is the shape Google's required address property expects. Getting that nesting wrong, and listing the address parts flat at the top level, is an easy mistake to make by hand.
Two things it does not do, which matters for the rest of this page: it emits no openingHoursSpecification and no geo. Those are the next section. It also wraps the output in the <script type="application/ld+json"> tag for you, which is what actually goes in the page.
The India details the guides skip
The guides ranking for this query all work from a US address, and Google's own example is a steakhouse in New York. Six fields behave differently here.
addressCountry takes IN, not India. It is a two-letter country code, and Google's example uses the same short form (US). Schema.org accepts free text here, so spelling the country out will not raise an error in a validator, which is precisely why the mistake survives.
The PIN code goes in postalCode. Six digits, no space in the middle, as a string in quotes. Do not put it in addressRegion.
addressRegion is the state. Tamil Nadu, Karnataka, Maharashtra. Not the district, not the neighbourhood. The neighbourhood belongs at the end of streetAddress, which is where "T. Nagar" sits in the example above.
The phone number should be E.164. That means a plus sign, the country code, then the national number with no spaces, brackets or hyphens: +914442015566 for a Chennai landline, +919840012345 for a mobile. Google's own example in its LocalBusiness documentation uses the same unspaced style for a New York number. Your page can still display the number prettily as +91 44 4201 5566; the markup is for the machine.
priceRange is free text, so pick something a person could read. Google lists it as a recommended property and schema.org gives $$$ as an example of the form. A rupee band such as 600 to 4000 INR is clearer for an Indian business than dollar signs, and it sidesteps the mojibake a rupee symbol produces if the template is not served as UTF-8. Whatever you choose, keep it consistent across your location pages.
Add areaServed if you serve one city. A plumber or a physiotherapist who travels across Chennai but has one small office is describing something real with "areaServed": "Chennai". It is a schema.org property on Organization, which LocalBusiness inherits. Leave it out if you genuinely serve walk-ins only.
Add the two fields the generator does not emit
The generator stops at the address. Two recommended properties are worth adding by hand.
Opening hours. The property is openingHoursSpecification, and Google accepts either a single object or an array of them. Each entry carries dayOfWeek, opens and closes. Days can be short names such as Monday, and Google supports that form as well as the full https://schema.org/Monday URL. Group the days that share a timetable and give the odd ones their own entry, as the example at the top of this page does for Saturday.
Four cases are easy to get wrong:
| Situation | What to write |
|---|---|
| Open all day | opens is 00:00 and closes is 23:59 |
| Closed all day | opens and closes are both 00:00 |
| Closes after midnight | One entry for that day, for example opens 18:00 and closes 03:00 |
| Seasonal hours | Add validFrom and validThrough, both in YYYY-MM-DD form |
Simply leaving a day out is also valid, and is usually the cleanest way to say you are shut on Sunday.
The map point. geo takes a GeoCoordinates object with latitude and longitude as numbers, not strings. Google asks for a precision of at least five decimal places, so 13.04065 rather than 13.04. Read the pair off the URL bar in Google Maps after you drop a pin on your own door.
Once both are in, the block is no longer what any tool generated, which is exactly when it breaks. A trailing comma left behind after you pasted an hours entry will stop the whole block being parsed, and the browser gives you nothing: an invalid JSON-LD script tag fails silently.
Paste the edited block, without the surrounding script tag, into the JSON formatter and press Format. On a block with one stray comma after the last closes value, the tool answered:
Invalid JSON at line 10, column 3: Expected double-quoted property name in JSON at position 253 (line 10 column 3)That is a line number, which is all you need. Remove the comma, press Format again, and the tool returns the block neatly indented with every array expanded one value per line. Paste that version back between the script tags. The parse happens in your browser, so an address you have not published yet never leaves the machine.
For the structured-data meaning rather than the syntax, run the block through the Schema Markup Validator too. The generator has a button that opens it. The formatter tells you the file is valid JSON; the validator tells you the vocabulary is right.
Pick the most specific type
Google's instruction is short: use the most specific LocalBusiness sub-type possible. Every sub-type inherits the LocalBusiness properties, so nothing is lost by being precise.
| Business | A type that exists in schema.org |
|---|---|
| Dental clinic | Dentist |
| Salon or spa | HealthAndBeautyBusiness |
| Shop or showroom | Store |
| Plumber, electrician, interiors | HomeAndConstructionBusiness |
| Restaurant or cafe | FoodEstablishment |
| Lawyer or legal firm | LegalService |
| Gym, yoga or dance studio | SportsActivityLocation, or ExerciseGym for a gym |
One to avoid: ProfessionalService, which reads like the obvious pick for a consultancy or an agency. Schema.org marks it deprecated, noting it was confused with Service, so a consultancy is better off with plain LocalBusiness. That is the general rule too: if nothing fits your trade, keep "@type": "LocalBusiness", because a correct general type beats a precise wrong one. If two genuinely apply, Google accepts an array of types and notes that additionalType is not supported.
Remember that LocalBusiness is a sub-type of Organization, so Google recommends following the Organization fields as well. In practice, for a small site, that means a logo and the sameAs links to your own social profiles.
Where the block goes on a site you control
This is the part the plugin guides never answer. The block is a script tag containing data, so it goes in the page <head>, and any site that lets you edit a template can carry it.
Plain HTML. Paste it inside <head>, before </head>. One file, one block, done.
Astro. Put it in the page or layout's template body, inside the component's markup, and Astro will render it as written. If the values come from a content collection, build the object in the frontmatter fence and print it:
---
const business = {
"@context": "https://schema.org",
"@type": "Dentist",
name: "Greenway Dental Care",
};
---
<script type="application/ld+json" set:html={JSON.stringify(business)} />set:html matters: without it the framework escapes the braces and Google sees text, not JSON.
React, Next.js or any JSX. The same trap, with a different spelling. Do not put the JSON between the tags as a child; use dangerouslySetInnerHTML so the braces survive:
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(business) }}
/>A templating language such as Jinja, Blade, Go templates or Handlebars. Write the block into the head partial as literal text. If you interpolate values, make sure the template engine is not HTML-escaping them, or & will appear inside your JSON.
WordPress without buying a plugin. Add it from the theme's functions.php with the wp_head hook, which prints into the head of every page. Guard it so it only fires on the page you mean:
add_action('wp_head', function () {
if (!is_page('contact')) return;
echo '<script type="application/ld+json">' . wp_json_encode($business) . '</script>';
});Wherever it goes, put it on the page that is actually about the business: the contact page, or the location page, or the home page of a one-location site. Google notes you can add LocalBusiness data to any page, but that it makes more sense on a page containing information about your business.
Two branches means two blocks
A shop with a second branch is not one block with two addresses. Google's instruction is to define each local business location as its own LocalBusiness type, and its definition of url is the fully-qualified URL of the specific business location, which must be a working link.
So the shape is one page per branch, and one block per page, each with its own url, its own address, its own geo and its own hours. A T. Nagar page points at https://www.example-clinic.in/t-nagar/ and an Adyar page points at https://www.example-clinic.in/adyar/. Do not give both pages the home page URL, and do not copy the same block onto both.
Two practical consequences. First, you need those pages to exist and to carry real, different content: the branch address, its hours, its phone number, directions, the staff there. A duplicate page with one word changed helps nobody. We wrote about building those pages properly in local business website design. Second, each one needs its own check at the end of this page, because a branch page that nobody linked to is the one that quietly returns a 404.
If you only have departments inside a single building, that is a different case: Google supports a department property on the parent business rather than separate pages.
Prove the live page really serves it
This is the step that separates a block that works from a block that exists in your editor. Google's own instructions say to deploy the pages, use the URL Inspection tool to see how Google sees the page, and be sure that the page is accessible to Google and not blocked by a robots.txt file, the noindex tag, or login requirements.
Three checks, in order, and two of them are free tools on this site.
One: the URL answers 200 with HTML. Put the full page URL into the HTTP header checker. It fetches the URL from a server and reports the status code, the protocol and the response time, then lists every response header. Run against a page on this site, it returned 200, HTTP/1.1, 73 ms, and Content-Type: text/html; charset=utf-8. Those are the two lines that matter. A 301 or 302 means the block may be sitting on a URL that redirects elsewhere, and the destination is the page that needs the markup. A 404 means you are checking a page that does not exist, which happens more often with a new branch page than anyone expects. A content type that is not text/html means something is serving the wrong thing entirely.
The same report lists your security headers, which is a useful side effect rather than the point here. If that part interests you, we covered it in the website security headers checklist.
Two: Googlebot is allowed to fetch it. Put your domain into the robots.txt checker. It fetches https://yourdomain/robots.txt, tells you whether the file exists and how large it is, and lays out every user-agent group it found with the number of Allow and Disallow rules in each, flagging any group that blocks everything with Disallow: /. It lists the Sitemap: lines, warns when there are none, and shows the complete file under "Full robots.txt".
Be clear about what that gives you. The tool reports the file and its groups; it does not match your one URL against the rules for you. So open the full file and read it yourself, with two things in mind. A crawler that matches a named group ignores the * group entirely, so if your file has a User-agent: Googlebot section, only that section applies to Google, and a path blocked under * but absent there is not blocked for Googlebot. And a Disallow: line is a prefix match, so Disallow: /loc blocks /locations/adyar/ as well. Run on this site's domain, the tool found the file at 200, 2,635 bytes, fourteen user-agent groups, and one sitemap line.
Robots.txt is not the only way to be invisible. A noindex meta tag or an X-Robots-Tag header will keep the page out of the index even when robots.txt allows the crawl, and the header checker above will show you an X-Robots-Tag if one is there. If the page is missing from search altogether, website not showing on Google walks through the other causes.
Three: Google itself reads the block. Run the live URL through the Rich Results Test, then, once the page is in Search Console, use URL Inspection on it. The Rich Results Test tells you what Google parsed from the page as fetched. URL Inspection tells you what Google has stored for that URL, which is the only answer that reflects the live index. Search Console also has an Unparsable structured data report, which is where a block broken by a stray comma turns up.
Order matters. Formatter, then validator, then live status, then crawlability, then Google's own fetch. Skipping to the last one and getting nothing tells you very little about why.
Write the listing that sits beside it
Structured data does not write your blue link. The title tag and meta description do, and they are what a person actually reads before deciding to click.
Draft them in the SERP preview. It counts the title against 60 characters and the description against 160, shows the breadcrumb-style URL Google displays, and truncates the preview the way a result does, so an overlong title is obvious rather than theoretical. A title and description for the example clinic rendered like this:
www.example-clinic.in › contact
Greenway Dental Care | Dentist in T. Nagar, Chennai
Family dentist in T. Nagar, Chennai. Open Monday to Saturday,
9.30 am to 7 pm. Walk in or call +91 44 4201 5566 to book a check-up.For a local business, put the locality in both. Someone searching "dentist in T. Nagar" is scanning for the neighbourhood, and a title that reads "Welcome to Our Website" loses to one that names the neighbourhood. Keep the hours and the phone number in the description honest, and matching the block: the markup, the visible page and the snippet should agree.
The ten minute version
- Fill the nine LocalBusiness fields in the schema markup generator.
- Fix the India fields:
IN, the six-digit PIN inpostalCode, the state inaddressRegion, the phone as+91and ten digits with no spaces. - Add
openingHoursSpecificationandgeoby hand, with five decimal places on the coordinates. - Change
@typeto the most specific sub-type that fits. - Run the edited block through the JSON formatter, then the Schema Markup Validator.
- Paste it into the head of the page that is genuinely about the business, one block per location page.
- Check the live URL returns 200 and HTML with the HTTP header checker.
- Check your robots.txt with the robots.txt checker and read the group that applies to Googlebot.
- Run the live URL through the Rich Results Test, then URL Inspection in Search Console.
- Write the title and description in the SERP preview.
Expect nothing dramatic. A correct block makes a page eligible for features it was not eligible for before, and it gives Google an unambiguous reading of your name, address, hours and location. That is a foundation, not a campaign. If the rest of the site is the problem rather than the markup, that is a different job, and it is the one we do on our local business website projects.
Tools mentioned in this post
- Schema Markup GeneratorValid JSON-LD for Organization, LocalBusiness, Article, Product or FAQ, ready to paste into the head.
- JSON Formatter & ValidatorFormat, validate and minify JSON with precise error locations.
- HTTP Header CheckerInspect any URL’s response headers and get a security-header report card.
- Robots.txt CheckerFetch and lint any site’s robots.txt: catch the Disallow that deindexes you.
- Google SERP PreviewSee how your title and description will look in Google results, before you publish.


