Free tool · No sign-up · Nothing leaves your browser

Local business schema generator

Fill in your business details and get LocalBusiness schema (JSON-LD), the few lines of code that tell Google and SI exactly who you are, where you are and when you're open. Copy, paste, done.

About 3 minutes

Your business, the way Google reads it

Use your details exactly as they appear on your Google Business Profile. Matching details everywhere is what earns trust.

The basics
Where you are

You have a storefront or office customers visit.

Opening hours
Your profiles elsewhere

Links to your listings help Google and SI connect the dots. Your Google Business Profile link matters most.

Everything stays in your browser. Nothing is sent to us.

Where to paste it

Put the code once, on your home page (or in your site's header so it's on every page). It's invisible to visitors.

  1. Install a header-code plugin such as WPCode (free), or use your theme's "header scripts" box.
  2. Paste the whole code, including the <script> lines, into the header section.
  3. Save, then run the Rich Results Test on your home page.

Already use Yoast, Rank Math or another SEO plugin? It may add basic schema already. Run the Rich Results Test first; if it shows a LocalBusiness already, update that plugin's settings instead of adding a second copy.

Questions

What is LocalBusiness schema?

It's a small block of code, in a format called JSON-LD, that states your business facts in a way machines read without guessing: your name, address, phone, hours and the profiles that belong to you. Visitors never see it. Google and SI assistants do.

Will it make me rank higher?

Not on its own. It removes doubt. When your website, your Google Business Profile and your listings all say the same thing, Google and SI trust the facts and connect them to you. That's why it's one of Leo's page-one checks.

Should I add my star rating to it?

No. Google's rules say review markup is for sites that collect reviews about other businesses, not for a business marking up its own reviews. Adding your own rating can get the markup ignored.

I work from home and travel to customers. What address do I use?

Choose "We go to customers". The generator leaves out your street, keeps your city, state and ZIP, and lists the towns you serve, so your home address isn't published.

Does the business type matter?

Pick the closest match, like Plumber or Dentist. If nothing fits, Local business is always correct. The type helps Google and SI understand what you do; your Google Business Profile category still matters most for the map.

Do you store what I type?

No. The code is built in your browser. A draft is kept on this device only, so you can come back to it, and "Start over" clears it.

Want to know what else Google and SI see?

Ask Leo checks whether SI recommends you, where you sit on Google Maps and whether your site is ready for page one. Free, in under a minute.