Select your business type, fill in your details and get valid JSON-LD schema markup instantly. The output panel updates live as you type.
Select the schema type that best matches your business, LocalBusiness, Restaurant, Dentist, Hotel, LegalService and 10+ more. The form fields update automatically for your type.
Enter your business name, address, phone, website, opening hours and other details. Every field updates the JSON-LD output in real time as you type.
The live validation panel checks your schema against Google's required properties. Green ticks = ready to publish. Fix any warnings before going live.
Click Copy to Clipboard or Download as .json. Paste the <script> block into the <head> of your page. Test with Google's Rich Results Test tool.
LocalBusiness schema is code on your website that states your name, address, phone and hours in a format search engines read directly. It uses the Schema.org vocabulary, the shared standard Google, Bing and other engines agree on. A local schema generator writes that JSON-LD for you so the syntax is right, because a missing bracket means the whole block is ignored silently.
It exists to confirm, not to persuade. Google already knows about you from your Business Profile and from directories. Your schema is one more source agreeing with the others, which is why it has to match them exactly. Same legal name, same address formatting, same phone. A schema that contradicts your profile does not add a vote, it adds a doubt.
One rule with teeth. Never mark up reviews you do not have. Fake aggregateRating is a manual action, not a warning. Done right, matching schema also feeds the knowledge panel Google shows for established businesses.
Written by Chirag Arora, digital marketing consultant with 17+ years of hands-on SEO experience across 500+ projects. He designed this tool and the other 22 free tools on this site. Verify on LinkedIn.
| Field | Worth it? | Why |
|---|---|---|
| name, address, telephone | Required | Without these the block does nothing. They must match your Google Business Profile character for character |
| openingHours | Yes | High value and commonly missing. It is the field most likely to appear in a result |
| geo coordinates | Yes | Helps when your address is ambiguous or newly built. Cheap to add |
| sameAs | Yes | Links your profiles together. This is how you tell Google that these accounts are all you |
| priceRange | Barely | A vague signal that has never done much. Add it in ten seconds, expect nothing |
| aggregateRating | Only if real | Marking up reviews you do not have is a manual action. Sites get deindexed for this, not warned |
The aggregateRating row is not a caution, it is the one that ends businesses. Google requires that review markup corresponds to reviews actually visible on that page. Marking up ratings you invented, or ones that live only on Google, is a policy violation with real consequences. Plenty of agencies still add it by default because the stars lift click-through. If your reviews are on your Google Business Profile rather than your website, they do not belong in your site's schema. Google's review snippet documentation is explicit.
After adding schema to your page, test it with Google's Rich Results Test (search.google.com/test/rich-results). Google must be able to crawl and validate it before showing Rich Results in search. Errors in your markup will silently prevent Rich Results.
Your schema NAP must be 100% identical to your Google Business Profile. Mismatches confuse Google's entity recognition and can undermine both your schema and your local rankings. Copy your address character-for-character from your GBP listing.
Including AggregateRating in your LocalBusiness schema can trigger star ratings in Google search results, one of the highest CTR-boosting SERP features available. You need at least 1 review and a rating between 1 and 5 to qualify.
This tool outputs JSON-LD because Google recommends it over Microdata and RDFa. JSON-LD sits in one script block and never touches your visible HTML, so it is cleaner to add and far less prone to errors than markup woven through the page. If you serve customers at their location rather than a storefront, use the areaServed property to name the cities or regions you cover, and you can skip the public street address the same way a service area business does on its profile. If you run several branches, give each location page its own separate schema block with that branch's real details, and never copy one block with the same @id across every page, because Google flags duplicated identifiers and it weakens trust in all of your markup.
Audit your Google Business Profile across 40+ ranking factors, completeness, reviews, photos and engagement.
Launch ToolCheck NAP consistency across 20+ directories and find missing or incorrect citations hurting your Map Pack rankings.
Launch ToolGenerate optimised title tags, meta descriptions and Open Graph tags for your local landing pages.
Launch ToolThis free local schema generator writes valid LocalBusiness JSON-LD from your details. Fill in your name, address, phone and hours, then it produces a script tag to paste into your site head. It runs online with no account and nothing to install, and the output works on any platform because it is just JSON-LD.
The mistake I find most often is not invalid code, it is code that disagrees with itself. A business has Acme Ltd on its Google Business Profile, Acme Limited in its schema and a different phone number on the contact page. Then it wonders why local rankings are soft. Schema is a confirmation signal. Its entire job is to agree with everything else you have published, so a contradiction actively costs you: Google now holds two versions of your business and has to guess. Across 500+ projects, matching the profile exactly has moved more local rankings than adding any clever extra field.
So generate the markup here, then check it says the same thing as everything else. Score the profile itself with the free Google Business Profile audit, fix the directories with the free local citation checker, and confirm the code is valid with the free schema validator.
Two things lift markup from present to useful. Reach for the most specific sub-type that fits, a Restaurant or Dentist rather than a plain LocalBusiness, and go past the required name and PostalAddress to the fields Google actually rewards, geo coordinates that place the map pin, an openingHoursSpecification for every day, priceRange, and sameAs links to your profiles that tie the whole business into one entity. It pays off beyond the map pack now, AI assistants read this same structured data to answer near me and open now questions, and clear, consistent local markup is part of what makes them confident enough to name you. Fewer than one local site in twenty ships it, so getting this right is a quiet edge.
Common questions about this free tool, answered clearly.
Indirectly, and only by confirming what Google already believes. Schema is not a ranking factor on its own. What it does is agree with your Google Business Profile and your citations. That consistency builds the confidence Google calls prominence. Adding schema to a business whose details already match everywhere is a small gain. Adding it to one whose details contradict everywhere makes things worse, because now there is one more conflicting source.
No, and this is the mistake that gets sites penalised rather than warned. Google requires review markup to correspond to reviews actually visible on that page. Reviews that live on your Google Business Profile are not on your website, so marking them up is a policy violation. Agencies still do this by default because the stars lift click-through, and it is a manual action waiting to happen. If the reviews are not on your page, leave aggregateRating out.
Yes, and this is the whole point of the exercise. Same legal name, same address formatting and same phone number, character for character. Acme Ltd in one place and Acme Limited in another gives Google two versions of you and no way to tell which is right. The value of schema is confirmation, so a schema that contradicts your profile is worse than no schema at all.
LocalBusiness is for a business people can physically visit or that serves a defined area, so it carries the address, the hours and the geo. Organization is the broader type for any company, with no assumption of a location. If you have a shop, a clinic, a restaurant or a service area, use LocalBusiness. Pick the most specific subtype that fits, such as Restaurant or Dentist, because specificity helps.
In your page head, inside a script tag with type application/ld+json. Put it on the page that represents that location, usually your homepage for a single site business or the individual location page if you have several. Do not put the same LocalBusiness block on every page. It should describe the page it sits on. WordPress users can paste it into a theme head field or an SEO plugin's schema section.
Validate it first, then wait. Run the output through a schema validator to confirm the syntax is right and the required fields are present. Then check Search Console over the following weeks to see whether Google has picked it up. Do not expect a visible change. Most LocalBusiness markup never produces a rich result. It works quietly by confirming what you have said elsewhere.
This free tool writes the markup. If you would rather have someone make every source agree, here are a few honest reasons businesses hire me as their SEO and digital marketing consultant in India.
Your profile, your citations and your schema should say identical things. They almost never do. Reconciling them has moved more local rankings for my clients than any clever tactic.
I started as a technical SEO trainee, not in a management seat, and I still write the JSON-LD myself. You get direct expertise, not a ticket passed to a developer.
The schema generator you just used, I designed it, along with 22 other free SEO tools on this site. It is a direct look at how I work before you ever become a client.
I will not mark up reviews you do not have on the page, however much the stars would lift your click-through. It is a manual action, and I would rather tell you that than take the fee.
Messages get a reply within 24 hours on business days, and WhatsApp is the fastest way to reach me for anything urgent. You are not waiting in a support queue.
AI assistants answer local questions now, and structured data is what they read. Being unambiguous about who and where you are matters more each year.
"Our schema said Acme Limited while Google said Acme Ltd, and the contact page had an old mobile number. Chirag made all three identical and local visibility improved within a month."
"A previous agency had marked up our Google reviews on our own site. Chirag removed it and explained why before it cost us. His 17+ years of experience really shows."
"As a small business, we started with Chirag's free tools, then hired him. Ranked Page 1 for our main terms within 3 months. Practical, no fluff, real value."
Featured on leading media platforms. Watch interviews, expert commentary and digital marketing insights covered by top news channels and podcasts.
CMD Club Meet 2025 at Club Capri, Gurgaon : A Brief of ClipsTrust
YouTube Β· Business Meet
How to Build Customer π₯Trust π₯ - Biggest Challenges Today
Eventra vlogs
Digital Marketing Beginner to Advanced Journey | Podcast b/w Chirag Arora & Pankaj
YouTube Β· Podcast Episode