LocalBusiness Schema Generator

The Rankyfy LocalBusiness Schema Generator creates valid JSON-LD structured data for a local business in seconds. Select your business from Google and the generator fills in the name, address, phone, opening hours and map position. Copy the code into your website. It is free and needs no sign-up.

Sample details for a made-up business
Your details

Free · No sign-up · 10 Google look-ups a day. Typing the details yourself has no limit.

Your schema, updated as you type
JSON-LD · paste it inside a script tag of type application/ld+json Copy
{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "name": "Maple Dental Care",
  "url": "https://www.mapledentalcare.example",
  "telephone": "+91 172 555 0142",
  "priceRange": "₹₹",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "SCO 21, Phase 7",
    "addressLocality": "Mohali",
    "addressRegion": "Punjab",
    "postalCode": "160062",
    "addressCountry": "IN"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 30.7046,
    "longitude": 76.7179
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
    "opens": "09:00",
    "closes": "20:00"
  }]
}

The generator covers one page. The site audit checks the schema on every page.

Check your live page

What is LocalBusiness schema?

LocalBusiness schema is structured data that states a business's name, address, phone, hours and type in a form search engines and AI systems can read without guessing. It is written in JSON-LD and uses the vocabulary from Schema.org.

How to create LocalBusiness schema

  1. Find your business on Google or enter the details by hand.
  2. Choose the most specific business type that is true, such as Dentist or Plumber.
  3. Check the fields, copy the code and paste it into the page for that location.

What the code contains

The business type, name, website and phone. The postal address and map coordinates. Opening hours for each day. Price range, social profiles and the areas served.

Why your schema should match your Google profile

Search engines and AI assistants compare what your website says with what your Google listing says. In a BrightLocal study of about 200,000 local AI searches, business websites made up 93% of the source domains AI cited. The same name, address and phone in both places removes doubt about which business is which.

A note on review stars

Do not add your own star rating to LocalBusiness schema to get stars in search results. Google does not show stars for a business's markup about itself, so the generator leaves it out.

Frequently asked questions

Is the Schema Generator free?

Yes. Manual entry has no limit. You get 10 Google look-ups a day.

Where do I put the code?

On the page about that location, inside a script tag of type application/ld+json. Most site builders have a custom-code field for this.

I have several locations. What do I do?

Create one block per location and put each on that location's own page.

Which business type should I pick?

The most specific type that is true. If none fits, use LocalBusiness.

Will schema raise my ranking?

Not on its own. It helps search engines read your details correctly.

How do I test it?

Press “Test in Google's Rich Results Test”, then check the live page with the Rankyfy site audit.

Check the schema on every page of your site.

Sign up free