How to Add Local Business Schema

How to Add Local Business Schema

Local Business schema is structured data that tells Google exactly what your business is, where it is, and when it is open. Add it as LocalBusiness JSON-LD and you give search and Maps clean, machine-readable facts instead of leaving them to guess. Here is what to include and how to generate it.

What Local Business schema does

The markup uses the LocalBusiness type from schema.org, written as a JSON-LD block in your page. When a specific type fits your business, use it instead of the generic one. A cafe should use Restaurant, a shop should use Store, a dentist should use Dentist. The more specific type still inherits every LocalBusiness property, and it helps search engines understand your category.

A complete LocalBusiness object usually includes:

  • name: your business name, exactly as it appears everywhere else.
  • address: a PostalAddress object with streetAddress, addressLocality (city), addressRegion (state or province), postalCode, and addressCountry.
  • telephone: in international format, like +1-555-123-4567.
  • url: your homepage.
  • geo: a GeoCoordinates object with latitude and longitude.
  • openingHoursSpecification: one entry per set of days, each with dayOfWeek, opens, and closes in 24-hour time.
  • priceRange: a rough indicator like ”$$” or “$10-$30”.

NAP consistency is the whole game

Local SEO lives and dies on NAP consistency: your Name, Address, and Phone number must match across your website, your Google Business Profile, and every directory and citation that lists you. If your schema says “Suite 4” but your Business Profile says “Ste. 4,” and Yelp drops the suite entirely, you are sending mixed signals about whether these are even the same business.

Pick one canonical version of each detail and use it everywhere. Your Local Business schema should mirror your Google Business Profile word for word. This is the single highest-leverage thing you can do for local rankings.

Generate your markup

The Local Business Schema Generator builds valid JSON-LD from a form, so you do not have to hand-write nested objects.

  1. Open the Local Business Schema Generator and choose your business type (LocalBusiness, Restaurant, Store, and so on).
  2. Enter your name, full address fields, telephone, and website URL.
  3. Add your latitude and longitude. You can read both off the URL bar in Google Maps after dropping a pin on your location.
  4. Set your opening hours for each day and add a price range.
  5. Copy the generated <script type="application/ld+json"> block and paste it into the <head> of your page.

Everything runs in your browser. Your business details are never sent to a server.

Validate before you ship

Run the finished page through Google’s Rich Results Test or the Schema.org Validator. They flag missing required fields, malformed addresses, and bad date or time formats. Fix any errors, paste the corrected markup back in, and confirm a clean pass. Schema with errors can be ignored entirely, so validation is not optional.

Match your NAP everywhere, fill the fields honestly, validate, and let search engines do the rest.

← All posts