Free Local Business Schema Markup Generator
Table of Contents
LocalBusiness schema tells Google your address, hours, phone, and category — the data Google uses to build your knowledge panel and show you in local search. Without it, Google has to guess from scattered signals. With it, your business becomes a structured entity Google understands. Our free generator builds the JSON-LD, including multi-location support, with no plugin required.
Why LocalBusiness Schema Is Worth the 5 Minutes
Local searches drive in-store visits. "Coffee shops near me" returns a map pack of three businesses, then a list of organic results. To even compete for those positions, Google needs to know the basics about you: what you do, where you are, when you're open, how to call you. LocalBusiness schema is how you hand it that information directly instead of hoping Google scrapes it correctly.
Sites with properly implemented LocalBusiness schema tend to show up in knowledge panels (the box on the right of search results), appear in voice search results, get richer Maps listings, and get pulled into the AI snapshot Google now shows above search results. None of this is guaranteed, but the floor is much higher than going without.
What Goes Into LocalBusiness Schema
The required fields are minimal: name, address (with street, city, state/region, postal code, country), and image (or logo). That alone validates. But the more you add, the more Google can use:
- telephone — formatted as +1-555-123-4567 (international format)
- openingHoursSpecification — for each day of the week, with opens and closes times
- geo — latitude and longitude coordinates (improves map matching)
- priceRange — like "$$" for restaurants or "$$$" for higher-end
- url — your homepage URL
- sameAs — social profile URLs (Facebook, Instagram, Yelp, LinkedIn) so Google can connect them to your business entity
- aggregateRating — if you have a real rating system on your site (don't fake this — Google penalizes it)
The generator covers all of these. Fill in what you have, leave blank what you don't, and the JSON-LD output adapts.
Pick the Most Specific Business Type Schema.org Offers
LocalBusiness is the parent type, but schema.org has dozens of specific subtypes that inherit from it. Always use the most specific one that applies. Google's rich result documentation pulls extra fields from these subtypes:
- Restaurant — for restaurants, cafes, bars (gets menu and serves cuisine fields)
- MedicalBusiness — for clinics, medical practices, dentists (gets medical specialty fields)
- LegalService — for law firms (gets practice area fields)
- HealthAndBeautyBusiness — for salons, spas, gyms
- Store — for retail stores
- AutoRepair — for mechanics and auto shops
- HomeAndConstructionBusiness — for plumbers, electricians, contractors, HVAC
- RealEstateAgent — for individual realtors
- FinancialService — for accountants, financial planners
If your business doesn't fit any of these cleanly, fall back to LocalBusiness. The generator's LocalBusiness tab outputs valid markup for any of these subtypes — just change the @type field after copying the code.
Sell Custom Apparel — We Handle Printing & Free ShippingMulti-Location Businesses: One Page Per Location
If you have multiple physical locations, do not put them all in one LocalBusiness block. Google's documentation is clear: each location gets its own page on your site, and each page gets its own LocalBusiness schema for that specific location.
The structure should look like this:
- yoursite.com/locations/austin/ — LocalBusiness schema for Austin
- yoursite.com/locations/dallas/ — LocalBusiness schema for Dallas
- yoursite.com/locations/houston/ — LocalBusiness schema for Houston
Each page has the address, hours, phone, and geo coordinates of THAT location. Then on your homepage, add an Organization schema (not LocalBusiness) that links to all three. The generator's Organization tab handles this — see our Organization schema guide for details.
If you only have one location, ignore all of this and use LocalBusiness on your homepage. Multi-location complexity only kicks in when you actually have multiple locations.
Adding LocalBusiness Schema to WordPress, Shopify, or Anywhere
WordPress (no plugin): Open your homepage edit screen. In Gutenberg, add a Custom HTML block. Paste the JSON-LD code (including the script tags) into the block. Update the page. The schema is now in your page source.
Shopify: Open your theme code editor. Find theme.liquid. Paste the script block before the closing head tag. The schema will load on every page — fine for a single-location store. For multi-location, paste it on the specific location page templates instead.
Webflow: Open the homepage in the designer. Click the gear icon for page settings. Scroll to "Inside head tag." Paste the JSON-LD. Publish.
Squarespace: Settings → Advanced → Code Injection. Paste into the "Header" field. Save.
Wix: Add the code through the Marketing & SEO → SEO Tools → Add structured data interface. Paste the JSON-LD without the script tags (Wix wraps it for you).
Static HTML / framework: Paste the script block in the head of any layout that wraps your business pages.
Validating and Monitoring Your LocalBusiness Schema
Run two tests after deploying. First, Google's Rich Results Test (search.google.com/test/rich-results) — paste your URL, see if Google parses the LocalBusiness type. Second, the Schema Markup Validator (validator.schema.org) — broader schema.org compliance check.
Once it's live, head to Google Search Console and look at the Enhancements section. There's a "Local business" report that shows any errors or warnings. Fix any errors immediately — warnings are usually safe to ignore unless they're about missing critical fields.
One thing the Rich Results Test won't tell you: whether your knowledge panel actually appears. That depends on Google's confidence in your business as a real entity. The schema is necessary but not sufficient. You also need consistent NAP (name, address, phone) across the web, a Google Business Profile, and ideally some reviews. The schema is the structured data layer — the rest is the trust layer.
Try It Free — No Signup Required
Runs 100% in your browser. No data is collected, stored, or sent anywhere.
Open Free Schema Markup GeneratorFrequently Asked Questions
Do I need LocalBusiness schema if I already have a Google Business Profile?
Yes — they're complementary, not redundant. Google Business Profile manages your map listing. LocalBusiness schema on your website tells Google the same data is on your site, which strengthens the connection between your site and your business entity. Sites with both rank better in local results than sites with only one.
What address format does LocalBusiness schema use?
It uses PostalAddress, broken into streetAddress, addressLocality (city), addressRegion (state or province), postalCode, and addressCountry. Don't put the full address in one line — split it into the structured fields. The generator does this automatically.
How specific should my opening hours be?
List every day of the week, even if you're closed (set the day with a "closed" indicator). Don't skip days. Use 24-hour format ("09:00" to "17:00"). For lunch breaks, you can add multiple openingHoursSpecification blocks for the same day with different time ranges.
Can I use LocalBusiness schema for a service-area business with no storefront?
Yes, but use the areaServed property to define your service area instead of leaning on the physical address. Google has a separate guide for service-area businesses — the schema is the same, just with areaServed populated and with hasMap omitted.
Will LocalBusiness schema get me into the local map pack?
It helps but doesn't guarantee it. The map pack is heavily influenced by your Google Business Profile, reviews, proximity to the searcher, and citations across the web. Schema is one signal among many — but it's a signal you fully control, so it's worth adding.
What's the difference between LocalBusiness and Organization schema?
Organization is for the company as a whole — your brand, your social profiles, your logo. LocalBusiness is for a specific physical location with hours and an address. If you have one location, LocalBusiness covers both. If you have multiple, use Organization on the homepage and LocalBusiness on each location page.

