Free tool

Local Business Schema Generator

Generate Google-ready LocalBusiness JSON-LD for your service business in 60 seconds. Paste into your site head.

Free forever, no signup needed, results update instantly

LocalBusiness schema (JSON-LD) helps Google understand your business and earn rich results - review stars, hours, address, phone - directly in search snippets. Smarfle's AI Website Builder generates this automatically for hosted sites, but if your site is on Wix, Squarespace, WordPress, or anything else, you can copy this output into your <head> tag and get the same SEO lift.

No signup, no email
Updates instantly
Built for service businesses
Shareable link to your scenario

Quick startPick your industry to load real-world numbers

Your inputs

Edit any field, results update automatically.

Most specific Schema.org subtype that fits your business. Specific types unlock category-relevant rich results.

Public URL to your logo image. Recommended for rich results. If you only have one image, paste it here and leave 'Image URL' blank to reuse it.

Per Schema.org, image is a separate field from logo. Common: storefront photo, vehicle, team. Leave blank to reuse the logo.

Find via Google Maps right-click on your address. Adds map snippet eligibility.

Schema.org-friendly indicator. Examples: $, $$, $$$, $$$$.

JSON-LD with <script> tag (paste into <head>)

Drop this anywhere inside your site's <head> tag. No other change needed.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "HVACBusiness",
  "name": "ABC HVAC",
  "url": "https://www.example.com",
  "telephone": "+15551234567",
  "email": "info@example.com",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "Tampa",
    "addressRegion": "FL",
    "postalCode": "33602",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 27.9506,
    "longitude": -82.4572
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "08:00",
      "closes": "18:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Saturday",
      "opens": "09:00",
      "closes": "14:00"
    }
  ],
  "priceRange": "$$",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.8,
    "reviewCount": 87
  }
}
</script>

JSON-LD only (no script tag)

If you're injecting via a tag manager that wraps in <script> for you.

{
  "@context": "https://schema.org",
  "@type": "HVACBusiness",
  "name": "ABC HVAC",
  "url": "https://www.example.com",
  "telephone": "+15551234567",
  "email": "info@example.com",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "Tampa",
    "addressRegion": "FL",
    "postalCode": "33602",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 27.9506,
    "longitude": -82.4572
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "08:00",
      "closes": "18:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Saturday",
      "opens": "09:00",
      "closes": "14:00"
    }
  ],
  "priceRange": "$$",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.8,
    "reviewCount": 87
  }
}

Pre-publish checklist

Issues to fix before going live.

1. Website URL is a placeholder, replace before publishing
2. No logo or image set, Google will warn 'Missing field image (optional)'. Add a logo URL above for full eligibility.

Get this auto-generated on a Smarfle website

Smarfle's AI Website Builder builds your full site in 60 seconds and bakes in LocalBusiness + Service + Review schema automatically. No more manual JSON-LD maintenance.

Save this in Smarfle CRM

Free for 14 days, no credit card

How this calculation works

LocalBusiness schema is structured data Google reads to understand your business. Pasted into your <head> tag, it makes your search snippet eligible for: - Star rating + review count display - Business hours (open now / closed) - Click-to-call phone link - Address with map - Knowledge panel on brand searches We build your schema in three layers: 1. Type + identity: most specific Schema.org subtype that fits your business (HVACBusiness, Plumber, Electrician, etc.) gives Google more context than generic LocalBusiness. 2. Contact + location: PostalAddress + GeoCoordinates power the map snippet. Phone in E.164 format (+15551234567) is required for click-to-call. 3. Hours + price + ratings: openingHoursSpecification per day enables "open now" badges. priceRange shows $$/$$$. AggregateRating (if you have reviews) shows stars in the snippet. Paste the output into your site's <head> tag (or a tag manager). Google picks it up on next crawl. Validate at https://search.google.com/test/rich-results to confirm.

Real scenarios

Find the persona closest to yours, then click to load those numbers into the calculator.

HVAC owner on Wix

Wix site, no JSON-LD. Wants to add schema for SEO.

Generates HVAC-specific schema in 60 sec. Pastes into Wix Custom Code → Header. Validates in Rich Results Test. Eligible for star ratings + map snippet.

Plumber, multi-location

3 branches, wants schema per branch landing page.

Generate one per location, paste each into its branch page. Each location independently eligible for local pack ranking.

Cleaning service, just launched

Brand new business, no reviews yet.

Use the 'Minimal' preset (no rating field). Add aggregateRating later as reviews accumulate. Schema works either way.

Frequently asked questions

Ready to put this into practice?

Smarfle CRM helps local service businesses book more jobs, get paid faster, and grow on autopilot. Florida-based, same-day support, 14-day free trial.

Start your free trial