Free Local Business Schema Generator

Generate valid LocalBusiness JSON-LD structured data for your location. Add your address, phone, opening hours, service area, and business category, then copy the markup. Free, no sign-up required.

Build Your Local Business Schema

Business basicsWho you are and how people reach you. Match these to what is on the page.

Pick the most specific category that fits. A specific type like Electrician tells search engines more than the generic LocalBusiness, and every option here is a real schema.org type.

Your legal or trading name, exactly as customers see it. Required for valid markup.

Include the country code so it works from any device.

A rough indicator, for example $, $$, or $$$.

AddressYour physical location. Use the same address as your Google Business Profile.

A 2-letter country code, for example US, GB, or CA.

PhotosStorefront, team, or work photos. Use images at least 1200px wide.

Opening hours (optional)Add a row per schedule, for example weekdays on one row and Saturday on another.

Map coordinates (optional)Latitude and longitude pin your exact location. Grab them from Google Maps.

Service area (optional)The towns, cities, or regions you travel to. One per row.

Profiles (optional)Links to the same business elsewhere: Google Business Profile, Facebook, Yelp, LinkedIn.

Enter your business name above and your JSON-LD will build here automatically.

Generated JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness"
}
</script>

How to add it to your site

  1. Copy the code above.
  2. Paste it inside the <head> section of your homepage, location page, or contact page. Use one block per physical location.
  3. Validate it with the Google Rich Results Test or the Schema.org Validator.
  4. Check the name, address, and phone match your Google Business Profile exactly, then request indexing in Google Search Console.

Build better local pages around your schema

Structured data tells search engines who you are. These free widgets convince the customer who lands on the page.

Explore More Free Tools

Other free tools to help you optimize and grow.

How It Works

How to use this free local business schema generator

No account needed, no sign-up, completely free. Fill in your business details, and valid JSON-LD structured data builds live, ready to copy into your page.

1

Pick your category and add the basics

Choose the most specific business type that fits, from Electrician to Dentist to Restaurant, then add your name, description, website, and phone number.

2

Add address, hours, and service area

Fill in your full postal address, set your opening hours day by day, and list the towns you travel to. Everything you type builds the markup live, with no empty fields left in.

3

Copy and validate

Copy the generated JSON-LD, paste it into the head of your location page, and confirm it with the Google Rich Results Test. No sign-up, completely free.

The Basics

What is local business schema, and why does it matter?

Search engines read your contact page, but structured data tells them exactly what they are looking at: which business, what trade, which address, and when you are open.

The idea

Your business details → schema.org vocabulary → JSON-LD in your <head>

Result: search engines read your business as data, not just text on a page

LocalBusiness schema is structured data that describes a real business at a real place using the shared schema.org vocabulary. Instead of hoping Google works out your address and trade from your HTML, you state them explicitly in a format built for machines.

The recommended format is JSON-LD: a small block of JSON placed in the head of the page. It lives separately from your visible content, so it is easy to add without touching your design. LocalBusiness also has dozens of specific subtypes, so an electrician can be marked up as an Electrician rather than a generic business.

Structured data does not guarantee rankings, but it makes your business unambiguous to search engines and to the AI assistants that increasingly answer local questions directly. Clear data means you are easier to represent, and recommend, correctly.

Choosing A Type

Generic, broad, or named trade

LocalBusiness sits at the top of a large family of types. The more specific you can be, the more you are actually telling search engines.

TypeWhat it saysWhen to usePrecision
LocalBusinessThe generic parent type. Valid, but it tells search engines only that you are a local business.Nothing more specific exists for your trade.Fallback
ProfessionalServiceA middle layer for service firms. More specific than LocalBusiness, broader than a named trade.Consultancies and service firms without their own type.Broad
Electrician, Plumber, Dentist...A named trade type. The most precise signal, and the one to use whenever it exists.Your trade has its own schema.org type. Check first.Best

Based on the schema.org LocalBusiness type hierarchy, 2026.

What It Can Unlock

What local business schema can do for you

Structured data helps search engines understand and represent your business. Search features are never guaranteed, but the groundwork matters.

📍

Clearer local presence

Explicit name, address, and phone data removes ambiguity about which business you are and where you operate.

🕑

Opening hours in search

Marked-up opening hours let search engines state when you are open rather than sending people to a closed door.

Foundation for review features

A properly typed business is the anchor that review, rating, and service markup attach to later.

🗺️

Map and directions context

A full postal address, and optional coordinates, help place you correctly for people searching nearby.

🔗

Connected profiles

Linking your Google Business Profile, Facebook, and Yelp pages with sameAs helps confirm they are all the same business.

🤖

AI answer clarity

When an AI assistant is asked for a local recommendation, structured data makes your details easier to read and cite accurately.

Avoid These

Six local business schema mistakes that cause problems

Structured data helps only when it is accurate and valid. Steer clear of these common errors.

🔀

NAP that does not match

