About the Local Business Schema Generator
This tool creates schema.org LocalBusiness JSON-LD that you can paste into the HTML of a location page. You pick a specific subtype like Restaurant, Dentist or Plumber, then fill name, address, phone, website and optional fields such as geo coordinates, priceRange, image URL and social links. The tool runs in your browser only; nothing is uploaded to our servers and results update instantly as you type. It formats opening hours as OpeningHoursSpecification and builds sameAs links for profiles. You also get a checks panel that flags missing name or address fields and a JSON-only output for CMS fields or tag managers. The tool helps you keep your on-page NAP consistent with your Google Business Profile and site content.
How to use it
- 1Enter the business type, name, address, phone and website.
- 2Add opening hours, photo or logo URL, geo coordinates and sameAs links.
- 3Review the live JSON-LD and the checks panel that updates instantly.
- 4Copy the JSON-LD or use the JSON-only output and paste it into your page or CMS.
Worked example
Inputs: Type: Restaurant; Business name: Sunny Cafe; Website: https://sunnycafe.example; Phone: +1-202-555-0123; Street address: 123 Market St; Town: Washington; State: DC; Postcode: 20001; Country code: US; Latitude: 38.8977; Longitude: -77.0365; Price range: $$; Photo URL: https://example.com/photo.jpg; Opening hours: Mo-Fr 09:00-17:00; Sa 10:00-14:00; Social profiles: https://facebook.com/sunnycafe\nResulting JSON-LD: {"@context":"https://schema.org","@type":"Restaurant","name":"Sunny Cafe","image":"https://example.com/photo.jpg","url":"https://sunnycafe.example","telephone":"+1-202-555-0123","address":{"@type":"PostalAddress","streetAddress":"123 Market St","addressLocality":"Washington","addressRegion":"DC","postalCode":"20001","addressCountry":"US"},"priceRange":"$$","geo":{"@type":"GeoCoordinates","latitude":38.8977,"longitude":-77.0365},"openingHoursSpecification":[{"@type":"OpeningHoursSpecification","dayOfWeek":["Monday","Tuesday","Wednesday","Thursday","Friday"],"opens":"09:00","closes":"17:00"},{"@type":"OpeningHoursSpecification","dayOfWeek":"Saturday","opens":"10:00","closes":"14:00"}],"sameAs":["https://facebook.com/sunnycafe","https://instagram.com/sunnycafe"]}
How it works
Builds schema.org LocalBusiness markup (or the more specific type you pick, as Google asks) with name and PostalAddress (both required by Google), plus phone, website, price range, geo coordinates, opening hours as OpeningHoursSpecification and sameAs links"Mo-Fr 09:00-17:00" becomes dayOfWeek Monday to Friday with opens 09:00 and closes 17:00Source: schema.org LocalBusinessGoogle Developers: Local business structured data. Last checked 14 November 2026.
What it is good for
- Produces paste-ready JSON-LD that matches schema.org
- Runs in your browser only; nothing is uploaded
- Offers a JSON-only output for CMS or tag managers
- Does not fetch or prefill data from Google Business Profile
- Does not add or validate aggregateRating or review data for Google eligibility
Questions people ask
Where should I put the JSON-LD on my site?
Put the JSON-LD on the HTML page that represents the physical location. Common placements are inside <head> or before </body>. Use one script per location page and test with Google's Rich Results Test.
Which fields are required for Google?
Google requires specific LocalBusiness properties; at minimum include name and PostalAddress. Add phone, website and opening hours to improve clarity. Check Google's LocalBusiness docs for the latest required and recommended fields.
Will adding this schema improve my local ranking?
Schema helps search engines read your name, address and hours more reliably, but it does not directly guarantee higher rankings. It can make you eligible for rich results and reduce data mismatches.
How does the tool handle opening hours like Mo-Fr 09:00-17:00?
The tool converts short forms into OpeningHoursSpecification entries. For Mo-Fr 09:00-17:00 it outputs a dayOfWeek array for Monday to Friday with opens 09:00 and closes 17:00.
Can I use the JSON-only output in a CMS or tag manager?
Yes. The JSON-only output is formatted for CMS fields or tag manager variables. Paste it into a structured data field or a tag that injects JSON-LD into the page.
Does the tool send my data to any server?
No. It runs entirely in your browser after loading. Nothing you type is uploaded to FreeToolr servers.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.