Skip to content
100% local

LocalBusiness schema generator

Build a schema.org LocalBusiness JSON-LD block from your business details.

Input
Output

LocalBusiness schema generator

Fill in your business details and this tool assembles a valid schema.org LocalBusiness block as JSON-LD, ready to paste into your site's <head>. It covers the fields search engines look for on a local business page: name, description, website and logo URLs, a postal address broken into street, city, region, postal code and country, geographic coordinates, an international-format phone number, email and a price-range indicator.

Pick a business type from the dropdown — Restaurant, Store, ProfessionalService, MedicalBusiness, Dentist and more all map to the matching schema.org type, so the markup is specific rather than falling back to generic LocalBusiness. Opening hours and social profile links go in the input box, one per line: a day abbreviation followed by a time range (mon 09:00-17:00), a comma-separated second range for a lunch break, or off/closed to skip a day; any line starting with http:// or https:// is picked up as a sameAs profile link to Facebook, Instagram or similar. An optional aggregate rating (value, review count and rating bounds) rounds out the block when you have review data to show.

The tool checks for the fields Google's local-business guidance recommends — address, phone and opening hours — and flags whichever are still missing in the tally under the output, so you can tell at a glance whether the markup is complete before you publish it. Every value passes through JSON encoding, so quotes, ampersands and other special characters in a business name or address never break the generated script tag.

Everything runs locally in your browser — none of your business details are ever sent anywhere. Toggle the <script> wrapper and pretty-printing to match how you'll paste the result, then copy it, download it as a .txt file, or send it to another tool's input to keep working.

FAQ

Which schema.org type should I pick?
Use the closest match to your business — Restaurant, Store, Dentist and the rest are all recognized subtypes of LocalBusiness. If none fits, the generic LocalBusiness type is still valid.
How do I add a lunch break to my opening hours?
On that day's line, separate two time ranges with a comma, for example wed 09:00-12:00, 13:00-17:00. The tool creates two OpeningHoursSpecification entries for that day.
Where do I put the generated code?
Paste it into the <head> (or anywhere in the <body>) of the page it describes, ideally your homepage or contact page.
Why are some fields flagged as missing?
The tally notes when your address, phone number or opening hours are still empty, because those are the fields Google's local-business guidance checks for. The schema is still valid without them — the note is a completeness hint, not an error.
Is my business information uploaded anywhere?
No. The schema is assembled entirely in your browser — nothing you type is sent to a server.