Your name, address, and phone should be identical to your Google Business Profile. Mismatched details split the signals for one business across two.

Match your profile exactly
🏢

Using the generic type by default

LocalBusiness is valid but vague. If schema.org has a type for your trade, use it. Electrician says far more than LocalBusiness.

Be as specific as you can
📄

One block on every page

Duplicating the same markup site-wide adds nothing. Put it on the homepage or the location page, and give each physical location its own block.

One block per location
🕐

Stale opening hours

Hours that changed months ago are worse than no hours at all. Update the markup whenever your real schedule changes, holidays included.

Keep the hours honest
👻

Inventing a fake address

Do not mark up an address you do not operate from. If you are a mobile business with no shopfront, use the service area fields instead.

Only real addresses

Never validating

Always run your markup through the Rich Results Test and the Schema.org Validator. A single syntax slip can invalidate the whole block.

Validate before you ship

Get More From It

6 tips for effective local business markup

Practical ways to make your schema work harder. All CommonNinja widgets mentioned are free to start.

01

Put it on the page that matches

Local business markup belongs on your homepage or the specific location page, not on every page of the site. One physical location gets one block.

02

Choose the narrowest type that fits

Work down the schema.org tree until the type stops being true. A dentist is a Dentist, not a MedicalClinic, and definitely not a plain LocalBusiness.

03

Show your real reviews on the page

Schema describes your business to search engines; visible reviews convince the person reading. Pull your Google reviews onto the page itself.

Try the Google Reviews widget
04

Keep hours in sync with what visitors see

If your markup says one thing and the page says another, someone gets it wrong. Display the same hours you mark up.

Try the Business Hours widget
05

List your service area for mobile trades

If you travel to customers rather than trading from a shopfront, the service area fields describe your reach honestly without inventing a location.

06

Link every profile you own

Add your Google Business Profile, Facebook, Yelp, and LinkedIn URLs with sameAs. It ties the mentions of your business together.

Glossary

Key local business schema fields

A quick reference for the properties behind local business markup.

FieldDefinitionExampleWhen It Matters
@typeThe kind of business you are. Use the most specific schema.org type available rather than the generic LocalBusiness.ElectricianEvery business you mark up
nameYour business name, matching what customers see on the page and on your Google Business Profile.Withrow Electric Inc.Every business you mark up
addressYour full postal address as a PostalAddress, broken into street, city, region, postal code, and country.PostalAddressAny business with a real location
telephoneThe number customers should call, ideally with the country code so it dials from any device.+1-573-445-8086Every business you mark up
openingHoursSpecificationWhen you are open, as one or more day-and-time specs. One spec can cover several days at once.Mon-Fri 09:00-17:00Businesses with set hours
areaServedThe places you serve. Useful for mobile trades that travel to customers instead of trading from a shopfront.Columbia, MOMobile and multi-town businesses
sameAsLinks to the same business elsewhere on the web, which helps confirm those profiles are all you.Facebook or Yelp URLAny business with social profiles

FAQ

Local business schema markup is structured data that describes a real business at a real place, using the schema.org vocabulary. It states your name, address, phone number, opening hours, and business category in a machine-readable format instead of leaving search engines to infer them from your page. This generator creates valid LocalBusiness JSON-LD you can copy straight into your page.
Use the most specific type that is still accurate. LocalBusiness is the generic parent and it is valid, but schema.org also has named types for many trades, including Electrician, Plumber, HVACBusiness, Dentist, Attorney, and Restaurant. A specific type tells search engines what you actually do, so this tool offers 35+ of them. Work down the hierarchy until the type stops being true, then stop.
Use the service area fields rather than inventing a location. Mobile trades like plumbers, mobile groomers, and cleaners often work from a home base they do not want listed. List the towns, cities, or regions you serve in areaServed, and only add a street address if it is a real place customers can visit.
Opening hours use openingHoursSpecification, where each entry covers a set of days plus an opening and closing time. One entry can cover several days at once, so weekdays 9 to 5 is a single specification. This tool lets you add multiple schedules, so different Saturday hours become their own row. Keep the hours in your markup matching the hours shown on the page.
Put it in the head section of your homepage, location page, or contact page. Each physical location gets its own block on its own page. Do not duplicate the same markup across every page of your site, as that adds nothing and makes it harder to keep accurate.
Yes, it should match exactly. Your name, address, and phone number in the markup should be identical to your Google Business Profile. Mismatched details make it harder to confirm the two describe the same business. The same applies to any directory listings you control.
No. Structured data helps search engines understand and represent your business, and it makes you eligible for certain search features, but Google decides when to show enhanced results, and schema is not a direct ranking factor. Treat it as making your business clearer and harder to misrepresent.
Paste your page URL or the generated code into the Google Rich Results Test or the Schema.org Validator. Both are free and show errors, warnings, and which features you may be eligible for. Validate after adding the markup, and again whenever your address, phone number, or hours change.

Trusted by