Local business schema generator

Fill in your business details and copy the code into your website. It tells Google and AI assistants exactly who you are, where you work and when you're open.

Opening hours
Monday to Friday to
Saturday to
Sunday to

Your code

Nothing you type leaves your browser.

Then test it with Google's Rich Results Test or the Schema Markup Validator.

What this code does

Structured data is a short block of code that spells out facts about your business in a format search engines read reliably: your name, type of business, address or service area, phone number, opening hours and profiles. It doesn't change how your page looks. It helps Google and AI assistants get your details right.

Getting it right

  • Match what's on the page. Your hours, address and phone in the code should be the same as on your website and your Google Business Profile.
  • Pick the most specific type. "Plumber" says more than "LocalBusiness". If yours isn't listed, LocalBusiness is fine.
  • Use one block per location. Several conflicting blocks on the same page confuse search engines.
  • Leave out what you don't have. Empty or made-up values do more harm than good.
  • Update it when things change, like new hours or a new phone number.

Our free SEO audit checks whether your site already has structured data and whether it's readable, and the local SEO checklist covers the other basics.

Questions about schema

Does schema help my business rank higher?

Not directly. Structured data helps Google and AI assistants understand your business details correctly, and it can make your pages eligible for richer search results. It works best alongside a clear website and a complete Google Business Profile.

Where do I put the code?

In the page's HTML, usually in the head section. Most website builders have a setting for custom code or 'code injection'. On WordPress, many SEO plugins add this for you, so check whether yours already does before adding a second copy.

Should it go on every page?

Put it on your home page, or on a contact or location page, so there is one clear source of your business details. If you have several locations, give each location page its own block with that location’s details.

Is anything I type here sent to LazerSEO?

No. The code is created in your browser and nothing is sent anywhere.

Not sure where to start?

Run the free audit. It checks your website and your Google listing in about a minute and lists what to fix first.

Free, takes about a minute, no signup.

Rather ask a person? Email hello@lazerseo.com or send a message.