Free tool · runs in your browser
Local business schema generator
Fill in your business details and get ready LocalBusiness JSON-LD markup for your website. It updates as you type — copy it, paste it, test it in Google.
LocalBusiness markup helps Google understand your business, but it doesn’t guarantee rich results or higher rankings. Name, address and phone must match your Google Business Profile exactly — conflicting data does more harm than no markup at all.
Everything runs in your browser. We don’t receive or store what you type.
Where to paste the code
- Any website
Paste the code into the <head> of your homepage (or contact page), or right before </body>. One block per location page.
- WordPress
Use a header-code plugin (e.g. WPCode) or your theme’s “Header scripts” field. If your SEO plugin already outputs LocalBusiness, keep only one.
- Wix, Squarespace & co.
Wix: Settings → Custom code → add to head. Squarespace: Code injection → Header. Then test the published URL.
What LocalBusiness markup does
Structured data is a short, machine-readable description of your business: who you are, where you are, when you’re open and how to reach you. Google, Bing and AI assistants read it to connect your website with your Maps listing.
It works best together with a complete Google Business Profile, consistent directory listings and fresh reviews. The markup confirms the facts — it doesn’t replace them.
Checklist before you publish
- Name exactly as on Google Maps, no extra keywords
- The same address format as in your Business Profile
- A phone number customers actually call
- Hours that match your profile, breaks included
- Photos and logo hosted on your own site
- Only one LocalBusiness block per location
Questions
What is LocalBusiness schema?
It’s structured data in JSON-LD format that describes your business with the schema.org vocabulary: type, name, address, phone, hours, website and profiles. Search engines read it from the page code; visitors don’t see it.
Will schema markup improve my Google Maps ranking?
Not directly. Maps rankings depend mostly on your Business Profile, relevance, distance and reviews. Markup helps Google match your website with your profile and trust your details — it supports local SEO but doesn’t replace it.
Which business type should I pick?
The most specific one that fits, e.g. Dentist instead of Local business. If nothing fits exactly, the generic type is fine — never pick a type just because it sounds more popular.
I visit clients and have no storefront. Should I add my address?
No. Turn on the service-area option: the street is removed, only city and region stay, and you list the cities you serve — just like a service-area profile in Google.
How do I check that the markup works?
Paste the code into Google’s Rich Results Test or the Schema.org validator. After publishing, test the live URL. Google may take days or weeks to re-crawl the page.
Pinrise optimizes your Google Business Profile, gets you reviews and moves you up in Google Maps — done for you, from $79/month.