LocalBusiness Schema Generator: JSON-LD With Hours, Geo and sameAs
Fill in your business details and get valid LocalBusiness JSON-LD for your website, using the most specific business type (Dentist, Plumber, Attorney and 60 more), opening hours for each day, map coordinates, service areas and links to your profiles. Copy it into your site and test it in one click.
- 60+ business types
- Opening hours per day
- Geo, areaServed, sameAs
- Live JSON-LD as you type
Business details
Opening hours
| Day | Open | Opens | Closes |
|---|
Your LocalBusiness JSON-LD
Paste into the page head or a Custom HTML block on your home page and contact or location page.
Checks
Want local schema set up across every location?
We add LocalBusiness, Service and FAQ markup to your site, test it and keep it in line with your Google Business Profile.
What Is LocalBusiness Schema?
Quick answer: LocalBusiness schema is structured data, written in JSON-LD, that tells search engines your business name, type, address, phone number, opening hours, location on the map and links to your profiles in a format machines can read without guessing. Google uses it to understand and confirm your business details, and it supports how you appear in local results and knowledge panels.
It does not replace your Google Business Profile. It backs it up. When the details on your website match your profile and your citations, search engines and AI assistants can be more confident about who you are and where you are.
How to Use the LocalBusiness Schema Generator
- Choose the most specific business type from the list, such as Dentist, Plumber or Attorney.
- Enter your name, website, phone and full address, exactly as on your Google Business Profile.
- Add map coordinates. Right-click your pin in Google Maps and the latitude and longitude are copied.
- Set your opening hours. Days with the same hours are grouped automatically.
- Add service areas and profile links if you have them.
- Copy the JSON-LD and paste it into your home page and your contact or location page, then test it.
A Business Profile JSON Format Template
Many people search for a “business profile JSON format template” when they want their business details as structured code. The schema.org LocalBusiness format is that template. A minimal version looks like this, and the generator fills in the rest for you:
- @context: https://schema.org
- @type: your business type, such as Dentist
- name, telephone, url: your basic details
- address: a PostalAddress with street, city, region, postcode and country
- geo: latitude and longitude
- openingHoursSpecification: days with opening and closing times
- sameAs: links to your Google, Facebook, Yelp or LinkedIn profiles
Which Business Type Should You Choose?
Schema.org has dozens of LocalBusiness subtypes. Use the most specific one that fits, because it says more than the general type. A dental practice should use Dentist, a law firm Attorney and an HVAC company HVACBusiness. If nothing fits, use LocalBusiness or a broad type such as ProfessionalService or HomeAndConstructionBusiness. Do not pick a type just because it sounds more impressive.
Where to Add the Schema on Your Site
- WordPress: Rank Math and Yoast have local SEO settings, or paste the code into a Custom HTML block or a header code plugin.
- Shopify: add it to theme.liquid inside the head, or use a schema app.
- Wix and Squarespace: use the page’s custom code or structured data settings.
- Multiple locations: give each location its own page with its own LocalBusiness block, address, phone and hours.
Never mark up details that are not visible on the page or that differ from your Google Business Profile.
How to Test Your LocalBusiness Schema
Paste the page URL or the code into Google’s Rich Results Test and the Schema Markup Validator, both linked under the generator. Errors must be fixed. Warnings about optional fields are fine to leave if you do not have that information. After publishing, Search Console reports structured data issues it finds when it crawls your site. Google’s local business documentation lists the supported properties.
Common LocalBusiness Schema Mistakes
- Different details from your profile. A different phone number or suite number undermines trust.
- Fake review stars. Google does not show self-serving review stars for local businesses, and marking up reviews you wrote yourself breaks its rules.
- One block for many locations. Each location needs its own page and markup.
- Hours in the wrong format. Use 24-hour times such as 09:00 and 17:30.
- Copying a template and forgetting to change it. Check every field before you publish.
Results Explained
| Check | What it means |
|---|---|
| Address included | Required fields are present |
| Phone in international format | Easier to read for every search engine |
| Map coordinates included | Exact location confirmed |
| Opening hours for 6 days | Days with matching hours are grouped |
| Pick a more specific type | You chose the general LocalBusiness type |
The default dental example produces Dentist markup with grouped hours (Monday, Tuesday and Thursday share the same times), three areas served and two profile links.
Get It Done for You: Saif Techlogix Local SEO
Saif Techlogix sets up local structured data for businesses in the US, UK, Canada and Australia. We use this LocalBusiness schema generator method for every location page, add Service and FAQ markup where it fits and keep everything consistent with your Google Business Profile.
See our local SEO services. Or contact us for a free quote.
LocalBusiness Schema Generator FAQ
Does LocalBusiness schema help local SEO?
It helps search engines understand and trust your business details. It is a supporting signal, not a ranking shortcut, so keep your Google Business Profile and citations accurate too.
Where do I put LocalBusiness schema?
On your home page and your contact or location page, in the page head or in a Custom HTML block. Each location gets its own markup on its own page.
Should I use JSON-LD or microdata?
JSON-LD. Google recommends it, and it is easier to add and maintain than microdata.
Can I add review stars to my LocalBusiness schema?
Google does not show self-serving review stars for local businesses, so marking up your own reviews will not earn stars.
What if my business has no storefront?
Service-area businesses can still use LocalBusiness schema. Add areaServed and only include an address if it is shown publicly.
Is the LocalBusiness schema generator free?
Yes. It is free, needs no sign-up and runs in your browser.
Related Free Tools
- For FAQ, Article or Product markup, use the schema markup generator.
- Check your details match everywhere with the NAP consistency checker.
- Write a matching profile description with the Google Business Profile description generator.
- Run a full check of your local presence with the local SEO audit tool.