Google needs two things in local schema markup: your business name and its address. Pick Local business above and fill in the fields that apply. The code updates as you type. A note flags any required field that's still empty and any URL, date or price in the wrong format. Copy the code into the page about your business.
What Google asks for in LocalBusiness markup
- Name and address are required. Without them the page can't get a rich result. Fill in as many parts of the address as you have.
- Telephone: include the country code and area code.
- URL: use the link to this location's own page, and check that the link works.
- Latitude and longitude: at least 5 decimal places.
- Price range: under 100 characters. At 100 or more, Google shows no price range.
- Opening hours: opening and closing times in hh:mm:ss format.
From Google's LocalBusiness structured data documentation, read in October 2026.
The generator warns you when a required field is empty or a URL, date or price is in the wrong format. It won't catch a phone number missing its area code or coordinates with too few decimals, so check those yourself.
Where to put it and how to test it
Google accepts LocalBusiness markup on any page, but the best place is a page about your business, like your contact or location page. If you have more than one location, give each one its own LocalBusiness block and build them one at a time.
The generator writes the code and stops there. It doesn't add the code to your site or test it with Google. After you paste it in, run the page through Google's Rich Results Test and fix any critical errors. Then use the URL Inspection tool in Search Console to see how Google reads the page. Valid markup makes the page eligible for a knowledge panel or carousel. It doesn't guarantee one.
This schema markup generator is free with no signup. SearchBlueprint, who make it, sell SEO planning for websites: which searches each page should answer.