Local Business Schema Generator
Generate LocalBusiness JSON-LD with address, phone, hours and geo coordinates.
Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server.
How to use the local business schema generator
- Fill in the fields — they start with a worked example.
- Copy the generated script tag.
- Paste it into the page's head, then check it in Google's Rich Results Test.
About this tool
LocalBusiness markup states the facts a search engine needs to place you: name, address, phone and opening hours. Its practical value is consistency — the same details in your markup, your Google Business Profile and your site footer reinforce each other, while conflicting ones dilute the signal.
Opening hours use a compact format: two-letter day codes and 24-hour times, such as <code>Mo-Fr 09:00-17:30</code>. Multiple lines cover different days.
Coordinates are optional and only worth adding if they are accurate. A wrong latitude is worse than none.
Common uses
- Marking up a shop or restaurant page.
- Publishing opening hours in a machine-readable form.
- Keeping site details consistent with a business profile.
Frequently asked questions
- How do I write opening hours?
- As day codes and 24-hour times: 'Mo-Fr 09:00-17:30' on one line, 'Sa 10:00-16:00' on another. Days are Mo, Tu, We, Th, Fr, Sa, Su.
- Should the type be more specific than LocalBusiness?
- If a subtype fits — Restaurant, Dentist, Store — use it. More specific types can support extra features.
Related tools
Product Schema Generator
Generate Product JSON-LD with price, availability, brand and rating.
Breadcrumb Schema Generator
Generate BreadcrumbList JSON-LD so results show a path rather than a bare URL.
Meta Tag Generator
Generate title, description, canonical, Open Graph and Twitter Card tags with live length checks.
UTM Builder
Build campaign tracking URLs with correctly encoded utm_source, medium, campaign, term and content.