Neweb / Free tools / LocalBusiness Schema Generator

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.

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

  1. Type your business name exactly as it appears on your bank account and signboard.

  2. Pick the most specific business type that fits. Restaurant for restaurants, JewelryStore for jewellers, MedicalClinic for clinics. If nothing fits, leave the default LocalBusiness.

  3. Add your website URL, a short description, and optionally a logo URL.

  4. Fill in the full address: street, city, state, and PIN code. The country is fixed to India in the output.

  5. Add your business phone number in international format with country code.

  6. Optionally add the exact latitude and longitude from Google Maps (right-click on Maps, copy coordinates). This helps Google place you precisely.

  7. 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?

Google recommends JSON-LD. It is simpler to maintain, easier to debug, and does not entangle your HTML markup with semantic tags. Microdata and RDFa work but are harder to keep clean.

Where do I paste this?

Inside the tag of your homepage HTML. Most CMSes including Neweb let you add a custom script block in page settings. On WordPress, use the SEO plugin or a header insertion plugin.

Will this guarantee rich results?

No. Rich results are at Google's discretion based on many signals, including your site authority, review presence, and content quality. Schema is necessary but not sufficient.

Should I add the schema to every page or just the homepage?

For LocalBusiness, the homepage is the primary place. Add it to other relevant pages like Contact and About. Do not duplicate it on every page; that triggers schema bloat warnings.

How do I get latitude and longitude?

Open Google Maps, find your business, right-click on the pin, and the first menu item shows the lat-lng pair. Click to copy. Paste into the tool.

Do I need opening hours in the schema?

If you have set hours, yes. This tool generates the core schema; for opening hours add an openingHoursSpecification block. We will add this to the tool in a future iteration.

Does the schema work for multi-location businesses?

For chains, generate one Organization schema for the brand and a LocalBusiness schema per location, each on the page for that location. This tool generates a single LocalBusiness; chains should produce one per branch.

Are inputs sent anywhere?

No. Generation runs entirely in your browser. The JSON-LD is built locally.

All industries →  ·  Pricing  ·  All free tools

Your entire online presence, on one subscription.

All industries and more. Website, free domain, Google Business and SEO autopilot from ₹249/month.

'; document.getElementById('lb-out').textContent = script; } document.getElementById('lb-go').addEventListener('click', render); document.querySelectorAll('#lb-name,#lb-type,#lb-url,#lb-desc,#lb-logo,#lb-phone,#lb-street,#lb-city,#lb-region,#lb-postal,#lb-lat,#lb-lng').forEach(function(el){ el.addEventListener('input', render); el.addEventListener('change', render); }); document.getElementById('lb-copy').addEventListener('click', async function(){ var t=document.getElementById('lb-out').textContent; if(!t)return; try{ await navigator.clipboard.writeText(t); var b=this, o=b.textContent; b.textContent='Copied ✓'; setTimeout(function(){b.textContent=o;},1400);}catch(_){this.textContent='Copy failed';} }); render(); })();