Local Business Schema Generator

This free tool generates ready-to-use JSON-LD structured data for your local business. Fill in your business details like name, address, phone number, hours, and services, and the tool builds valid Schema.org markup you can paste directly into your website. Help search engines understand your business and improve your chances of showing up in local search results and the map pack.

Business Information
Address
Images
Operating Hours
Area Served (optional)
Payment & Additional (optional)
Social Profiles (optional)
Aggregate Rating (optional)

Generated JSON-LD

What Is Local Business Schema?

Local business schema is structured data that describes a physical business location in a format search engines can read directly. It uses Schema.org's LocalBusiness type (or one of its more specific subtypes) to define key details like your business name, address, phone number, operating hours, accepted payment methods, and the geographic area you serve.

When search engines encounter this markup on your site, they can pull those details into search features like the Knowledge Panel, local pack results, and Google Maps listings. Instead of relying on your Google Business Profile alone, your website itself becomes a verified source of business information that search engines can cross-reference and display.

The markup lives in a JSON-LD script tag on your website, typically on the homepage or a dedicated contact/locations page. It runs in the background and doesn't affect how your page looks to visitors.

Why Does Local Business Schema Matter for SEO?

Local SEO is competitive, and structured data gives search engines one more signal to work with when deciding which businesses to surface for local queries. While schema markup alone won't guarantee a top spot in the map pack, it strengthens your overall local presence in a few important ways.

Consistency across platforms. Search engines compare business information across your website, Google Business Profile, directories, and social profiles. Schema markup lets you present that information in an unambiguous, machine-readable format directly on your site, reducing the chance of mismatches that can hurt local rankings.

Eligibility for rich results. Businesses with proper schema can qualify for enhanced search features like star ratings pulled from reviews, business hours displayed directly in results, and prominent contact information. These visual elements increase click-through rates and build trust before someone even visits your site.

Voice search and AI answers. As search increasingly moves toward voice assistants and AI-generated answers, structured data becomes even more valuable. These systems rely heavily on clearly defined data points rather than parsing paragraphs of text. A well-structured schema block gives them exactly what they need.

Which Business Type Should I Choose?

Schema.org offers dozens of specific subtypes under LocalBusiness, and choosing the right one gives search engines more precise context about what you do. Here are some of the most commonly used types.

Restaurant. For any food service establishment. Supports additional properties like cuisine type, menu URL, and whether you accept reservations.

Dentist, Physician, MedicalClinic. For healthcare providers. These types support properties for medical specialties, accepted insurance, and available services.

Attorney, LegalService. For law firms and legal practices. Allows you to specify practice areas and jurisdictions served.

AutoRepair, AutoDealer. For automotive businesses. Supports vehicle-specific properties and service descriptions.

Store, HardwareStore, ElectronicsStore, ClothingStore. For retail businesses. Each subtype signals the specific category of products you sell.

BeautySalon, HairSalon, HealthAndBeautyBusiness. For personal care and wellness businesses.

If your business type isn't listed in the generator's dropdown, LocalBusiness works as a solid default. Using it is significantly better than having no schema at all. You can always add a description property that clarifies your specific business category.

What Properties Should I Include?

Some properties are required for your schema to be valid and useful, while others are recommended to maximize your chances of earning rich results.

Essential properties. At minimum, include your business name, address (street, city, state, postal code, country), phone number, and website URL. These are the core data points search engines need to identify and verify your business.

Operating hours. Use the openingHoursSpecification property to define your hours for each day of the week. This is one of the most frequently displayed pieces of information in search results. Include special hours for holidays if applicable.

Geographic coordinates. Adding latitude and longitude helps search engines place your business precisely on a map. This is especially useful if your address is in a complex like a strip mall or office park.

Logo and images. Include a URL to your business logo and at least one photo of your location. These can appear in Knowledge Panels and map results.

Price range. The priceRange property uses a simple dollar sign scale ($ through $$$$) that helps searchers gauge affordability at a glance.

Area served. If your business serves customers beyond your physical location, the areaServed property lets you define your service radius or list specific cities and regions.

Accepted payment methods. Let potential customers know upfront whether you accept credit cards, cash, specific digital wallets, or other payment types.

Can I Use This for Multiple Locations?

Yes. If your business has more than one physical location, you should generate a separate JSON-LD block for each one. Every location needs its own unique name (or at least a location identifier), address, phone number, and operating hours.

The best practice is to place each location's schema on its corresponding location page. If you have a page for your Austin location and another for your Dallas location, each page gets its own JSON-LD block with that specific location's details. Avoid dumping all your locations into a single schema block on one page.

For businesses with many locations, your CMS or website platform may support dynamic schema generation that pulls location data from a database or custom fields. This keeps your markup accurate and reduces the manual work of updating dozens of individual blocks when something changes.

How Do I Add the Generated Code to My Website?

Once the tool generates your JSON-LD, you need to paste it into your website's HTML. Where and how depends on your platform.

WordPress. You can paste the script tag into your theme's header.php file, use a plugin like Insert Headers and Footers, or add it through your SEO plugin if it supports custom schema. Rank Math and Yoast both have built-in schema features, but pasting custom JSON-LD gives you more control over exactly what gets output.

Shopify. Edit your theme's theme.liquid file and paste the JSON-LD block just before the closing </head> tag. Some Shopify themes include a dedicated section for custom scripts.

Squarespace. Go to Settings, then Advanced, then Code Injection. Paste the JSON-LD into the Header section. This applies it site-wide, which works for single-location businesses.

Static HTML sites. Open your HTML file in a code editor and paste the JSON-LD script tag inside the <head> section. Save and upload.

After adding the code, validate it using Google's Rich Results Test or a JSON-LD validator to confirm everything is parsing correctly.

What Mistakes Should I Avoid with Local Business Schema?

Mismatched information. Your schema data must match what's on the page and what's in your Google Business Profile. If your website says you close at 8 PM, your schema says 9 PM, and your GBP says 7 PM, search engines lose confidence in all three sources. Pick the correct information and make it consistent everywhere.

Using LocalBusiness when a more specific type exists. If you're a dentist, use the Dentist type. If you're a restaurant, use Restaurant. Generic LocalBusiness works as a fallback, but specific types unlock additional properties and give search engines better context.

Marking up a virtual business as a local business. LocalBusiness schema is for businesses with a physical location that customers can visit. If you run a fully online business with no storefront, this isn't the right schema type. Look at Organization or ProfessionalService instead.

Forgetting to update hours for holidays or seasonal changes. Outdated hours in your schema frustrate customers and erode trust. If your hours change seasonally or you close for holidays, update both your schema and your Google Business Profile.

Including fake or inflated reviews. If you add aggregate rating data to your schema, those reviews need to be real, collected on your own site, and verifiable. Google's guidelines are strict on this, and violations can result in manual actions that remove your rich results entirely.

Skipping validation. Even a missing comma can break your entire schema block. Always validate after generating and after making any edits. A broken block is worse than no block at all because it signals to search engines that your site has structural issues with its data.

Let's Grow Your Business

Want some free consulting? Let’s hop on a call and talk about what we can do to help.