Free Tool

Local Business
Schema Markup Generator

Generate valid JSON-LD structured data for your local business in minutes. Our LocalBusiness schema generator covers every field Google supports, from basic NAP details to opening hours, geo-coordinates, social profiles, payment methods, and service areas. Copy the output directly into your website's HTML to improve local search visibility and unlock rich results.

100% free No signup required Valid JSON-LD output Google-ready
40+
Schema Fields
100+
Business Types
0
Server Uploads
Sample Output Preview
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Your Business Name",
"address": {
  "streetAddress": "123 Main St",
  "addressLocality": "New York"
},
"telephone": "+1-555-123-4567",
"openingHoursSpecification": [...]
Valid schema.org JSON-LD
Your official business name as it appears on Google.
Select the most specific type for your business.
Secondary schema.org type if applicable.
250 characters recommended for rich result snippets.
Square image, minimum 112x112px, recommended 1200x1200px.
Photo of your business exterior or interior.
Start typing to search via Google Places. Selecting a result auto-fills address fields, map, and coordinates.

Use 2-letter ISO code (US, GB, DE, etc.).

Enter latitude and longitude manually, or use the map below to pick a location.
Click on the map to set coordinates, or drag the marker to adjust.

Include country code. E.164 format recommended.


Opening Hours
Set your business hours for each day of the week.
Mon to
Tue to
Wed to
Thu to
Fri to
Sat to
Sun to
Leave hours empty and check "Closed" for days your business is not open.
Social Media Profiles
Add your business social media profile URLs. These populate the sameAs property.
Additional Schema Properties
Optional fields to further enrich your structured data.
Dun & Bradstreet identifier (9 digits).

Aggregate Rating (Reviews)
Add your aggregate review data to display star ratings in search results.


Comma-separated keywords relevant to your business.

Select all accessibility features available at your location. These appear in Google rich results and Maps.

Mobility
Vision
Hearing
General
JSON-LD Output

                    
Valid JSON-LD
0 fields populated

How to Add LocalBusiness Schema to Your Website

After generating your schema markup, adding it to your site takes just a few minutes regardless of which platform you use.

Plain HTML

Paste the JSON-LD script tag into the <head> section of your HTML page. It works on any static website.

<script type="application/ld+json">...</script>

WordPress

Use a plugin like Rank Math, Yoast SEO, or add the code via Appearance > Theme Editor in your header.php file.

Rank Math > Schema > Custom Schema

Shopify

Go to Online Store > Themes > Edit Code, then paste the JSON-LD into your theme.liquid file before </head>.

theme.liquid > before </head>

React / Next.js

Add the JSON-LD as a dangerouslySetInnerHTML script in your page component's <Head>.

<Head><script type="application/ld+json">

What Is LocalBusiness Schema and Why Does It Matter?

LocalBusiness schema markup is a type of structured data defined by schema.org that helps search engines understand critical details about your business, including your name, address, phone number, opening hours, and the services you provide. When you add valid JSON-LD structured data to your website, Google, Bing, and other search engines can display rich results for your business, such as a knowledge panel with your hours, star ratings, map pin, and contact information directly in search results.

For local businesses, schema markup is one of the most impactful technical SEO optimizations you can implement. It bridges the gap between unstructured HTML content and machine-readable data. Without structured data, search engines must guess which text on your page represents your phone number, which represents your address, and which is your business name. Schema eliminates that ambiguity entirely.

Google's own structured data documentation explicitly recommends LocalBusiness markup as a way to become eligible for enhanced search features. Businesses with complete, accurate schema markup are more likely to appear in the Local Pack, Google Maps results, and voice search answers. The structured data also reinforces your NAP (Name, Address, Phone) consistency across the web, which is a direct local ranking factor.

Our local business schema generator produces production-ready JSON-LD that follows Google's best practices. Every field is mapped to the correct schema.org property, types are validated, and the output includes only populated fields for clean, efficient markup. After generating your schema, pair it with a local SEO site audit to verify your implementation and check for additional optimization opportunities.

Which Businesses Benefit from LocalBusiness Schema?

