1 Basic Information

2 Address & Contact

3 Business Details

4 Business Hours

5 Ratings & Reviews (optional but highly recommended)

Your Schema Markup

Copy this code and paste it into your website's <head> section.


    

Get a free monthly AI visibility report

We'll email you this schema, plus monthly tips on how to rank in ChatGPT, Claude, and Perplexity for your industry. No spam, unsubscribe anytime.

How to install this on your website

  1. Click Copy above to copy the code
  2. Open your website's HTML editor (WordPress, Squarespace, Wix, etc.)
  3. Paste the code inside the <head> tag, before </head>
  4. Save and publish your page
  5. Validate at validator.schema.org

LocalBusiness schema generator for local SEO and AI visibility

This LocalBusiness schema generator turns your NAP, hours, services, reviews, and contact details into structured JSON-LD. The goal is simple: make the business entity, location, and proof signals clear enough for search crawlers and AI answer engines to parse without guessing.

Use the form above for the markup, then use the checklist below to decide which fields are required fields for a reliable local business profile and which optional fields add stronger evidence.

Required fields for a useful LocalBusiness JSON-LD block

Name and business type

Use the real business name and the closest schema type, such as Dentist, Restaurant, Attorney, RealEstateAgent, or HomeAndConstructionBusiness.

NAP details

Add phone, street address, city, region, postal code, and country so Google and AI systems can connect the page to a specific local entity.

URL and description

Point schema to the canonical website URL and describe services, service area, and specialty in plain language.

Opening hours

Include normal business hours or mark closed days so crawlers do not have to infer availability from page copy.

Fields that make the schema stronger

  • aggregateRating and reviewCount: useful when the numbers match visible review evidence on the page or your linked profiles.
  • areaServed: useful for service businesses that cover a metro area rather than one storefront.
  • image: use a real storefront, team, logo, or service image that also appears on the page.
  • sameAs: add citation profiles such as Google Business Profile, LinkedIn, Facebook, Yelp, Houzz, Avvo, or industry directories when they are real and maintained.
  • FAQPage schema: add FAQPage schema only when the same questions and answers are visible on the page for users.

Example LocalBusiness schema output

The generator creates a JSON-LD block like this, then expands it based on the details you provide.

{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Example Dental Clinic",
  "url": "https://example.com",
  "telephone": "+1-416-555-0100",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "Toronto",
    "addressRegion": "ON",
    "postalCode": "M5V 2T6",
    "addressCountry": "CA"
  }
}

How to validate the schema

  1. Copy the JSON-LD generated above.
  2. Paste it into your site template or page head.
  3. Test syntax with validator.schema.org.
  4. Check Google-specific eligibility with the Google Rich Results Test.
  5. After publishing, use Search Console URL Inspection to confirm Google can fetch the updated page.