Local Business Schema Generator
Generate valid LocalBusiness JSON-LD with name, address, phone, hours and geo. Free, runs in your browser, copy the code in seconds.
Use this free local business schema generator to create valid LocalBusiness JSON-LD for your website. Enter your name, address, phone number and opening hours, then copy the code. The tool runs in your browser, so nothing you type leaves your device.
Free local business schema generator
Loading the tool…
What is local business schema?
Local business schema is structured data that describes a business with a physical location or a service area. It uses the LocalBusiness type from schema.org. Moreover, it states your name, address, phone number, hours and website in a format machines read without guessing.
Search engines use these details to confirm who you are and where you operate. Additionally, AI answer engines pull from the same facts when they describe a business. Therefore, accurate markup reduces the risk that an assistant quotes an old address or the wrong phone number.
What the generator includes
The form covers the properties that matter most for local search. Each field is optional except the name and URL.
- Business type: a specific subtype such as Restaurant, Dentist or Plumber.
- Contact details: phone number, email address and website.
- Address and map position: street, city, region, postal code, country, latitude and longitude.
- Opening hours: one line for each day range.
- Profiles: your social and directory pages in the sameAs property.
- Extras: price range, photo, logo, description and area served.
How to add local business schema to your site
- Pick the business type that fits you best.
- Fill in your name, website and address exactly as they appear in your Google Business Profile.
- Add your phone number, hours and profile links.
- Check the status banner above the code. It flags missing or weak fields.
- Copy the code and paste it into the page that describes your business.
- Test the page with the validators linked under the output.
After that, request indexing in Google Search Console. Consequently, Google picks up the new markup faster.
Tips for accurate local markup
Consistency matters more than volume. Therefore, copy your name, address and phone number from one source and reuse them everywhere. Even small differences, such as “Street” versus “St.”, can weaken the match between your site and your listings.
Next, add markup only for details that visitors can see on the page. Google warns against marking up hidden content. In addition, keep the hours current. Wrong hours frustrate customers and, as a result, erode trust in your listing.
Finally, place the markup on one primary page. A homepage or a contact page works well. Businesses with several locations should publish one page and one block per location.
Common mistakes to avoid
- Using the generic LocalBusiness type when a precise one exists.
- Writing hours in a free-text format such as “9 to 6”.
- Leaving out the country code in the address.
- Copying one block to every page of the site.
- Forgetting to update the markup after a move or a phone change.
However, the generator removes the syntax errors for you. You only need to supply accurate facts. For other markup, try our schema markup generator, which covers articles, FAQs and organizations.
Local schema and AI search
AI assistants answer questions such as “best dentist near me” from structured and unstructured sources. Clear markup gives them clean facts to use. Furthermore, you can check how ready your site is with our AI visibility checker. You can also guide AI crawlers with an llms.txt file.
Further reading
Each search engine documents which local properties it reads. Therefore, check the official guidelines before you publish. Additionally, remember that valid markup does not guarantee a rich result.
Questions
What is a local business schema generator?
A local business schema generator is a form that writes LocalBusiness JSON-LD for you. You enter your name, address, phone number and hours. Then the tool outputs code that search engines and AI systems can read. Consequently, you skip the hand-written syntax and avoid common errors.
Does local business schema help me rank in Google Maps?
Google does not list structured data as a ranking factor for the local pack. However, it confirms the details in your Business Profile and helps Google match your website to your listing. Therefore, treat it as a clarity signal rather than a ranking trick.
Which business type should I choose?
Choose the most specific type that fits your business. A dentist should pick Dentist, and a cafe should pick CafeOrCoffeeShop. Additionally, use plain LocalBusiness only when no narrower type exists, because specific types carry more meaning.
Where do I paste the generated code?
Paste the script tag into the head or body of the page that describes the business. Usually that page is your homepage or your contact page. Furthermore, a WordPress site can use a header-and-footer plugin or a custom HTML block.
How do I write opening hours?
Write one line per day range, such as Mo-Fr 09:00-18:00. Use the two-letter day codes Mo, Tu, We, Th, Fr, Sa and Su, and 24-hour times. As a result, validators read each line without errors.
Is the generated markup valid?
The tool follows the schema.org LocalBusiness vocabulary and drops empty fields. Nevertheless, you should test every block with the Schema Markup Validator and the Rich Results Test before you publish it.
Does my data leave my device?
No. The generator runs entirely in your browser. As a result, nothing you type reaches our servers.