Free Local Business Schema Generator

A local business schema generator builds the structured data (JSON-LD) that tells Google who you are, where you are and when you're open. Fill in the form, copy the code and paste it into your website. It's free, there's nothing to sign up for, and it covers more than 60 business types.

  • Free, no account needed
  • Valid LocalBusiness JSON-LD
  • Live preview and checklist
Jump to your code ↓

Business

Contact and address

Map location

In Google Maps, right-click your pin and click the coordinates to copy them.

Opening hours

Tick the days you're open. Unticked days count as closed.

DayOpensCloses

Services and areas

More details

Social profiles

Tick the profiles you have and a link box appears for each.

How to add local business schema to your website

Once your code is ready, adding it takes a few minutes. Put it on the page that describes the business, which is usually your homepage or the page for that location.

  1. Copy the code. Use the "Script tag" version if you're pasting it into a page. It already includes the <script type="application/ld+json"> wrapper.
  2. Paste it into your page. Google reads JSON-LD in the head or the body, so either works.
  3. Test it. Run the page through the Rich Results Test and the Schema Markup Validator, and fix anything they flag.
  4. Ask Google to recrawl. In Search Console, open URL Inspection, enter the page and click Request indexing.

WordPress and Elementor

Edit the page in Elementor, add an HTML widget and paste the script tag. If you don't use Elementor, a header and footer plugin or the custom code option in Rank Math or Yoast will do the same job. Limit it to the one page it describes.

Wix, Shopify and Squarespace

Menu names change from time to time, so look for "custom code", "code injection" or the theme's head section. Paste the script tag there and restrict it to the right page if the builder lets you.

Google Tag Manager

Create a Custom HTML tag, paste the script tag, and set the trigger to fire only on the page the markup belongs to.

What is LocalBusiness schema?

Schema.org is a shared vocabulary that search engines use to read details on a web page. LocalBusiness is one of its types, built for businesses with a physical location or a service area. Add it to your site and you're giving Google a clean, labeled copy of your business details: name, address, phone number, opening hours, map coordinates and so on.

The preferred format is JSON-LD, a block of code that sits on the page and doesn't change how it looks. That's the format this local business schema generator produces. Google recommends it over older formats because it's easier to add, edit and remove without touching the rest of your page.

Specific types such as Dentist, Plumber or Restaurant inherit everything from LocalBusiness and add detail for that kind of business. If one fits you, use it.

Does local business schema help your local SEO?

It helps, but it isn't a switch that pushes you up the results. Google has said structured data isn't a ranking factor on its own. What it does is remove guesswork. When your name, address and phone number are labeled the same way on your site, your Google Business Profile and your listings elsewhere, search engines can match them with more confidence.

Schema also makes your page eligible for some search features and keeps your details consistent where Google chooses to show them. Treat it as one part of a bigger local SEO setup, next to a complete Google Business Profile, steady reviews, local citations and a fast site. If you want a hand with the rest, our local SEO team can help.

What each field in the schema means

A quick reference for the properties this generator creates.

PropertyWhat to enterTip
@typeThe most specific business type that matches youUse LocalBusiness only if nothing else fits.
nameYour business name as customers know itMatch your signage, website and Google Business Profile.
addressStreet, city, state, postal code and countryUse the same format everywhere you list your address.
telephoneThe number customers call, with country codeFor example +91 98765 43210.
urlThe page that represents the businessUse the full address, starting with https://.
openingHoursSpecificationThe days and times you openLeave out the days you're closed.
geoLatitude and longitude of your locationCopy them from Google Maps by right-clicking your pin.
image and logoDirect links to a photo and your logoUse public images on your site that end in .jpg, .png or .webp.
priceRangeA rough price level, like $$ or ₹500-₹2000Keep it short.
areaServedThe cities or regions you serveMost useful for service-area businesses.
sameAsLinks to your social profiles and official pagesOnly list profiles you actually run.

