Table of Contents

    Local Business Schema Markup: A Copy-Paste Guide

    Local Business Schema Markup: A Copy-Paste Guide

    Local business schema markup is a small block of JSON-LD code that tells Google your business name, address, phone, opening hours and location in a format machines can read without guessing. You add it once to your homepage or contact page, test it, and Google can use it for business details in Search and Maps. Below is a copy-paste template you can adapt in ten minutes.

    We add this markup to almost every local site we build. It will not rank a weak page on its own, but it removes ambiguity — and ambiguity is what makes Google show the wrong hours or an old phone number. Here is the template, the properties that matter, and the mistakes we fix most often.

    02

    What Local Business Schema Markup Does (and Doesn’t Do)

    Structured data is a standard vocabulary from schema.org that search engines understand. For a local company the relevant type is LocalBusiness or one of its more specific subtypes. According to Google’s LocalBusiness documentation, Google can use this information to show business details when people search for you.

    What it does well:

    • Confirms your official name, address and phone (NAP) so they match your Google Business Profile.
    • Gives exact opening hours, including Saturday and seasonal changes.
    • Connects your website to your social profiles through sameAs.
    • Helps AI search tools and assistants pull correct facts about you.

    What it does not do: guarantee a rich result, replace a verified Google Business Profile, or fix thin content. Think of local business schema markup as a clean label on a good product. For the profile side, see our Google Business Profile optimization guide.

    03

    The Copy-Paste JSON-LD Template

    Google recommends JSON-LD because it sits in one script tag and does not touch your visible HTML. Copy the block below, replace the example values, and place it in the <head> or anywhere in the body of the page that represents your business — usually the homepage or contact page.

    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Dentist",
      "@id": "https://example.com/#business",
      "name": "Smile Dental Studio",
      "url": "https://example.com/",
      "image": ["https://example.com/img/clinic-front.jpg"],
      "telephone": "+1-312-555-0147",
      "priceRange": "$$",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "215 W Ohio St, Suite 3",
        "addressLocality": "Chicago",
        "addressRegion": "IL",
        "postalCode": "60654",
        "addressCountry": "US"
      },
      "geo": {
        "@type": "GeoCoordinates",
        "latitude": 41.89245,
        "longitude": -87.63452
      },
      "openingHoursSpecification": [
        {
          "@type": "OpeningHoursSpecification",
          "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
          "opens": "09:00",
          "closes": "18:00"
        },
        {
          "@type": "OpeningHoursSpecification",
          "dayOfWeek": "Saturday",
          "opens": "10:00",
          "closes": "14:00"
        }
      ],
      "sameAs": [
        "https://www.facebook.com/smiledentalstudio",
        "https://www.instagram.com/smiledentalstudio"
      ]
    }
    </script>

    Six fields to change before you publish: @type, name, url, telephone, address and openingHoursSpecification. Then add geo coordinates — right-click your pin in Google Maps to copy them — and your real image URL. The @id is a stable identifier other schema blocks on your site can reference.

    Google requirements for local business schema markup
    04

    Google’s documentation lists only two required properties. Everything else is recommended, but in practice the recommended fields are what make the markup useful.

    PropertyStatusNotes
    nameRequiredExactly as on your sign and Google Business Profile
    address (PostalAddress)RequiredInclude as many sub-fields as possible; addressCountry as a 2-letter ISO code
    telephoneRecommendedInternational format with country code, e.g. +1 or +44
    urlRecommendedThe canonical URL of this location’s page
    geoRecommendedLatitude and longitude with at least 5 decimal places
    openingHoursSpecificationRecommendedOne object per group of days with the same hours
    priceRangeRecommendedUnder 100 characters, e.g. $$ or $20–$80
    imageRecommendedReal photos of the premises, not your logo only
    servesCuisine, menuRecommended (food)Only for restaurants and cafés
    aggregateRating, reviewRecommended (limited)Only for sites that review other businesses
    Based on Google Search Central LocalBusiness documentation, November 2026

    Note the last row. Google treats reviews you publish about your own business as self-serving, so marking up testimonials on your own site will not earn star snippets and can trigger a manual action. Leave ratings out.

    05

    Pick the Right Subtype: Dentist, Restaurant and More

    Google asks you to use the most specific type available. Schema.org has dozens of subtypes under LocalBusiness, so browse the list before settling on the generic one.

    06

    Common subtypes

    • Health: Dentist, Physician, MedicalClinic, Optician, Pharmacy.
    • Food: Restaurant, CafeOrCoffeeShop, Bakery, BarOrPub.
    • Services: Plumber, Electrician, HVACBusiness, AutoRepair, HairSalon, DaySpa.
    • Professional: AccountingService, LegalService, RealEstateAgent, TravelAgency.
    • Lodging: Hotel, BedAndBreakfast, Hostel.

    A restaurant should add servesCuisine, menu (a URL) and acceptsReservations. A dental clinic can stay close to our template above. If one business genuinely fits two types, use an array such as "@type": ["Dentist", "MedicalClinic"]; Google does not support additionalType for this. Building a clinic site? Our {I(‘/dental-clinic-website-design/’, ‘dental clinic website guide’)} covers the pages that should carry this markup.

    07

    Opening Hours Without Mistakes

    Opening hours cause more warnings than any other field. Use openingHoursSpecification objects and follow these rules from Google’s documentation:

    • Times use 24-hour format: 09:00, 18:30.
    • Group days that share the same hours into one object with an array of days.
    • Open late past midnight? Use one object that closes after midnight, e.g. opens 18:00, closes 02:00.
    • Open 24 hours: opens 00:00, closes 23:59.
    • Closed all day (for example a holiday): opens and closes both 00:00, with validFrom and validThrough dates in YYYY-MM-DD format.
    • Leave out days you are always closed; do not add them with empty times.

    Whatever you write here must match your Google Business Profile and the hours printed on your contact page. Three different versions of the truth is the most common reason Google ignores markup.

    08

    How to Add Local Business Schema Markup in WordPress

    Workflow for adding and testing structured data on a local website

    You have two clean options. The first is an SEO plugin. In Rank Math, go to Rank Math SEO → Titles & Meta → Local SEO, choose Organization, pick the most specific Business Type, and fill in address, phone and logo, as described in Rank Math’s knowledge base. Multiple locations with separate pages need Rank Math PRO. Our Rank Math settings guide walks through the rest of the plugin.

    The second option is a hand-written JSON-LD block, inserted through your theme’s header or a code snippets plugin. We prefer it when the plugin lacks a field you need, such as seasonal hours or a specific subtype. Never run both: two competing LocalBusiness blocks with different data confuse Google.

    Multi-location business? Give each branch its own page, its own markup with a unique @id, address, phone and hours, and link them from a locations page.

    Running a bilingual site? Each language version of the contact page can carry its own block: keep the same @id, phone and coordinates, and translate only the name (if you use a local-language name) and the street address. Check that your caching or optimization plugin does not strip or minify the script tag into invalid JSON — we see this after aggressive “combine JavaScript” settings more often than you would expect. A quick view-source search for application/ld+json on the live page confirms the block survived.

    09

    Test, Publish and Monitor

    1. Paste the URL or code into Google’s Rich Results Test and fix every critical error. Non-critical warnings are optional.
    2. Run the same code through the Schema Markup Validator to catch schema.org vocabulary mistakes Google’s tool skips.
    3. After publishing, use URL Inspection in Search Console to confirm Google can see the rendered page, then request indexing.
    4. Allow several days for crawling. Re-test whenever you change hours, phone or address.

    Put a recurring reminder in your calendar: every time hours, phone or address change, update the Business Profile, the footer and your local business schema markup on the same day.

    Structured data is one item on our technical SEO checklist; it pays off fastest when the basics in SEO for small business are already in place.

    10

    8 Common Local Business Schema Markup Errors

    Common structured data errors on local business websites
    1. Generic type — using LocalBusiness when Dentist or Restaurant exists.
    2. Missing address fields — no postal code or country.
    3. Phone without country code — write +1, +44 or +995, not a local format.
    4. Hours that contradict the Business Profile or the footer.
    5. Self-serving reviews marked up with aggregateRating.
    6. Duplicate blocks from a theme, a plugin and manual code at once.
    7. Markup on every page with different data instead of one consistent block.
    8. Content not on the page — markup should describe information visitors can see.

    Want us to check yours? Our SEO optimization service includes a full local business schema markup audit with fixes. Submit your project with your website URL and we will tell you what to change.

    Local Business Schema Markup: FAQ
    What is local business schema markup?

    It is structured data, usually in JSON-LD format, that describes your business name, address, phone, hours and location using the schema.org LocalBusiness vocabulary. Search engines read it to show accurate business details.

    Does local business schema markup help rankings?

    It is not a direct ranking factor. It helps Google understand and display your business details correctly, which supports local visibility and click-through when combined with good content and a strong Google Business Profile.

    Where should I put LocalBusiness JSON-LD?

    Put it on the page that represents the business, usually the homepage or contact page, either in the head or the body. For several locations, add separate markup on each location page.

    Which properties are required for LocalBusiness?

    Google requires only name and address. It recommends telephone, url, geo, openingHoursSpecification, priceRange and image, and in practice you should include all that apply.

    Can I add star ratings to my own business schema?

    No. Google treats ratings for your own business on your own site as self-serving and will not show stars for them. Ratings markup is meant for sites that review other businesses.

    How do I test local business schema markup?

    Use Google’s Rich Results Test for critical errors and the Schema Markup Validator for general schema.org issues. After publishing, check the page with URL Inspection in Search Console.