Every business with a physical location or defined service area benefits from LocalBusiness structured data. This includes restaurants, dental practices, law firms, plumbers, HVAC contractors, real estate agents, medical clinics, auto repair shops, salons, retail stores, hotels, and hundreds of other business types. Schema.org defines over 100 specific subtypes under LocalBusiness, and our generator supports all of them. Whether you operate a single location or manage multiple franchises, implementing accurate schema on every location page is considered an SEO best practice by industry leaders at Moz, Search Engine Journal, and Google's own Search Central team.

If you have already run a Google Business Profile audit or used our NAP consistency checker, you likely noticed recommendations to add or improve schema markup on your website. This generator is the fastest way to create the exact markup those tools recommend. Generate your schema, validate it with Google's Rich Results Test, and deploy it in minutes.

Frequently Asked Questions

Everything you need to know about LocalBusiness schema markup and how to use this generator.

LocalBusiness schema markup is a type of structured data defined by schema.org that describes your business details in a machine-readable format. When added to your website as JSON-LD, it tells Google, Bing, and other search engines your exact business name, address, phone number, opening hours, services, and more. This structured data enables rich results like knowledge panels, star ratings, and map pins directly in search results.

Schema markup is one of the most impactful technical SEO optimizations for local businesses. Google recommends it explicitly in their Search Central documentation. Businesses with complete LocalBusiness schema are more likely to appear in the Local Pack, Google Maps results, and voice search answers. It also reinforces NAP consistency, which is a direct local ranking factor.

Yes, completely free with no signup required. Generate as many schemas as you need. The tool runs entirely in your browser, so no data is sent to any server. Simply fill in your business details, and copy the generated JSON-LD output to your website.

JSON-LD (JavaScript Object Notation for Linked Data) is Google's recommended format for structured data. Unlike Microdata or RDFa, JSON-LD is added as a separate script block in your HTML and does not require changes to your visible page content. This makes it easier to implement, maintain, and debug. Our generator outputs valid JSON-LD that follows Google's best practices.

Our generator supports over 100 specific LocalBusiness subtypes defined by schema.org, organized into categories like Food & Drink, Health & Medical, Professional Services, Home & Repair, Automotive, Retail, Beauty, Entertainment, Fitness, Education, Lodging, and Government. Selecting the most specific type helps search engines better understand your business.

Add the JSON-LD script tag inside the <head> section of your website's HTML. For WordPress, use a plugin like Rank Math or Yoast SEO, or paste it in your theme's header.php. For Shopify, add it to theme.liquid. For React/Next.js, include it in your page Head component. The implementation guide on this page covers all major platforms.

After adding the JSON-LD to your website, use Google's Rich Results Test or the Schema.org Validator to verify. You can also run a website SEO audit with our tool, which checks for structured data presence and validity as part of its 310+ checks.

Yes. Generate a separate LocalBusiness schema for each location and add it to the corresponding location page on your website. Each location should have its own page with unique NAP details, opening hours, and geo-coordinates. For franchise or multi-location businesses, this is the recommended approach by Google.

Google requires at minimum: business name, address (street, city, country), and either phone number or URL. However, the more fields you populate, the better your chances of earning rich results. We strongly recommend also adding opening hours, geo-coordinates, business type, description, logo, and image for maximum impact.

Schema markup on your website and your Google Business Profile serve complementary roles. GBP provides your business information directly to Google's local index, while schema markup reinforces that data on your own domain. Consistency between the two strengthens your local authority. Use our GBP audit tool and NAP checker to verify alignment.

Yes. Toggle the "Service area business" option in the Address tab to define service areas instead of a physical storefront address. The generator will include the appropriate areaServed property with City-type entries for each area you specify.

Schema markup is not a direct ranking factor, but it significantly improves your visibility in search results. Rich results with star ratings, hours, and contact info have higher click-through rates. Google also uses structured data to better understand your business entity, which indirectly supports local ranking signals like relevance and prominence.

Generate Your LocalBusiness Schema Now

Free, instant, and production-ready. Fill in your business details above and copy the JSON-LD output to your website. Then run a free SEO audit to verify your implementation.