Local business schema generator
Tell Google exactly what your business is, where you work, and how customers can reach you. Fill in the basics, click Generate schema, then copy the code to your website. Free, and nothing you type leaves your browser.
Why use this?
Search engines read your website like people do, but they can still misunderstand basic business facts. LocalBusiness schema gives them one clean summary of your name, trade, phone, location, hours, and service area.
Best for local service businesses that want their website facts to match their Google Business Profile and other listings.
Step 1
Add your business details
Start with the basics. The optional sections can stay closed.
Hours
More details (optional)
Add your business name, city, and street address, or choose the service-area option above.
Step 2
Copy your finished schema
Your code will appear here
Fill in the form, then click Generate schema. You do not need to understand JSON-LD to use it.
What local business schema does, and what it does not
Schema markup is a structured summary of your business written for search engines: your name, trade, address, phone, hours and service area, in a format called JSON-LD. Google reads it to understand a page with less guessing.2
It is not a ranking shortcut. Google does not promise a boost for adding it, and it does not replace a complete Google Business Profile, real reviews, or pages that answer what your customers search for. Think of it as making sure the facts about your business are stated once, clearly, in the place search engines look first.
Fields that matter most
- Name and address. Google lists both as required for LocalBusiness markup.1 Use exactly the same spelling as your Google Business Profile and your citations.
- Business type. Pick the most specific type schema.org defines for your trade.3 Plumber beats LocalBusiness.
- Phone, website and hours. Recommended by Google, and the details customers look for first.
- Areas served. Essential if you go to the customer instead of the customer coming to you.
- Profile links. Your Facebook, Yelp, BBB and similar pages tie your website to the rest of your footprint.
Common mistakes
- Details that do not match your Google Business Profile, such as a different phone number or an old suite number.
- Pasting the same LocalBusiness block onto every page, including blog posts. One page is enough.
- Adding hours or reviews the visitor cannot see on the page. Markup should describe what is actually there.
- Publishing a home street address you did not mean to share. Service-area businesses can leave it out.
Schema is one small piece of local search. If you want the whole picture, including your Google Business Profile, your map rankings and the pages that bring in calls, see how we approach local SEO.
Not sure where to paste it?
Book a 30-minute call and we will look at your site with you, no charge.
Book a callMore free tools: SPF, DKIM and DMARC checker, all tools.
Frequently asked questions
- What is local business schema?
- It is a small block of code, in a format called JSON-LD, that states your business name, type, address, phone number, hours and service area in a way search engines read without guessing. Visitors never see it. It sits in the page code next to everything else.
- Does schema markup help my business rank higher?
- Not directly. Google describes structured data as a way to help it understand a page, not as a ranking boost. What it does do is remove ambiguity about who you are, where you are and when you are open, which supports the rest of your local SEO. It works best when it matches your Google Business Profile exactly.
- Where do I paste the code?
- Anywhere in the HTML of your home page or contact page, usually in the head. On WordPress, use a header-and-footer code plugin or your SEO plugin's custom schema field. On Squarespace, use Code Injection. On Wix, use Custom Code in the site settings. Add it to one page, not every page.
- I work at customers' homes. Should I list my address?
- If customers do not come to you, tick "I serve customers at their location". The generator then leaves out your street and keeps your city and state, and you list the areas you serve instead. That matches how Google Business Profile treats service-area businesses.
- How do I check the markup works?
- Paste your page URL, or the code itself, into Google's Rich Results Test and the Schema.org validator. Both are free. Errors there mean something is malformed; warnings usually mean an optional field is missing.
- Which business type should I choose?
- The most specific one that fits. A plumber should pick Plumber, not LocalBusiness. If your trade is not listed, choose Home services (general) or Local business (general). Every option here is a real schema.org type, so none of them will be ignored for being made up.
Sources
- 1.Google Search Central: Local business (LocalBusiness) structured data (https://developers.google.com/search/docs/appearance/structured-data/local-business)
- 2.Google Search Central: Introduction to structured data markup (https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
- 3.Schema.org: LocalBusiness type definition (https://schema.org/LocalBusiness)