Free tool · no signup

Free Local Business Schema Generator

Fill in your business details and opening hours, and get the LocalBusiness schema code (JSON-LD) that tells Google and other search engines who you are, where you are and when you're open. We check it as you type.

Your business

Pick the closest match. Not listed? “Local business (any kind)” is always a safe choice.

Write it exactly as it appears on your Google Business Profile.

Address

A two-letter country code (US, CA, GB, AU) is the clearest.

To find them: right-click your business on Google Maps on a computer; the first line of the menu shows both numbers.

Opening hours

Leave a day empty or tick Closed to leave it out. Open past midnight? Enter the real closing time, like 22:00 to 02:00. Open all day? Use 00:00 to 23:59. Lunch break? Tick “Second time”.

Monday
to
Tuesday
to
Wednesday
to
Thursday
to
Friday
to
Saturday
to
Sunday
to
Photos and price (optional)

To get an image address, open the picture on your website, right-click it and choose “Copy image address”.

Short, like $ to $$$$, or a range like $20-60.

Your profiles on other sites (optional)

Runs in your browser: nothing you type is sent to FlatRateChat (unless you click the demo button, which carries your website address).

What is LocalBusiness schema?

Schema (also called structured data) is a short block of code on your website that states your business details in a format search engines read easily: your name, type of business, address, phone, opening hours and the profiles that belong to you. The vocabulary comes from Schema.org, which Google, Bing and others use. The code looks like this:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "HairSalon",
  "name": "Bella Hair Studio",
  "telephone": "+1 555-123-4567",
  "address": { "@type": "PostalAddress", "addressLocality": "Springfield" }
}
</script>

Visitors don't see it. It sits in your page's code and helps search engines connect your website to your business.

How to fill it in well

Where to paste the code

Put it on your home page (or the page that best describes your business, often Contact). Inside the page's <head> is the usual place; Google also reads it in the body. Use one block per business: if your site already has a LocalBusiness block, replace it rather than adding a second one.

Wix

  1. In your site's dashboard, open Settings and look for Custom Code (under Advanced).
  2. Click + Add Custom Code, paste the code, give it a name, choose the home page (or all pages) and place it in the Head. Click Apply.
  3. Wix also has a Structured data markup box in each page's SEO settings (Advanced SEO), which may already hold markup Wix added for you. Check there first so you don't end up with two different versions.
  4. Wix says custom code needs a connected domain, and its menus change from time to time; if a name above has moved, search the Wix Help Center for “custom code”.

WordPress

  1. Easiest: install a plugin that adds code to your site's header (for example WPCode), open its header and footer settings, paste the code into the Header box and save.
  2. Or use your theme's own setting: many themes have a “Header code” or “Custom scripts” box in their options.
  3. SEO plugins such as Yoast SEO and Rank Math can add their own business or organization schema. View your page's source and search for ld+json: if one already describes your business, update that one instead of adding a second.
  4. Plugin and theme menus change from time to time; if a name above has moved, check the plugin's or theme's own help pages.

Squarespace

Use Code Injection (search the settings for it) and paste the code into the Header box. Code Injection is available on some Squarespace plans only; its help pages list which.

Shopify

Go to Online Store → Themes, open the ⋯ menu next to your theme and choose Edit code. Open theme.liquid and paste the code just above </head>. Save. Many themes already add some schema, so check your page source first. Shopify's menus change from time to time; if a name above has moved, search the Shopify Help Center for “edit theme code”.

Plain HTML

Paste the code anywhere between <head> and </head> of the page, then upload the page.

Then test it

Open the Google Rich Results Test and enter your page address. It should find a LocalBusiness (or the type you chose) with no errors. Google reads the change the next time it visits your page, which can take days or weeks.

What schema can and can't do

What this generator does, and its limits

Questions

Is the Local Business Schema Generator free?

Yes. There is no signup, no email and no card. It is made by FlatRateChat, a website chatbot company, and it doesn't change anything on your site.

Do I need schema if I have a Google Business Profile?

The profile matters most for Google Maps. Schema is a small extra that helps search engines match your website to that business. It takes a few minutes, so it is worth doing once.

Which business type should I choose?

The most specific one that is true. A barber can use Hair salon; a nail bar, Nail salon. If nothing fits, choose “Local business (any kind)”: it is always a safe choice.

How do I show that I'm closed on some days?

Tick Closed (or leave the day empty). Closed days are left out of the opening hours, so the code lists only the days and times you're open.

What if I'm open past midnight, or all day?

Enter the real closing time, like 18:00 to 02:00; the checks will note it so you can confirm it's right. For open all day, Google's guide suggests 00:00 to 23:59.

Will this get star ratings next to my business in Google?

No. This tool doesn't add review stars, and Google doesn't show review stars that a local business adds about itself. Your Google reviews show on your Google Business Profile.

I work at customers' homes and don't show my address. What do I enter?

Leave the street address empty and fill in your city, region and country, so the code matches what you show in public.