Free tool

Local business schema generator

Create LocalBusiness structured data for your website in JSON-LD. Add your business type, address, phone, opening hours, location and social profiles, then copy the code into your page.

  • Valid JSON-LD
  • Opening hours built in
  • Twenty business types

Opening hours

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Paste the code into the head or body of your homepage or contact page. The details must match what visitors see on the page and on your Google Business Profile.

Free, with no sign-up. The tool runs entirely in your browser: nothing you enter is uploaded or stored on our servers.

How to use it

How it works

  1. 01

    Enter your business details

    Name, type, address, phone and website.

  2. 02

    Add hours and profiles

    Opening times, location and social profiles.

  3. 03

    Paste and test

    Add the code to your site and test it in Google's tools.

What local business schema does

Schema markup is code that describes your business in a format search engines understand: your name, type of business, address, phone number, opening hours and profiles. It helps them connect your website with your business details and can make your pages eligible for richer search features. It does not guarantee them, and it works best alongside a complete Google Business Profile.

Choose the most specific type

Schema.org has types for many kinds of businesses, such as Dentist, Plumber, LegalService or Restaurant. Pick the most specific one that fits, and use LocalBusiness only when nothing more precise applies.

Keep details consistent

The name, address and phone number in your markup should match your website, your Google Business Profile and directory listings exactly. Mismatched details make it harder for search engines to trust any of them. Only mark up information that visitors can also see on the page.

Where to put the code and how to test it

Paste the code into the HTML of the page that represents your business, usually the homepage or the contact page. Many website builders and SEO plugins have a field for custom code in the page head. Then check it with Google's Rich Results Test and the Schema Markup Validator, and fix any warnings.

Several locations

If you have several branches, give each location its own page with its own markup, address, phone number and opening hours, instead of listing every branch in one block.

Questions, answered

Not directly. It helps search engines understand your business and can enable richer results, which can improve clicks. Content, reviews and your Business Profile matter more for local rankings.

JSON-LD is the format Google recommends and the easiest to add, because it sits in one block instead of being woven through your HTML.

They are optional. Add them if you know the exact location; your address is the main signal.

By the Stegnor team · Updated