Top tips and mistakes to avoid

  • Mark up only what's on the page. If the markup says you open at 8am and the page says 9am, Google sees a mismatch. Your schema should match what visitors can read.
  • Keep your name, address and phone number identical everywhere. "Sector 17" on your site and "Sec. 17" on your listings is the kind of small difference that causes confusion.
  • Choose a specific type. Dentist tells Google far more than LocalBusiness does.
  • Skip self-written reviews and ratings. Marking up ratings you collected yourself on your own site doesn't qualify for review stars and can get the markup ignored. Real reviews belong on your Google Business Profile.
  • Don't copy someone else's code and forget to edit it. It happens more than you'd think, and it ends up pointing Google to the wrong business.
  • One location, one page, one block. If you have three branches, give each its own page and its own markup.
  • Update it when things change. New phone number, new hours, new address: change the schema the same day.
  • Test every time. Run the live page through the Rich Results Test after you publish, not just the code.

Why use this local business schema generator

Writing JSON-LD by hand is easy to get wrong. A missing comma or an unclosed bracket breaks the whole block. Many online tools also ask for an email or hide the useful parts behind a paid plan. This one doesn't.

  • Free to use, with no account and no email required
  • Over 60 business types, from Dentist and Plumber to Restaurant and Hotel
  • A searchable list of every country for the address
  • Image links checked for .jpg, .png and .webp, and social links checked as you type
  • Opening hours grouped automatically into clean OpeningHoursSpecification blocks
  • Copy the code, or download it as a .json or .html file
  • Works in your browser, and your details are not sent to our servers

Local business schema questions, answered

Short answers to what people ask us most.

What is a local business schema generator?

It's a tool that builds LocalBusiness structured data in JSON-LD from a simple form, so you don't have to write the code by hand. You enter your business details and it gives you a block of code to paste into your website.

Is this local business schema generator free?

Yes. It's free to use, there's no sign-up, and there's no limit on how many schema blocks you can create.

What is LocalBusiness schema markup?

LocalBusiness is a type from Schema.org that describes a business with a physical location or a service area. It lets you pass details like your name, address, phone number, opening hours and map coordinates to search engines in a format they can read directly.

Does local business schema improve rankings?

Not directly. Google has said that structured data itself isn't a ranking factor, but it helps Google understand your page and keeps your business details clear and consistent. It works best alongside a complete Google Business Profile, real reviews and a well-built website.

Where do I put the schema code on my website?

Paste it into the head or body of the page that describes the business, usually the homepage or a location page. Google reads JSON-LD in either place. In WordPress you can use an HTML widget, a header and footer plugin, or the custom code option in your SEO plugin.

How do I test my local business schema?

Run your page URL or the code itself through Google's Rich Results Test, then check the syntax with the Schema Markup Validator. The Rich Results Test only reports features Google supports, while the validator checks the markup against the full Schema.org vocabulary.

Which business type should I choose?

Pick the most specific type that fits. A dentist should choose Dentist, not LocalBusiness. If nothing fits well, use LocalBusiness or a broader parent type such as ProfessionalService or Store.

Can I add reviews or star ratings to my schema?

We left review markup out on purpose. Google doesn't show review rich results for ratings a business writes about itself on its own site, and misleading markup can cause problems. Show your real reviews on the page and let your Google Business Profile handle ratings.

Can I use this for more than one location?

Yes. Make one schema block per location and put each one on its own location page. Don't stack several locations on a single page unless that page genuinely covers all of them.

Do I need to update my schema when my details change?

Yes. Old opening hours and phone numbers are among the most common schema problems. Keep the markup in line with what's visible on the page and in your Google Business Profile.

What is the difference between LocalBusiness and Organization schema?

Organization describes a company in general. LocalBusiness is a more specific type for a business with a physical location or service area, and it adds properties like opening hours, geo coordinates and price range. If customers visit you or you travel to them, LocalBusiness or one of its subtypes is the better choice.

What image formats can I use for my business image and logo?

Use a direct link to a JPG, PNG or WebP image that is public and on your own site. The generator checks the file extension as you type and leaves out links that don't end in one of those formats.

Which social profiles should I add to my schema?

Add the profiles you actually run and keep up to date, such as Facebook, Instagram, LinkedIn, YouTube and X. They go into the sameAs property, which helps Google connect your website with your profiles.

Is my data saved or sent anywhere?

The generator runs in your browser and your details are not sent to our servers. We keep a copy in your browser's local storage so you don't lose your work if you reload the page. The Clear form button wipes it.

Want us to add and test it for you?

We're Information Sandy, a digital marketing agency in Chandigarh. We set up schema, Google Business Profile and local SEO for businesses that want more calls from Google.