Local business schema generator
Fill in your business details and opening hours, and the generator writes a block of structured data (JSON-LD) that labels your name, address, phone number and hours for Google.
Your answers stay in this browser and are never sent to us.
Your result
Fill in the form to begin
Your result appears here straight away. Nothing is uploaded or saved.
How the generator builds your schema
How do I add local business schema to my website?
There are three steps. Fill in the form above to make the code. Paste it into the head section of one page on your site. Then test it with a free Google tool.
Choosing your business type
The generator offers a list of types, from Plumber and Electrician to Café, Hair salon, Dentist and B&B. Pick the closest match. A hair salon in Oswestry should choose Hair salon, not the general LocalBusiness option, because the more specific type tells search engines more. If nothing fits, an accountant or a surveyor can use Professional service, and anything else can use the general option.
Filling in your hours
Enter an opening and closing time for each day you’re open. Leave both boxes empty on days you’re closed. If you keep the same hours Monday to Friday, fill in Monday and tick the box to copy them to the other weekdays.
The generator groups days with the same hours together, so the code stays short. It also warns you about two common slips:
- Only one time filled in. That day is left out, and the notes tell you which day it was.
- Closing before opening. Usually a typing mistake. If you run a pub in Wrexham that closes at 1am, it’s correct, and you can ignore the warning.
If you work by appointment only, such as a mobile physiotherapist, you can leave the hours blank. The notes will point it out, but it’s fine.
Areas served
Type the towns you cover, separated by commas, such as “Llandrindod Wells, Builth Wells, Rhayader”. Only list places you really work in. This matters most if customers don’t visit you, because it’s how the code says where you work.
Where to paste it
Copy the whole block, including the opening and closing script tags. On WordPress, many SEO plugins and header code plugins have a box for it. On other website builders, look for a setting called “header code” or “custom code”. If you’re not sure, ask whoever looks after your website.
Testing it
Once it’s live, put the page address into Google’s Rich Results Test or the Schema Markup Validator. Both are free and show any errors or missing details. Then check the details match your Google Business Profile, word for word and digit for digit.
Schema is only a small part of being found locally. Next, work through the local SEO checklist generator.
Questions about this tool
What is local business schema?
It’s a short block of code that labels your business details, such as name, address, phone and opening hours, so search engines can read them reliably. Visitors don’t see it.
Will schema get me higher in Google?
Not on its own. It helps Google understand your details, but useful pages, a complete Google Business Profile and genuine reviews matter much more for local searches.
I work from home and don't show my address. What should I do?
Leave the street address blank and fill in your town and the areas you serve. Don’t add an address you don’t want customers turning up at, and keep it the same as your Google Business Profile.
Do I put the code on every page?
No. Once is usually enough, on your home page or contact page. If we manage your website, email it to us and we’ll add it as one of your monthly changes.
Related free tools
Local SEO checklist generator
Tell us your main service, your area and how customers reach you, and the generator gives you a numbered local SEO to-do list, with the most urgent jobs at the top.
Open tool → Local SEOGoogle review link generator
Paste your Google Place ID and business name. You get a link that opens the review box for your business straight away, plus short messages you can send to customers by email, text or WhatsApp.
Open tool → SEOGoogle search preview
Enter your page title, web address and meta description, and see them together the way they'd sit in a Google result. Switch between desktop and mobile-style views.
Open tool →More ways to improve your website.
Get your business website for £47 a month.
We design it, write it, host it and make your changes. No setup fee, no contract, and your first draft commonly the same day.