Free migrationUK web hosting from £2.99 a month, with backups every six hours and a 60-day money-back guarantee.UK web hosting from £2.99 a month.See hosting plans
Local SEOFreeNo sign-upPrivate

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 answers

Opening hours: leave both times blank on days you're closed.

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Your result

Fill in the form to begin

Your result appears here straight away. Nothing is uploaded or saved.

How the result is worked out

How the generator builds your schema

It writes schema.org LocalBusiness markup in JSON-LD, the format Google recommends, using the business type you choose. It only includes the details you fill in. Days with the same hours are grouped together, days left blank are treated as closed, and a list of practical notes tells you about anything missing or odd. Schema is one small part of local search, so also see our local SEO checklist for Shropshire and Powys businesses.

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.

Common questions

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.

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.

Open in new tab