LocalBusiness Schema.
Fill in your business details. We generate valid schema.org LocalBusiness JSON-LD you can paste straight into your homepage to help Google understand your business.
Paste the JSON-LD inside the
of your homepage. Validate with Google Rich Results Test before publishing.What you'll get.
A real example of what this tool produces. Run it above with your own inputs.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Bakery",
"name": "Copper Oven",
"image": "https://copperoven.in/og.jpg",
"telephone": "+91-98765-43210",
"url": "https://copperoven.in",
"priceRange": "INR",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Lane 7, Koregaon Park",
"addressLocality": "Pune",
"addressRegion": "MH",
"postalCode": "411001",
"addressCountry": "IN"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 18.5362,
"longitude": 73.8939
},
"openingHours": "Tu-Su 08:00-20:00"
}
</script>Schema.org structured data is the language Google reads to understand what your website is about. Adding a LocalBusiness JSON-LD block to your homepage tells Google your business type, name, address, phone, hours, geo coordinates, and website. With this in place, your Google Business Profile, your rich search results, and your Maps presence all get a more accurate, trusted reading. Without it, Google has to guess from your page text, and the guess is often wrong.
This tool generates a valid LocalBusiness JSON-LD block in your browser. You fill in the basic business details, pick a more specific business type if one fits (Restaurant, Bakery, JewelryStore, MedicalClinic, and others), and we emit a clean script block you can paste directly inside the
of your homepage. Nothing leaves your machine. The output validates against the official schema.org spec and passes Google Rich Results Test.How to use the localbusiness schema generator
Type your business name exactly as it appears on your bank account and signboard.
Pick the most specific business type that fits. Restaurant for restaurants, JewelryStore for jewellers, MedicalClinic for clinics. If nothing fits, leave the default LocalBusiness.
Add your website URL, a short description, and optionally a logo URL.
Fill in the full address: street, city, state, and PIN code. The country is fixed to India in the output.
Add your business phone number in international format with country code.
Optionally add the exact latitude and longitude from Google Maps (right-click on Maps, copy coordinates). This helps Google place you precisely.
Click Generate JSON-LD, then Copy. Paste the entire script block inside the
of your homepage HTML. Validate with the Google Rich Results Test at search.google.com/test/rich-results before publishing widely.
Why this matters for your business
Three reasons LocalBusiness schema is one of the highest-leverage SEO additions a small business can make.
It unlocks rich results. When Google understands your business type, name, address, and reviews, it can show your business with rich snippets in search: stars, hours, phone numbers, and map cards. These visual elements lift click-through rate by 10 to 30 percent over plain text results.
It cleans up Maps and Knowledge Graph. Inconsistent name-address-phone (NAP) data across your website, Google Business Profile, and other directories is one of the biggest causes of weak local SEO. LocalBusiness schema on your homepage is one of the strongest signals Google uses to disambiguate the truth.
It is one of the easiest fixes. A 30-line JSON-LD block in your homepage HTML takes 10 minutes to add and stays correct for years. Compare that to the work of building backlinks or writing content for the same ranking lift.
Tips for better results
- Pick the most specific business type. Restaurant beats LocalBusiness. JewelryStore beats Store.
- Always include the address. Even online-only businesses should include their registered office address.
- Use international phone format with country code. +91 98765 43210, not 9876543210.
- Add geo coordinates from Google Maps. Right-click your business pin, copy the lat-lng pair.
- Validate with Google Rich Results Test before publishing. Errors are silent if you do not test.
- Match the schema NAP exactly to your Google Business Profile NAP. Mismatch causes ranking dilution.
- Update the schema if you move location, change phone, or rename the business. Stale schema misleads Google.
Example
A real-world walkthrough
A Bakery in Pune fills in: business name Copper Oven, business type Bakery, URL https://copperoven.in, description "Sourdough and seeded loaves, Pune", street Lane 7 ABC Road, city Pune, state Maharashtra, PIN 411001, phone +91 98765 43210, lat 18.520430, lng 73.856743. The tool emits a clean JSON-LD block. She pastes it in the head of her homepage HTML, validates on Google Rich Results Test (passes), publishes. Three weeks later, her bakery starts appearing in the "Bakeries near me" map pack in Pune searches that previously did not surface her, and her Google Business Profile clicks rise meaningfully.
Frequently asked questions
Why JSON-LD and not microdata or RDFa?
JSON-LD is the format Google explicitly recommends for structured data, which is the main reason this tool produces it. The big practical advantage is separation: JSON-LD lives in a single self-contained script block, usually in the head of your page, and describes your business as a tidy block of data without tangling itself into your visible HTML. Microdata and RDFa, the older alternatives, work by sprinkling extra attributes throughout your page markup, wrapping your name, address and phone number in special tags, which means every time you redesign the page you risk breaking the structured data. Because JSON-LD sits apart from the layout, it is far simpler to maintain, easier to read, and easier to debug in Google Rich Results Test. For a small business owner who is not a developer, that matters: you update the schema in one place without touching the rest of the site. So while all three formats are valid, JSON-LD is the cleanest, most future-proof choice, and the one Google prefers.
Where do I paste this?
Paste the generated JSON-LD inside the head section of your homepage HTML, where structured data is conventionally placed and where Google reliably reads it. How you do that depends on your platform. On most modern site builders, including Neweb, you add it through a custom code or script block in the page or site settings, so you do not edit raw files at all. On WordPress, the easiest routes are your SEO plugin, many of which have a dedicated field for custom schema, or a lightweight header-insertion plugin that injects code into the head sitewide. On a hand-built static site, you simply place the script tag in the head of your HTML file. The key points are that it belongs in the head rather than the body, that you paste the complete script block including its opening and closing tags, and that you do it on your homepage. After pasting, run the page through Google Rich Results Test to confirm the schema is detected and error-free.
Will this guarantee rich results?
No, and it is important to be clear-eyed about this. Adding valid LocalBusiness schema makes your business eligible for enhanced search appearances and helps Google understand exactly who you are, where you are and how to reach you, but it does not guarantee that rich results, star ratings, knowledge panels or enhanced listings, will actually show. Whether Google displays them is at Google discretion and depends on many signals beyond the markup, including your overall site authority and trust, whether you have genuine reviews, the quality of your content, and how well your information matches other sources like your Google Business Profile. In other words, schema is necessary but not sufficient: it is the structured foundation that makes rich results possible, while the surrounding factors decide whether Google grants them. The right way to think about it is that correct schema removes the technical barrier and gives you the best chance, and you improve your odds by keeping details accurate and earning real reviews.
Should I add the schema to every page or just the homepage?
For LocalBusiness schema, the homepage is the primary and most important place, since it is the page Google most strongly associates with your business identity. It is also sensible to add it to a small number of other directly relevant pages, most notably your Contact page, where your address, phone and hours naturally live, and sometimes your About page. What you should not do is paste the same LocalBusiness block onto every single page of your site, including blog posts and unrelated content, because indiscriminate duplication looks like schema bloat, adds no value, and can muddy how cleanly Google reads your structured data. The guiding principle is to place the markup where the business-information context genuinely fits, the pages a customer visits to learn who you are and how to reach you, rather than scattering it everywhere. Keep the details identical across the few pages where it appears, and let your homepage carry the canonical version that Google treats as authoritative for your local business.
How do I get latitude and longitude?
The quickest way to get your exact latitude and longitude is through Google Maps. Open Google Maps in a browser, find your business or its precise location, then right-click directly on the map pin or the exact spot. The first item in the menu that appears is the latitude and longitude pair, shown as two decimal numbers; click it to copy the pair to your clipboard, then paste it into this tool. Accuracy matters, so right-click on your actual building entrance rather than a rough area, because the coordinates feed the geo data in your schema and influence how precisely you are placed on maps. On the Google Maps mobile app the gesture differs slightly, but you can drop a pin and read the coordinates from the place details. If your business is already verified on Google Business Profile, its coordinates there will match, which is a useful consistency check, since you want the same precise location across your schema, your profile and your website.
Do I need opening hours in the schema?
If your business keeps set opening hours, including them in your structured data is worthwhile, because hours are one of the details customers most want to see and Google often surfaces them directly in local results, so accurate hours can be the difference between someone visiting and someone moving on. In schema terms, opening hours are expressed through an openingHoursSpecification block that lists the days and the open and close times. This tool currently generates the core LocalBusiness schema, your name, address, phone and location, and adding the openingHoursSpecification is on the roadmap, so for now you would append that block manually if you want it immediately. In the meantime, keep your hours correct and consistent on your Google Business Profile, which is where most local searchers actually read them and which Google weights heavily. When the hours field arrives in the tool, keep the schema hours identical to your profile hours, since conflicting times confuse both customers and Google.
Does the schema work for multi-location businesses?
Yes, but multi-location businesses need a slightly different structure than a single shop. The recommended pattern for a chain or a business with several branches is to use one Organization schema to represent the overall brand, and then a separate LocalBusiness schema for each individual location, with each location schema placed on its own dedicated location page rather than all bundled together. That way Google can understand both the parent brand and each physical outlet, with its own address, phone, hours and coordinates, which is how local search wants to index a chain. This tool generates a single LocalBusiness block, so for a multi-location business the practical approach is to run it once per branch, entering that branch specific details each time, and place each generated block on the matching location page. Keep every location page genuinely distinct, with its own address and unique content, since thin duplicate pages can hurt rather than help.
Are inputs sent anywhere?
No, nothing you enter is sent anywhere; the entire schema generation runs locally in your browser. The business details you type, your name, address, phone number, coordinates and the rest, are assembled into JSON-LD right on your own device, with no request carrying that information to us or to any third-party server. That keeps your business data private and means there is no copy of it sitting on someone else system, which is the same privacy-first approach we take across these tools. Because the work happens on-device, the tool is also instant, with no waiting on a server round trip, and you can generate and regenerate the markup as many times as you like while you fine-tune the details. The only thing to remember is that, since nothing is stored for you, you should copy the generated JSON-LD and paste it into your site, or save it in your own files, before you close the tab.
Your entire online presence, on one subscription.
All industries and more. Website, free domain, Google Business and SEO autopilot from ₹249/month.