Local business schema generator
Tell Google and AI search tools exactly who you are, where you are and when you're open. Fill in your business details, see the card they will read, check what's missing, and copy ready-made code (JSON-LD) for your website. Free, no sign-up, and nothing you type is sent to us.
- Fill in your business detailsName, address, phone and opening hours.
- Check what's missingThe score shows what Google and AI tools still lack.
- Copy the codePaste it into your home or contact page.
Tool The generator needs JavaScript. Without it, you can copy the example below and change the details to your own.
Want enquiries from your website answered the same hour? That can run on its own too. Get a free 1-page plan or book a free 15-minute call
Free PDF: 25 AI automations you can copy
Written for accounting firms; most of them work for any service business. Enter your email and the download link appears straight away. I may also email you when a new free tool goes up. To stop, reply to any email.
Why your website needs this
When someone searches “electrician near me” or asks an AI assistant for “a dentist open on Saturday in Leeds”, the answer is built from what machines can read about each business. Your address buried in a footer image, or opening hours written three different ways, means they have to guess. Local business schema states the facts once, in a standard format (schema.org) that Google, Bing and other tools read.
It doesn't replace your Google Business Profile. Use the same name, address and phone number in both, and on every directory you're listed in. Matching details are easier to trust.
Example: a plumber in Leeds
This is the code the tool writes for the example business. It scores 100 out of 100 for completeness.
{
"@context": "https://schema.org",
"@type": "Plumber",
"@id": "https://smithplumbing.co.uk/#business",
"name": "Smith Plumbing",
"description": "Emergency and planned plumbing across Leeds: leaks, boilers, bathrooms. Fixed prices agreed before we start.",
"url": "https://smithplumbing.co.uk",
"telephone": "+44 113 496 0000",
"email": "hello@smithplumbing.co.uk",
"image": "https://smithplumbing.co.uk/van.jpg",
"logo": "https://smithplumbing.co.uk/logo.png",
"priceRange": "££",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Kirkgate",
"addressLocality": "Leeds",
"addressRegion": "West Yorkshire",
"postalCode": "LS1 6BY",
"addressCountry": "GB"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 53.798,
"longitude": -1.541
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "08:00",
"closes": "18:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Saturday"
],
"opens": "09:00",
"closes": "13:00"
}
],
"areaServed": [
{
"@type": "City",
"name": "Leeds"
},
{
"@type": "City",
"name": "Bradford"
},
{
"@type": "City",
"name": "Wakefield"
}
],
"sameAs": [
"https://www.facebook.com/smithplumbingleeds",
"https://www.instagram.com/smithplumbingleeds"
]
}How to add it to your website
- WordPress: many SEO plugins (Yoast, Rank Math) add basic business details for you; check what they output first. To add this code yourself, use a plugin that inserts code into the header, on the home or contact page only.
- Wix: in the page's SEO settings, look for the advanced section where you can add structured data markup, and paste the code.
- Squarespace: use code injection for the page (available on some plans).
- Shopify: add it to your theme code, or use an app made for structured data.
- Your own HTML: paste the code anywhere in the page, usually just before
</head>.
Then check it: press Test in Google, choose the code option and paste it. You can also test the live page address once it's published. If your site already has business schema, update that block rather than adding a second one.
Questions
What is local business schema?
It is a short block of code, in a format called JSON-LD, that states your business details in a way machines read without guessing: your name, type of business, address, phone, opening hours and website. It is invisible to visitors and sits in the page's code.
Will it get me higher on Google?
No one can promise that. Google says structured data helps it understand a page, and it can use it for how your business is shown, but it decides what to display. It is a small, free step that removes guesswork, alongside a complete Google Business Profile and good reviews.
Does it help with ChatGPT and other AI search?
AI search tools read web pages to answer questions such as "a plumber open on Saturday near me". Clear, consistent business details on your site, in plain text and in structured data, make it easier for them to get your details right. No tool publishes exactly how much weight it gives to schema.
Which page should it go on?
Usually the home page, or the contact page if that is where your address is. Use one block per business location. If you have several branches, give each branch its own page and its own block.
Is anything I type sent anywhere?
No. The code is built in your browser and nothing you type is sent to us or stored. The test button opens Google's own testing page, where you paste the code yourself.
More free tools for your website
Read first: how to get your business details right in Google and AI search.
Check how your pages look in results with the Google search preview, add a WhatsApp chat button to your contact page, and make a Google review link to collect reviews.
When more people find you, the next job is replying fast. Mike Automations builds the follow-up behind your website: instant replies to new enquiries, reminders and review requests, with a person approving anything important. It starts with a free 15-minute call.