Free local business schema generator
Use this if you run a shop, a practice or a trade and want search engines to read your address, phone number and hours straight off your page.
Fill in your business details and get the LocalBusiness structured data (JSON-LD) to paste into your page, so search engines can read your address, phone number and opening hours. Any field your kind of business still needs is named, by the same rules the installed SEO audit grades this markup with.
You can link to this tool with some answers already chosen, and it waits for you to press the button. Example:
https://vibecoderplayground.ai/free-vibe-coding-tools/local-business-schema-generator.html?type=Plumber&name=Leeds%20Plumbing
What it reads
This writes one LocalBusiness block from the details you typed, then grades that block by the rules the installed SEO audit uses for your kind of business. It reads what you typed and nothing else.
- The kind of business, from the schema.org subtype tree the audit grades by
- Required fields for that kind: a name, a phone number, and a street address or the towns you serve (a street address where customers walk in, and opening hours for shops, food, health, beauty, car and fitness businesses)
- Recommended fields: opening hours, map coordinates, profiles elsewhere, a website address and a photo, plus price range, cuisine and menu where they apply
- Each value written as schema.org expects it: full web addresses, a phone number with its digits, opening hours like Mo-Fr 09:00-17:00, a two-letter country code
- The finished script block, safe to paste inside the head of your page
What it does not look at
- whether the details you typed are true, or match your Google Business Profile: nothing is looked up, and a search engine that finds a different phone number or address elsewhere may trust that one instead
- whether a search engine will show your hours, address or a map pin. Structured data makes a page eligible, and showing it is the search engine's own decision
- reviews and star ratings. A business marking up ratings about itself is not shown as review stars, so this writes no aggregateRating and no review
- the page you paste it into: nothing is fetched, so this cannot say whether that page is live, indexed, or already carries a second LocalBusiness block that disagrees with this one
- holiday or one-off hours, departments, a menu written out item by item, and every other schema.org property this form does not ask for
What to do with the result
Fill in anything the list under the code marks as required, and make the code again. Then paste the block inside the head of the page that gives your address, and test that page in Google's Rich Results Test.
Keep the name, address and phone number the same as on your Google Business Profile and every directory that lists you. A search engine that finds two different phone numbers has to guess which one is right.
Run Next
- Free SEO Checker: paste the page you put the code on and check its title, description and headings.
- Can an agent do business with you?: see whether an AI assistant could book with you or call you from the same page.
- Will an AI quote this page?: see whether an AI answer could quote that page and link back to it.
The full audits these checks come from run in Vibe Coder Playground, on your own project: see the Playground download.
Questions about local business schema
- What is local business schema?
- It is a short block of structured data, written in JSON-LD, that states your business name, address, phone number, opening hours and map location in a form search engines read directly. It goes inside the head of your page, and visitors never see it.
- Where do I paste the code?
- Paste it inside the head of your home page, or of the page that gives your address. Put it on one page per business location, and keep the details the same as on your Google Business Profile.
- My business has no storefront. What do I put for the address?
- Leave the street address out and list the towns you serve, one per line. A plumber, a roofer or anyone who goes to their customers can do this, just as a Google Business Profile can hide its address.
- How do I check the code works?
- Paste your page's address into Google's Rich Results Test or the Schema Markup Validator at validator.schema.org. Both read the block and list anything they cannot use.
- Is anything I type sent anywhere?
- No. The generator runs in your own browser, so what you type never reaches us, and it makes no AI call.