Free tool

Free Local Business Schema (JSON-LD) Generator

Structured data tells Google, Bing and AI assistants exactly who you are: your business name, what kind of business you are, where you are or which areas you serve, your phone number and your opening hours. Fill in your details once and get clean LocalBusiness JSON-LD to paste into your website, using the most specific business type for your trade. We also read your current homepage and tell you which schema is already there, and whether its name and phone match what you entered.

Step 1: verify your email

We send a 6-digit code. Verify once and use every free tool for 30 days. We send no other emails.

What the generator builds for you

You enter your business details; the generator turns them into one valid JSON-LD block that follows schema.org and Google’s local business guidelines:

  • The most specific type for your trade (for example Plumber, HVACBusiness, Dentist, HairSalon or Restaurant) instead of the generic LocalBusiness, so search engines know what you do.
  • Name, website, phone in international format, and a full postal address. Service-area businesses that hide their street address can leave it out and list the towns they serve instead (areaServed).
  • Opening hours as openingHoursSpecification (weekdays, Saturday, Sunday, or open 24 hours), map coordinates (geo), your Google Maps link (hasMap), logo, photo, price range and your social profiles (sameAs).
  • For restaurants, cafés and bakeries: cuisine, menu link and whether you take reservations.
  • A stable @id (your homepage URL + #business) so other pages and tools can point at the same business entity.

Why local business schema still matters

Google says it uses structured data to understand a page and may show business details such as hours and location in results and on Maps. Schema does not replace your Google Business Profile, which is still the main source for the map pack, but it gives every search engine and AI assistant the same, machine-readable version of your name, address and phone. That consistency is what local SEO is built on; read our guide on NAP consistency and local citations for the full picture.

It also helps beyond Google. Bing, Apple and AI answer engines read JSON-LD to decide which business a page belongs to and when you are open. A missing or wrong phone number in your schema is one more conflicting signal, and conflicting signals are what keep small businesses out of the top results. See local SEO for small business for how schema fits with reviews, citations and your profile.

Where to paste the code

Put the block once, on your homepage (or on each location page if you have several branches with different addresses):

  • Custom or hand-coded site: paste it inside the <head> of the homepage template, or right before </body>. Both work.
  • WordPress: use a header/footer code plugin or your SEO plugin’s custom schema option, and switch off any other plugin that already outputs LocalBusiness so you do not publish two different versions.
  • Wix: open the page’s SEO settings, go to Advanced SEO and add it under structured data markup.
  • Squarespace: use code injection for the homepage (available on plans that include code injection).
  • Then test the live page with Google’s Rich Results Test and the Schema Markup Validator (validator.schema.org), and request indexing in Search Console.

Mistakes that make schema useless

The most common problem we see when we rebuild sites is duplicate or contradicting schema: a theme outputs one LocalBusiness block, an SEO plugin another, and they disagree on the phone number or the business name. Search engines then have to guess. The live-site check in this tool shows you every schema type already on your homepage, so you can replace the old block instead of adding a second one.

Other mistakes: marking up a business name stuffed with keywords (use your real name, exactly as on your sign and your Google profile), adding star ratings for your own business (Google does not show review stars for self-serving LocalBusiness or Organization reviews, so this generator never adds them), and leaving hours in the schema that no longer match your real hours. If you are also adding FAQ markup, read our FAQ schema guide first: FAQ rich results are no longer shown in Google for any site.

Frequently asked questions

What is LocalBusiness schema?
It is structured data, usually written as a JSON-LD script, that describes your business in a format search engines can read: type of business, name, address or service area, phone, hours, location and links. It follows the schema.org vocabulary, which Google, Bing and other search engines use.
Does schema markup improve my Google ranking?
Not directly. Google treats structured data as a way to understand your page and to make it eligible for certain search features, not as a ranking boost. It helps indirectly by making your name, address, phone and hours consistent and unambiguous everywhere, which supports local SEO alongside your Google Business Profile and reviews.
Which fields does Google require for local business markup?
Google’s local business documentation lists the business name and address as required, and recommends geo coordinates, opening hours, phone, URL, price range and, for restaurants, menu and cuisine. This generator asks for all of them and tells you which recommended fields are still missing.
I am a service-area business without a public address. What should I do?
Tick the service-area option. The generator leaves out your street and keeps the city, region and country, and adds the areas you serve as areaServed. That matches a Google Business Profile with a hidden address. Never publish a home address you have hidden on your profile.
We work remotely and serve clients worldwide. Do we need LocalBusiness schema?
No. LocalBusiness is for businesses that customers visit or that serve a local area, and Google expects a real address for it. A remote or online business should use Organization with areaServed set to Worldwide (or the countries you serve), plus your phone and contact hours in contactPoint. Tick the remote option and the generator builds exactly that, with no street address.
Can I add review stars to my own business schema?
You can technically, but Google does not show review stars for reviews a business publishes about itself in LocalBusiness or Organization markup, and fake or copied review markup can get a manual action. Collect reviews on your Google profile instead; our guide on getting more Google reviews explains how.
How do I check that the schema works?
After pasting it, test the live page in Google’s Rich Results Test and in validator.schema.org. Then run this tool again: the live-site check will show the LocalBusiness block it finds and whether its name and phone match your details.
Is the generator free?
Yes. You confirm your email once with a 6-digit code, then you can use the generator and every other ITCM tool as often as you like for 30 days. We never send you marketing emails.

Related guides & services

Get a website + app built for free

We build your website and mobile app first, and you see it finished. If you’re happy, you pay $150 one-time. If you’re not, you pay nothing.

See the $150 offer Free website audit