Local Business Schema: How to Add It in 5 Minutes
The Local Maps Rank Team · November 5, 2026
To add local business schema to your website, generate a JSON-LD block containing your business name, address, phone number, hours, and business type, then paste it inside a <script type="application/ld+json"> tag in the <head> of your homepage. Google reads it automatically — no plugin required. The whole process takes under five minutes using a free generator.
Local Maps Rank's take: In our weekly geo-grid scans of Austin plumbers, Phoenix HVAC companies, and Tampa roofers, the businesses that get rich results in Google Search almost always have clean, complete schema. The ones that skip it aren't penalised — but they're leaving a free trust signal on the table. If your NAP (name, address, phone) is inconsistent anywhere on your site, fix that first: schema amplifies what's already there, good or bad.
What is local business schema and why does Google care about it?
Local business schema is structured data — specifically JSON-LD markup — that tells Google exactly what your business is, where it is, and how to contact it, in a format a machine can read without guessing. Google uses it to populate Knowledge Panels, rich snippets, and voice-search answers, and to cross-reference your website data with your Google Business Profile.
Without schema, Google infers your business details by crawling your page text. With schema, you state them explicitly. That reduces the chance Google shows the wrong phone number, old hours, or a mismatched address in search results. The Schema.org LocalBusiness type is the standard Google expects for brick-and-mortar and service-area businesses alike.
Which schema fields matter most for a local service business?
For a local service business — plumber, HVAC company, roofer, dentist, law firm — the fields that carry the most weight are: @type (your specific business category), name, address (with street, city, state, zip), telephone, openingHoursSpecification, url, and geo (latitude and longitude). These are the fields Google actively uses for local rich results.
Here is a sample JSON-LD block for a plumbing company. You would replace every value with your own details:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Apex Plumbing Co.",
"url": "https://www.apexplumbing.example.com",
"telephone": "+15125550100",
"address": {
"@type": "PostalAddress",
"streetAddress": "4210 Burnet Rd",
"addressLocality": "Austin",
"addressRegion": "TX",
"postalCode": "78756",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 30.3225,
"longitude": -97.7352
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
"opens": "07:00",
"closes": "18:00"
}
],
"priceRange": "$$",
"areaServed": "Austin, TX"
}
</script>
Notice the @type is Plumber, not the generic LocalBusiness. Google supports hundreds of specific subtypes — HVACBusiness, Dentist, LegalService, AutoRepair — and using the right one helps it slot your business into the correct category.
| Field | Why it matters | Required for rich results? |
|---|---|---|
@type |
Tells Google your business category precisely | Yes |
name |
Must match your Google Business Profile exactly | Yes |
address |
NAP consistency signal across the web | Yes |
telephone |
Enables click-to-call in rich results | Recommended |
openingHoursSpecification |
Powers "open now" display in Search | Recommended |
geo |
Precise lat/lng for Maps cross-referencing | Recommended |
url |
Canonical homepage link | Recommended |
areaServed |
Signals service area for SABs without a public address | Optional but useful |
How does schema markup connect to your Google Business Profile?
Schema markup on your website and your Google Business Profile (GBP) are separate data sources, but Google cross-references them. When your website schema shows the same name, address, and phone number as your GBP, it reinforces the signal that both are accurate. Mismatches — a suite number in one place but not the other, a tracking phone number in schema — can create confusion that works against you.
Schema does not replace your GBP, and your GBP does not replace schema. Think of them as two witnesses telling Google the same story. The more consistently they agree, the more confident Google becomes about surfacing your business.
If you want to see how your Google Business Profile is actually performing across your service area — not just at your front door — get a free Google Maps heat-map to see where you rank at every point in your town.
How do you generate and copy the code without touching your theme files?
The easiest method is to use a dedicated generator that builds the JSON-LD block for you. The Local Business Schema generator at Local Maps Rank lets you enter your business details and outputs a ready-to-paste code block — no coding knowledge needed. Fill in your name, address, phone, hours, and business type, then copy the result.
Alternatively, you can write the JSON-LD by hand using the sample above as a template, or use Google's own structured data documentation as a reference. Either way, the output is a plain text block that goes into your HTML — nothing gets installed, no plugin is required.
Where exactly do you paste the schema on your site?
Paste the <script type="application/ld+json"> block inside the <head> section of your homepage. Google can technically read JSON-LD placed anywhere on the page, including the <body>, but the <head> is conventional and ensures it loads before the page is fully rendered.
Depending on your platform:
- WordPress (no plugin): Add it to your child theme's
header.phpinside the<head>tags, or use the "Custom HTML" widget in the Customizer's header area. - WordPress (with a plugin): Plugins like Rank Math or Yoast generate LocalBusiness schema through their settings panels — check their "Local SEO" or "Schema" tabs. If you use one of these, do not paste a second manual block or you will have duplicate schema.
- Squarespace: Go to Settings → Advanced → Code Injection → Header. Paste there.
- Wix: Marketing & SEO → SEO Tools → Structured Data Markup, or add via the HTML embed in the header.
- Shopify: Edit your
theme.liquidfile and paste inside the<head>block. - Static HTML site: Open your
index.htmland paste directly inside<head>.
Only put local business schema on your homepage (or a dedicated contact/location page). Do not paste it on every blog post — that creates irrelevant schema signals on pages that aren't about your business location.
How do you test that Google can read your schema correctly?
After pasting the code, run your homepage URL through Google's Rich Results Test. A valid result shows your detected schema type and lists the fields Google found. Errors appear in red; warnings in orange. Fix any red errors before considering the job done — common ones are missing required fields or a misformatted phone number (use E.164 format: +15125550100).
You can also use the Schema.org Validator to check for structural issues that the Rich Results Test might not flag. Run both. The whole test process takes about two minutes.
Does adding schema directly improve your Google Maps ranking?
Schema markup is not a direct Google Maps ranking factor in the way that reviews, proximity, or your primary business category are. Adding schema will not move your pin up the map on its own. What it does is strengthen the consistency and confidence of the data Google holds about your business — and that matters indirectly, because Google Maps ranking draws on the same entity understanding that schema helps build.
The factors that actually move Google Maps rankings are distance from the searcher, relevance (your categories and services), and prominence (reviews, links, citation consistency). Schema contributes to the prominence and relevance signals over time, but it is not a shortcut. If you want to understand where you currently stand on those factors, read our guide on how to rank higher on Google Maps — it covers what an owner can actually change.
To see your real ranking position across your whole service area — not just the one result you see when you search from your own address — run a free heat-map on your business.
Frequently asked questions
Do I need a plugin to add local business schema to WordPress?
No plugin is required to add local business schema to WordPress. You can paste a JSON-LD block directly into your theme's header.php file or use a code injection field in your page builder. Plugins like Rank Math or Yoast can generate the schema for you, but they are optional — the manual method works equally well and adds no plugin overhead.
What is the difference between LocalBusiness schema and Organization schema?
LocalBusiness schema is a subtype of Organization schema, and it includes location-specific fields like address, phone, and opening hours that Organization does not. For any business with a physical location or a defined service area, LocalBusiness (or one of its specific subtypes like Plumber or Dentist) is the correct choice. Organization schema is better suited to companies without a local presence.
Can I use schema markup if I'm a service-area business with no public address?
Yes. Service-area businesses (SABs) that hide their address on Google Business Profile can still use LocalBusiness schema. Omit the streetAddress field and use areaServed to list the cities or regions you cover. Include your phone number and business type. Google accepts this structure for SABs and will not penalise you for the missing address field.
How often should I update my local business schema?
Update your schema any time your business details change: new phone number, new hours, a new address, or a name change. There is no need to update it on a schedule otherwise. After any change, re-run the Rich Results Test to confirm the new values are being read correctly. Stale schema with old hours or a disconnected phone number is worse than no schema at all.
Will adding schema guarantee a Knowledge Panel or rich result in Google Search?
Schema makes your business eligible for rich results and Knowledge Panels — it does not guarantee them. Google decides whether to display structured data based on its own quality signals, including how authoritative and consistent your overall web presence is. A complete, error-free schema block is a prerequisite, but it is one signal among many. Most businesses with valid schema and an active Google Business Profile will see some structured data appear within a few weeks of indexing.
Want to see where you rank across your whole town? Get a free Google Maps heat-map: no sign-up. Weekly tracking starts at $29 a month, with a full refund, issued automatically, if you cancel within 7 days of your first payment.
Last updated: November 2026