Free SEO tool

Local Business Schema Generator

Enter your business details and the tool writes LocalBusiness JSON LD with address, phone, opening hours and map position for your website.

Report a problem or suggest a fix for this tool

What is local business schema generator?

Local business schema gives search engines clean facts about your business: its name, address, phone number, hours and location. It supports local SEO and helps keep your details consistent across the web.

This generator covers common business types and writes the code in the format search engines read.

How to use the local business schema generator

  1. Choose a business type and fill in your details.
  2. Add opening hours, one line per range.
  3. Copy the code into your home page or contact page.

How the local business schema generator works

Your inputs become a JSON LD object of type LocalBusiness or a more specific subtype, with a PostalAddress, optional GeoCoordinates and an openingHours list. Empty fields are removed.

Worked example

A pest control company in Austin with a phone number and Monday to Saturday hours creates a LocalBusiness object with a postal address and one opening hours line.

Common uses of the local business schema generator

  • Local service businesses.
  • Restaurants and shops.
  • Rank and rent sites.
  • Clinics and salons.
  • Contact pages.

Tips and common mistakes

Use exactly the same business name, address and phone number as on your Google Business Profile.

Put the markup on the page that shows those details, usually the contact page or home page.

Background: what to know before you rely on it

Local SEO depends on three things: relevance, distance and prominence. Structured data does not change distance, but it reinforces relevance by stating clearly what the business is and where it serves. Consistency of name, address and phone number across your website, your Business Profile and directories is a long standing local ranking signal. When you create the markup, choose the most specific business type that fits, and keep opening hours up to date, since wrong hours cause bad reviews and lost customers.

Private, free and fast

This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all seo tools, or browse the full list of tools.

Field by field guide

  • Business type: Choose one of: Local business; Restaurant; Store; Professional service; Beauty and health; Automotive; Home and construction; Food establishment.
  • Business name: Type your value. The example is Example Pest Control.
  • Website URL: Type your value. The example is https://example.com/.
  • Image or logo URL: Type your value. The example is https://example.com/logo.png.
  • Phone: Type your value. The example is +1 512 555 0123.
  • Price range (optional): Type your value. The example is $$.
  • Short description: Type or paste your text here. Use a new line for each entry where the label says so.
  • Street address: Type your value. The example is 12 Main Boulevard.
  • City: Type your value. The example is Austin.
  • Region or state: Type your value. The example is Texas.
  • Postal code: Type your value. The example is 78701.
  • Country code: Type your value. The example is US.
  • Latitude (optional): Type your value. The example is 30.2672.
  • Longitude (optional): Type your value. The example is -97.7431.
  • Opening hours, one range per line: Type or paste your text here. Use a new line for each entry where the label says so.

Change one field at a time to see how the result responds, and use the worked example above to check that you get the same answer.

Local markup basics

LocalBusiness markup gives name, address, phone, hours and area served in a form machines can read.

Expert tips

  • Use the exact name, address and phone that appear on the site and the business profile.
  • Add opening hours and geo coordinates.
  • Pick the most specific type available.
  • Only add reviews that are visible and genuine.
  • Validate and update when details change.

Consistent business details across the web build trust with search engines and customers.

Frequently asked questions

Do I need this for Google Maps rankings?

No. Maps rankings come mainly from your Google Business Profile, but consistent markup supports the same facts on your site.

What format for hours?

Use day abbreviations and 24 hour times, such as Mo-Fr 09:00-18:00.

Can I add several locations?

Create one block per location, each on its own page.

Is the code valid?

It uses standard schema.org properties. Test it in the Rich Results Test.

Embed this tool on your website

Copy the code below and paste it into your page or blog post. The tool is free to embed, runs in the visitor's browser and needs no account. Please keep the credit link.

Related tools

Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Validate markup with search engine testing tools before publishing.