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.
"@context": "https://schema.org", "@type": "LocalBusiness", "name": "Your Business Name", "address": { "streetAddress": "123 Main St", "addressLocality": "New York" }, "telephone": "+1-555-123-4567", "openingHoursSpecification": [...]
sameAs property.Select all accessibility features available at your location. These appear in Google rich results and Maps.
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.
Pair Schema Markup with These Local SEO Tools
Frequently Asked Questions
Everything you need to know about LocalBusiness schema markup and how to use this generator.
<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.