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.
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 $$$.
A 2-letter country code, for example US, GB, or CA.
Enter your business name above and your JSON-LD will build here automatically.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness"
}
</script><head> section of your homepage, location page, or contact page. Use one block per physical location.Structured data tells search engines who you are. These free widgets convince the customer who lands on the page.
Pull your real Google reviews onto your site so new visitors see the proof before they call. Trust closes local jobs.
Show your opening hours on the page in a clean, always-current display that matches the hours in your schema.
Give people a fast way to request a quote without picking up the phone. Every enquiry lands straight in your inbox.
Let customers message you in one tap from their phone. For local service work, the quickest reply usually wins the job.
Other free tools to help you optimize and grow.
Generate Service JSON-LD for each service you offer, with provider and service area.
Use Tool →Generate Person JSON-LD for team, author, and staff bios with job title and profiles.
Use Tool →Generate Organization, WebSite, and LocalBusiness JSON-LD structured data for your whole site.
Use Tool →Generate valid FAQ Page JSON-LD structured data to earn FAQ rich results.
Use Tool →Generate Article, BlogPosting, and NewsArticle JSON-LD structured data for your posts.
Use Tool →Generate title, description, and social meta tags for any page in seconds.
Use Tool →How It Works
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.
Choose the most specific business type that fits, from Electrician to Dentist to Restaurant, then add your name, description, website, and phone number.
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.
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
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
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.
| Type | What it says | When to use | Precision |
|---|---|---|---|
| LocalBusiness | The generic parent type. Valid, but it tells search engines only that you are a local business. | Nothing more specific exists for your trade. | Fallback |
| ProfessionalService | A 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
Structured data helps search engines understand and represent your business. Search features are never guaranteed, but the groundwork matters.
Explicit name, address, and phone data removes ambiguity about which business you are and where you operate.
Marked-up opening hours let search engines state when you are open rather than sending people to a closed door.
A properly typed business is the anchor that review, rating, and service markup attach to later.
A full postal address, and optional coordinates, help place you correctly for people searching nearby.
Linking your Google Business Profile, Facebook, and Yelp pages with sameAs helps confirm they are all the same business.
When an AI assistant is asked for a local recommendation, structured data makes your details easier to read and cite accurately.
Avoid These
Structured data helps only when it is accurate and valid. Steer clear of these common errors.
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 exactlyLocalBusiness 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 canDuplicating 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 locationHours that changed months ago are worse than no hours at all. Update the markup whenever your real schedule changes, holidays included.
Keep the hours honestDo 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 addressesAlways 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 shipGet More From It
Practical ways to make your schema work harder. All CommonNinja widgets mentioned are free to start.
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.
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.
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 →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 →If you travel to customers rather than trading from a shopfront, the service area fields describe your reach honestly without inventing a location.
Add your Google Business Profile, Facebook, Yelp, and LinkedIn URLs with sameAs. It ties the mentions of your business together.
Glossary
A quick reference for the properties behind local business markup.
| Field | Definition | Example | When It Matters |
|---|---|---|---|
| @type | The kind of business you are. Use the most specific schema.org type available rather than the generic LocalBusiness. | Electrician | Every business you mark up |
| name | Your business name, matching what customers see on the page and on your Google Business Profile. | Withrow Electric Inc. | Every business you mark up |
| address | Your full postal address as a PostalAddress, broken into street, city, region, postal code, and country. | PostalAddress | Any business with a real location |
| telephone | The number customers should call, ideally with the country code so it dials from any device. | +1-573-445-8086 | Every business you mark up |
| openingHoursSpecification | When you are open, as one or more day-and-time specs. One spec can cover several days at once. | Mon-Fri 09:00-17:00 | Businesses with set hours |
| areaServed | The places you serve. Useful for mobile trades that travel to customers instead of trading from a shopfront. | Columbia, MO | Mobile and multi-town businesses |
| sameAs | Links to the same business elsewhere on the web, which helps confirm those profiles are all you. | Facebook or Yelp URL | Any business with social profiles |
From the Blog
Go deeper on winning local customers and making your content easier for search engines to understand.
In this article, we are going to discuss SEO, explain why it’s important to the success of a website, and suggest ways...
Read article →In this article, we will look at some important SEO factors to consider when building a website, for the purpose of...
Read article →In this article, we discuss the importance of readability in SEO, highlighting its impact on search engine rankings,...
Read article →In this article, we explore how SEO enhances Instagram visibility, focusing on optimizing profiles with keywords,...
Read article →In this article, we discuss image compression's benefits for web performance and SEO, highlighting faster load times...
Read article →Drive more traffic to your Squarespace website with proven SEO strategies that increase visibility and improve search...
Read article →