Skip to main content

How to Add Local Business Schema: Local Schema Markup Examples

Local business schema is structured data that helps search engines understand your business’s location, hours, contact information, and services. Here’s how to add it to your website.

1: Choose Your Business Type

Choose the most specific Schema.org type that accurately describes your business. Examples include Restaurant, Dentist, LegalService, and FinancialService. Use LocalBusiness if a more specific type does not fit.

For businesses with several locations, create markup with the correct details for each location. Google recommends using the most specific applicable LocalBusiness subtype.

2: Create Your Schema Markup

Use a schema generator, an SEO plugin, or an AI assistant to draft your code. JSON-LD is Google’s recommended format and can be added without changing the page’s visible design. You can use Schema.org’s validation tool and Google’s rich results test to check every detail before publishing, including:

  • Business name and website URL.
  • Address and phone number.
  • Opening hours.
  • Business type.
  • Any additional information, such as coordinates or social profile links.

The markup should accurately reflect the information visitors can find on your website.

Local Business Schema Markup Example

This example shows JSON-LD for a fictional restaurant. Replace the sample information with your own business details and select the appropriate business type.

<script type=”application/ld+json”>

{

  “@context”: “https://schema.org”,

  “@type”: “Restaurant”,

  “@id”: “https://www.example.com/location/#business”,

  “name”: “Example Restaurant”,

  “url”: “https://www.example.com/location/”,

  “telephone”: “+1-212-555-0100”,

  “address”: {

    “@type”: “PostalAddress”,

    “streetAddress”: “123 Example Street”,

    “addressLocality”: “New York”,

    “addressRegion”: “NY”,

    “postalCode”: “10001”,

    “addressCountry”: “US”

  },

  “openingHoursSpecification”: [

    {

      “@type”: “OpeningHoursSpecification”,

      “dayOfWeek”: [

        “Monday”,

        “Tuesday”,

        “Wednesday”,

        “Thursday”,

        “Friday”

      ],

      “opens”: “11:00”,

      “closes”: “21:00”

    }

  ]

}

</script>

The example is formatted with spacing and line breaks for readability. You can optionally minify the JSON-LD before adding it to your website, removing unnecessary whitespace to reduce its size. Both versions work the same way. Keep the surrounding script tags and validate the final code.

3: Insert the Code Into Your Website

Choose the method that fits your website and how your team manages it:

  • SEO plugin: Enter your business details into a plugin that generates local business schema. Check whether your existing tools already provide this markup before adding another version.
  • Direct implementation: Add the JSON-LD script to the relevant page’s HTML, either in the head or body. A developer can help if you do not have access to edit the page.
  • Google Tag Manager: Add the script through a Custom HTML tag and configure it to run on the relevant pages. Publish the container and test the live implementation.

Google supports JSON-LD in the head or body of a page, including markup added through Google Tag Manager.

4: Validate Using Technical Testing Tools

Check the code before publishing, then test the live page to confirm the markup is available.

  • Use the Schema Markup Validator to check your Schema.org markup.
  • Use Google’s Rich Results Test to check supported structured data and identify errors affecting eligibility.
  • Fix critical errors and review any warnings.
  • After publishing, use Search Console’s URL Inspection tool to check how Google sees the page. 

Valid markup helps Google understand your information, but it does not guarantee a particular search appearance. Review the markup whenever your address, hours, phone number, or other business details change.

Technical SEO and GEO Services from Arc Intermedia

Arc Intermedia helps businesses improve the technical foundations of their websites, from structured data and crawlability to site organization and content. We look at how these elements work together to help search engines understand your pages and visitors find what they need.

Since 2010, our broader digital marketing work has helped generate more than $600 million in client revenue and 210 million website visitors. Our SEO specialists, developers, and content team bring that focus on measurable results to your website, identifying issues and prioritizing improvements around your business goals.

Learn more about our Search Engine Optimization Services, Generative Engine Optimization Services, or contact us to discuss schema implementation and your website’s technical SEO needs.