Local Business Schema Generator
Enter your business name, address, hours and services and get LocalBusiness structured data as JSON-LD, ready to paste into your website. It helps search engines read your details correctly. Nothing you type is uploaded.
LocalBusiness JSON-LD
How to create local business schema in four steps
- Pick the closest business type. Choose the specific type if it is listed, such as Plumber or Dentist. Use the general type if nothing fits.
- Enter your details. Use the exact name, address and phone number that appear on your website and your Google Business Profile.
- Add hours and services. Tick the days you are open and list what you offer.
- Copy, paste and test. Add the code to your home page or contact page, then test the live page.
What local business schema is
Local business schema is a block of code that states your business details in a format software can read without guessing: who you are, where you are, when you are open and how to reach you. It uses the LocalBusiness type from Schema.org and is written as JSON-LD, which sits in a script tag and does not change how the page looks.
What it can and cannot do
It is a label, not a ranking trick. The markup helps search engines read your details accurately and can support features that show business information. It does not guarantee any feature, and it does not move you up local results by itself. Local visibility depends far more on a complete Google Business Profile, real reviews, accurate listings and a useful website.
Details that matter most
| Field | Advice |
|---|---|
| Name | Your real business name. Do not add keywords or town names that are not part of it. |
| Address | Match your website and profile exactly. If you work at customer locations and hide your street address, leave the street blank and list the areas you serve. |
| Phone | A number that reaches the business, ideally with the country code. |
| Hours | Keep them the same as on your profile, and update the code when they change. |
| Photo and logo | Full web addresses to pictures that are already on your site. |
| Profile links | Your own social and directory profiles. They help confirm the business is the same one everywhere. |
Where to put the code
- One location: add it to the home page or the contact page.
- Several locations: give each location its own page and its own code with that location's address, phone and hours.
- WordPress: use a Custom HTML block, or the schema settings in your SEO plugin. Do not add the same business twice.
Check your work
Everything in the code must be true and must match what visitors can see on the page. Paste the code into the JSON-LD syntax checker to catch typing errors, then test the live page with the Schema.org validator or Google's Rich Results Test.
Want customers to leave reviews more easily? Create a direct link with the Google review link generator.
Questions about local business schema
What is local business schema?
It is structured data that describes a business using the LocalBusiness type from Schema.org: name, address, phone, hours and more. It is added to a web page as JSON-LD so search engines and other software can read the details reliably.
Will local business schema improve my Google ranking?
Not by itself. It helps search engines understand your details and can support features that display them, but it does not guarantee any feature or position. A complete Google Business Profile, genuine reviews and consistent listings matter more for local results.
Which business type should I choose?
Pick the most specific type that truly fits, such as Plumber, Dentist or Restaurant. If none fits, use the general Local business type. A wrong specific type is worse than the general one.
What if I work at customer locations and do not show my address?
Leave the street address blank, keep the city and region, and list the towns or regions you cover under areas served. Keep it in line with what you show on your website and business profile.
Where do I paste the code?
Paste the script tag into the head or body of your home page or contact page. If you have several locations, give each its own page and its own code.
Is anything I type saved or sent anywhere?
No. The code is built in your browser. Your details are not sent to Cordell Digital and they clear when you close or refresh the page.
Need a website that brings in customers?
Cordell Digital builds simple, fast websites and handles local search for small businesses. Tell us what you need and we will reply with a plain answer.
More website tools: the FAQ schema generator, the JSON-LD syntax checker, the local service page duplicate checker, or browse all free tools. You can also read about our local SEO service.
Last reviewed November 2026. Search engine features change, so check the current official documentation before relying on any one result.