LocalBusiness schema generator
Fill in your details and copy the JSON-LD markup that tells search engines and AI assistants your business name, address, phone and opening hours. Nothing you type is sent to us or stored.
Your JSON-LD
Paste the block into the <head> of your home page or contact page, or ask your web developer to. Keep every detail identical to what visitors see on the page and on your Google Business Profile. Markup helps search engines read your details; it does not guarantee a rich result or a higher ranking.
Already added it? Check it with the structured data validator.
Create LocalBusiness JSON-LD without writing code
Fill in your business details and copy ready-made JSON-LD for your website. The generator runs in your browser; nothing you type is sent to us or stored.
- Choose your type of business and fill in your details.
- The JSON-LD updates as you type.
- Copy it into your website, then check it with the structured data validator.
The generator only uses details you type in, so the useful sample is your own. Nothing is stored.
LocalBusiness schema generator: common questions
Where do I put the JSON-LD?
In a script tag of type application/ld+json on your homepage or contact page. Most website builders have a field for custom code in the page head.
Is my information stored?
No. The generator runs in your browser and nothing you type is sent to Ranker.bot.
Which details matter most?
Your business name, address and phone exactly as they appear on your Google Business Profile, then opening hours and your website.
How do I check it worked?
Run our structured data validator on the page after publishing.