Tools for Google Maps
Local business schema generator
Fill in your business, or pull the details from your Google profile, and copy a ready LocalBusiness code block for your website. The code is built right here in your browser.
Check in a minute, no sign-upFill from my Google profile
Your code
Add at least the business name to see your code.
There is no star rating in the code on purpose: Google does not show stars a business marks up about itself, and treats them as spam.
Check it before it goes live
Where to paste it
- WordPress: add a Custom HTML block to the footer, or paste it into the header box of a plugin such as WPCode, on every page.
- Wix: Settings, then Custom Code, Add Code, paste it, place it in the Head and apply it to all pages.
- Squarespace: Settings, then Advanced, Code Injection, and paste it into the Header field.
Rank Pilot keeps your Google profile complete and current. It does not edit your website, so update this code yourself when your details change.
How to use the generator
- 01
Start from your profile
Pick your business and the form fills itself with the name, address, phone, hours and map link from Google. Typing it all in by hand works just as well.
- 02
Add what Google does not know
Your services, the areas you cover and your social profiles. These help search engines tie your website, your Google profile and your other pages to one business.
- 03
Copy, test, paste
Copy the block, run it through Google’s Rich Results Test, and paste it into your site’s header. It does not change how the page looks.
What the code looks like
The block for a dental clinic in London, open on weekdays and Saturday morning.
Your code
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"@id": "https://brightsmile.example/#business",
"name": "Bright Smile Dental",
"url": "https://brightsmile.example/",
"telephone": "+44 20 7946 0000",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Baker Street",
"addressLocality": "London",
"postalCode": "NW1 6XE",
"addressCountry": "GB"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.5226,
"longitude": -0.1571
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "08:30",
"closes": "18:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Saturday"
],
"opens": "09:00",
"closes": "13:00"
}
],
"areaServed": [
"Marylebone"
],
"makesOffer": [
{
"@type": "Offer",
"itemOffered": {
"@type": "Service",
"name": "Dental check-up"
}
},
{
"@type": "Offer",
"itemOffered": {
"@type": "Service",
"name": "Teeth whitening"
}
},
{
"@type": "Offer",
"itemOffered": {
"@type": "Service",
"name": "Dental implants"
}
}
]
}
</script>There is no star rating in the code on purpose: Google does not show stars a business marks up about itself, and treats them as spam.
Check it before it goes live
Where to paste it
- WordPress: add a Custom HTML block to the footer, or paste it into the header box of a plugin such as WPCode, on every page.
- Wix: Settings, then Custom Code, Add Code, paste it, place it in the Head and apply it to all pages.
- Squarespace: Settings, then Advanced, Code Injection, and paste it into the Header field.
What LocalBusiness schema does for a clinic
Schema is a short block of code that states, in a form machines read without guessing, who you are: name, type, address, phone, hours. Search engines and AI assistants use it to connect your website with your Google profile.
It does not lift you in Google Maps on its own; your Google profile does most of that work. What it does is remove doubt: the same facts in the same form on your site and your profile, so nothing contradicts anything.
Keep it in step with your profile. If you change your hours on Google and not on the site, the two disagree, and that is exactly what this block is meant to prevent.
For everything else your profile needs, read the Google Business Profile optimization guide.
Straight answers
Questions owners ask
Do I need schema if I have a Google profile?
The profile matters more. Schema is the website’s half of the same story, so search engines and assistants can be sure your site and your profile describe one business.
Why is there no star rating in the code?
Google does not show stars that a business marks up about itself, and calls it spam. Your real rating lives on your Google profile, where customers see it.
Which business type should I pick?
The most specific one that is true: Dentist for a dental practice, not Medical clinic. If nothing fits, Other local business is always valid.
Where on my site does it go?
In the header of every page, or at least the home page and the contact page. Most site builders have one field for code that applies to all pages.
Is anything I type sent anywhere?
No. The code is built in your browser. Only “Fill the form” asks our server for your public Google profile.