100% in-browser — your data never leaves your device

LocalBusiness Schema Generator
Local SEO JSON-LD Markup

Free LocalBusiness schema generator for shops, restaurants, clinics and service businesses. Enter your name, address, phone, hours and coordinates — get valid LocalBusiness JSON-LD for local SEO and Google map features.

Generate Schema ↓ Rich Results Test

LocalBusiness builder

Name, URL, image, phone and full address are required.

JSON-LD Output

Live preview — updates as you type
Fill the form to generate JSON-LD.

    

Paste the <script> tag into your page’s <head> (or anywhere in <body>), then validate the live URL with Google’s Rich Results Test.

What LocalBusiness schema does

A LocalBusiness schema generator produces LocalBusiness (or a more specific subtype) structured data in JSON-LD. This markup gives search engines a clean, unambiguous description of a physical business: its legal name, full postal address, telephone number, website, opening hours, price range, and exact geographic coordinates. For local SEO, that machine-readable consistency matters — it reinforces your NAP (Name, Address, Phone) signals and helps Google confidently associate your website with your real-world business entity and Google Business Profile.

While LocalBusiness markup is not the sole trigger for the local map pack (your Google Business Profile and review signals dominate there), it strengthens entity understanding, can surface details in the knowledge panel, and helps assistants and AI search return your hours, phone and address correctly.

Required vs. recommended properties

The core properties you should provide are:

Recommended additions this tool generates when filled: geo (GeoCoordinates latitude/longitude), openingHours, and priceRange. Choosing a specific @typeRestaurant, Store, MedicalBusiness, LegalService and so on — unlocks extra type-specific properties and gives richer context than the generic LocalBusiness.

Eligibility & best practices

Keep the NAP in your markup byte-for-byte consistent with your Google Business Profile, your website footer, and major citations — inconsistency is one of the most common local-SEO mistakes. Use international phone format, valid ISO country codes, and the precise openingHours shorthand. For a business with multiple branches, give each branch its own page and its own LocalBusiness block rather than cramming every location into one object. Validate the output in the Schema Markup Validator and Rich Results Test before publishing.

How this generator works

Choose your business type, fill in the address and contact details, and the LocalBusiness JSON-LD builds live with required-field validation. Copy the complete <script> tag and drop it onto your contact or location page. It all runs client-side, so nothing is uploaded. Complete your site’s structured data with the Organization generator for brand-level identity and Breadcrumb markup for navigation.

Frequently Asked Questions

What is LocalBusiness schema? +
LocalBusiness schema is Schema.org structured data that describes a physical business — its name, address, phone, opening hours and geo coordinates. It helps Google connect your website to your business entity and can enhance how you appear in local search and on Google Maps.
Which business type should I choose? +
Always pick the most specific subtype that fits, such as Restaurant, Store, Dentist, LegalService, or AutomotiveBusiness. A more specific type gives search engines richer context. If none fits, use the generic LocalBusiness.
What is the opening hours format? +
Use the Schema.org openingHours shorthand: two-letter day codes and 24-hour times, e.g. Mo-Fr 09:00-17:00. Separate multiple ranges with commas, like Mo-Fr 09:00-17:00, Sa 10:00-14:00.
Do I need latitude and longitude? +
They are optional but recommended. Accurate geo coordinates help Google place your business precisely on a map. You can copy them from Google Maps by right-clicking your location.
Does LocalBusiness schema replace Google Business Profile? +
No. A Google Business Profile is the primary driver of the local map pack. LocalBusiness schema on your website complements it by reinforcing consistent NAP (Name, Address, Phone) data and helping Google verify your business entity.
Can I add this to every page? +
Add it once on your most relevant page (homepage, contact, or a single-location page). For multi-location businesses, place a distinct LocalBusiness block on each individual location page rather than listing them all on one URL.

Related Tools

All free, all client-side. Generate every structured data type your site needs — plus sister hjLabs tools.