Free tool · local businesses
Free local business schema generator
This free local business schema generator writes the LocalBusiness JSON-LD code for your website from your name, address, phone, hours and profiles, and checks it against Google's guidelines. It runs in your browser, so nothing you type is sent anywhere.
Your business details
Only the name and address are required. The more you fill in, the more complete the code. Use exactly the same details as your Google Business Profile.
Your LocalBusiness schema code
Paste it once into the page about your business (usually the home or contact page). To double-check it, paste it into the Schema Markup Validator or Google's Rich Results Test.
Checks against Google's guidelines
Google requires a name and an address, and recommends a phone with the country and area code, your website, a map position, opening hours and a price range.
Next steps
Check your site now
Once the code is on your site, the free AI visibility checker reads it back, along with your robots.txt, your name, address and phone, and your reviews.
Check your site nowWant us to install it?
AI Visibility Fix: we install the schema and do the other fixes for you, US$149 / A$229 one-off.
AI Visibility FixWhat the code is and what it does
Schema is a short block of code, written in a shared vocabulary from schema.org, that spells out your business details for machines: search engines, maps and AI assistants. People never see it. It tells them in a fixed format what your page already says in words.
- Fill in the form with the same name, address and phone as your Google Business Profile.
- Generate, then fix anything marked Required. The checks follow Google's LocalBusiness structured data guide.
- Copy the code and paste it into your site, once, on the page about your business. The questions below say where for the common website builders.
- Check it with the free AI visibility checker, which also looks at the things schema can't fix.
The property names come from schema.org's LocalBusiness, PostalAddress, GeoCoordinates and OpeningHoursSpecification types, checked against the schema-dts type definitions. We don't add anything those types don't define.
AI Visibility Fix: we do the fixes for you
US$149 / A$229 one-off
Rather not touch your site's code? We do the work on your site and listings:
- LocalBusiness schema with
sameAslinks to your profiles, installed on your site - Your name, address and phone made to match across your site and schema
- robots.txt opened to the AI search bots
- A directory and review-site checklist for your trade and city
- Two question-and-answer sections written for your site
- A before-and-after report from the free checker
We do the work; we can't make ChatGPT, Google or any other assistant recommend you, because no one controls what they say. What we can do is make sure they can read your details and find you described the same way everywhere.
See what's includedQuestions
Where do I paste the schema code on my website?
Paste it once, on the page about your business (usually the home page or contact page). It can go in the page's head or anywhere in the body. On WordPress, use your theme's or SEO tool's box for header code if it has one, or add a Custom HTML block to the page. On Wix, look for Custom Code in your site settings and add it to the head of your home page; where a box asks for structured data as JSON only, use the Download .json file instead. On Squarespace, use Code Injection (header) in the settings, or a Code Block on the page. On Shopify, open your theme's code editor and paste it into theme.liquid just before the closing head tag. If your theme or an add-on already outputs LocalBusiness schema, edit that one instead of adding a second.
Does schema make ChatGPT or Google recommend my business?
No, not on its own. Schema helps machines read your name, address, phone and hours correctly and link your website to your profiles. It doesn't decide rankings, and it doesn't decide which business an assistant names. Owners who've tried it report that reviews and mentions on directories and review sites, with the same details everywhere, helped more. It's still worth having, because it removes guesswork about who and where you are.
Which business type should I pick?
The most specific one that describes what you do: a plumber picks Plumber, a cafe picks CafeOrCoffeeShop. If nothing fits, pick Something else (plain LocalBusiness), which is always valid. Physiotherapists get MedicalBusiness, because schema.org's Physiotherapy type also describes a treatment. Lawyers get LegalService, which schema.org prefers to its older Attorney type.
What is sameAs, and which links should I add?
sameAs is a list of your other
official pages: your Google Business Profile, Facebook page, Instagram, LinkedIn company page, and listings on Yelp,
TrueLocal, Yellow Pages or a trade directory. It tells machines that those profiles and your website are the same
business. Add at least two, only ones that are yours, and make sure each shows the same name, address and
phone.
Do I need opening hours and a map position?
They aren't required, but Google recommends both. Hours go in as one entry per group of days with the same times; Open 24 hours is written as 00:00 to 23:59, and a late close after midnight is written as one entry, as Google's guide suggests. For the map position, copy the latitude and longitude from Google Maps; Google asks for at least 5 decimal places.
Is anything I type sent to you?
No. The code is built in your browser and copied or downloaded from there. The page sends one anonymous count that the generator was used, with no details from the form.