Generate LocalBusiness schema for your homepage
Fill in your name, address, phone and hours and copy the structured data block for your homepage. Free, no login.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Your business name",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "09:00",
"closes": "17:00"
}
]
}
</script>
- Input
- Your business details and opening hours
- Runs in
- Your browser. Nothing is sent to us.
- Output
- A JSON-LD block to paste into your homepage
- Best for
- A local business whose homepage has no structured data
About the Local business schema generator
Structured data is a block of code in your page that states facts in the schema.org format, so search engines and AI assistants read them as facts: your name, address, phone and opening hours.
The generator writes a JSON-LD block, the format Google recommends for structured data. Pick the most specific type of business, such as Dentist or Plumber, and leave out any field you do not have.
Questions about the Local business schema generator
Where do I paste the block?
In the <head> of your homepage, or in the structured data or custom code setting of your website builder. One block per site is enough for most businesses.
Which type of business should I pick?
The most specific one that fits. Dentist, Plumber, Electrician and LegalService are all kinds of LocalBusiness, so search engines read every field either way.
How do I check it after I add it?
Run the schema checker on your domain. It finds the block on your live homepage and lists what it contains.
More free tools
- AI crawler checkerReads your robots.txt and shows which of 21 AI crawlers it lets in.
- llms.txt checkerFinds your /llms.txt and scores its title, description, sections and links.
- Structured data checkerLists the JSON-LD types on your homepage and the fields each one is missing.
- Meta tag checkerReads the title, meta description, H1 and Open Graph tags on your homepage.
- Sitemap checkerFinds your sitemaps, counts the pages they list and reports errors.
- AI crawler viewShows the text, headings and links a crawler gets from your homepage without running JavaScript.
- llms.txt generatorDrafts an llms.txt from your homepage title, description and the pages in your sitemap.
- Link preview checkerShows the preview card your homepage makes in messages and social posts, and the tags behind it.
- Redirect checkerLoads your domain with and without www, over http and https, and shows where each one ends up.
- robots.txt generator for AI crawlersPick which AI crawlers to block and copy a robots.txt with the rules written out.