LocalBusiness schema generator

For businesses with a place customers visit: shops, restaurants, salons, clinics, contractors with an office. Fill in the address and hours, copy the JSON-LD.

Paste the code into the page's <head> or <body>. Only mark up what visitors can see on the page.

Added markup to one page? Pro checks every page in your sitemap weekly and tells you when markup breaks after a theme or app update.

Required and recommended fields

Google requires name and address (as a PostalAddress). It recommends telephone with country code, url, openingHoursSpecification, geo coordinates with at least five decimal places, priceRange under 100 characters, and an image.

Pick the most specific type

schema.org has dozens of LocalBusiness subtypes: Dentist, Plumber, Bakery, HairSalon, AutoRepair and so on. Use the closest one; it tells search engines what you do without relying on page text alone.

Opening hours

The generator groups days with the same hours into one entry. For 24-hour days use opens 00:00 and closes 23:59. Leave a day empty if you are closed. For holiday hours, add a separate entry with validFrom and validThrough dates.

Keep it consistent

The name, address and phone in the markup should match your Google Business Profile and the text on the page. Mismatches are a common reason local data gets ignored.

SchemaOK Pro, $9/mo

Pro is not built yet. We are checking whether enough people want it before we build it. Leave your email and we will write once, when it is ready.

One email when Pro launches. No newsletter. Privacy