Local Business Schema Generator
Fill in your business details to generate valid schema.org LocalBusiness JSON-LD. Paste it into your page to help search engines show your address, hours, phone, and ratings. Everything runs in your browser.
Address
Opening hours
<head> or body.About the Local Business Schema Generator
The Local Business Schema Generator builds schema.org LocalBusiness JSON-LD from your business details: name, type, address, phone, website, price range, coordinates, and opening hours. This structured data helps search engines understand your business and can power rich results and Knowledge Panel details such as address, hours, and contact info. Pick a business type, fill in the fields, and copy the generated <script type="application/ld+json"> block into your page. Everything runs in your browser, so nothing you type is uploaded.
How it works
- Choose your business type from the list of common LocalBusiness subtypes, then enter the business name.
- Fill in address fields, phone, website, price range, and optional latitude and longitude.
- Set opening hours per day, or mark a day closed with the toggle.
- Copy the generated JSON-LD and paste it into your page's HTML, then validate it with Google's Rich Results Test.
Features
- Common schema.org LocalBusiness subtypes such as Restaurant, Dentist, Plumber, and Hotel.
- Nested PostalAddress, optional GeoCoordinates, and per-day OpeningHoursSpecification.
- Live output that updates as you type and skips empty optional fields.
- One-click copy of a ready-to-paste <script type="application/ld+json"> block.
- Runs entirely in your browser with no signup and no data sent to a server.
Frequently asked questions
Where do I put the generated JSON-LD?
Paste the full <script type="application/ld+json"> block into your page's HTML. It can go in the <head> or the <body>; both are valid. Use one block per page that represents that business location.
Which business type should I pick?
Pick the most specific type that fits your business, for example Restaurant or Dentist. If none match closely, use the general LocalBusiness type. A more specific type gives search engines clearer context.
Are latitude and longitude required?
No. They are optional. If you add both, the tool includes a GeoCoordinates object. If you leave either blank, it is omitted from the output.
How are opening hours formatted?
Each open day produces an OpeningHoursSpecification entry with the day of week and 24-hour opens and closes times. Days you mark closed, or days missing an open or close time, are left out.
Is my data sent anywhere?
No. The schema is generated locally in your browser from the values you enter. Nothing is uploaded, stored, or logged.