What this tool does and doesn't do
It does:
- Builds LocalBusiness structured data as JSON-LD in your browser, from the details you type.
- Follows Google's LocalBusiness guide: name and address are its required properties, and it lists hours, phone, website, map position and price range as recommended.
- Flags what Google's guide asks for: a phone number with its country and area code, latitude and longitude to at least 5 decimal places, and a price range shorter than 100 characters.
- Links to Google's Rich Results Test so you can check the page once the code is on it.
It doesn't:
- Add the code to your site. You paste it in, or ask whoever runs your site.
- Check that your details are true, or that they match your Google Business Profile. Keep them the same everywhere.
- Make review or rating markup. Google's guide says those are only for sites that collect reviews of other local businesses.
- Decide whether Google shows anything special for your business. Only Google decides that.
- Send what you type anywhere. It all stays in your browser.
How to use it
- Pick the most specific type that fits. Schema.org lists more specific types under LocalBusiness, such as Store and its PetStore, HealthAndBeautyBusiness and its HairSalon, and FoodEstablishment and its Restaurant.
- Type your details exactly as they appear on your Google Business Profile and your site.
- Copy the code into the page about this location. One location, one block of code.
- Publish, then run the page through Google's Rich Results Test. Google's guide says to fix any critical errors it finds.
Sources
Each figure and rule above comes from the official page listed here, with the day we read it. These pages change, so check them for the latest.
- Google's guide to LocalBusiness structured data (Google Search Central), read on . It says:
The precision must be at least 5 decimal places.
This field must be shorter than 100 characters.
Validate your code using the Rich Results Test and fix any critical errors.
- LocalBusiness (Schema.org), read on . It says:
A particular physical business or branch of an organization.
- Store (Schema.org), read on . It says:
A retail good store.
- HealthAndBeautyBusiness (Schema.org), read on . It says:
Health and beauty.
- FoodEstablishment (Schema.org), read on . It says:
A food-related business.
Questions
Will this get me a rich result in Google?
Nobody can promise that. Google decides what it shows. The code helps Google read your details, and the Rich Results Test shows whether it can.
Where do I put the code?
On the page about this location, often your home or contact page. Paste the whole block, including the script lines, then publish.
More free tools
- Marketing calculators: Regular-customer value, reviews value, pet business return, ROAS and studio margin. Every number comes from you, and every formula is shown.
- Cost vs hiring calculator: Put a month of one of our plans next to a marketing hire, using BLS pay data or your own salary, and a freelancer at the rate you type.
- Easy-to-find self-score: Ten yes or no questions about your listings, site and reviews. A score out of 100 from your own answers, with a next step for each gap.
- See all free tools