Local Business Schema Generator

One location or a pasted list of branches: get a LocalBusiness JSON-LD block for each, ready to copy.

Example details are filled in. Replace them with yours; the code updates as you type.

Opening hours
Mon to Fri
Saturday
Sunday
More details (optional)
Your JSON-LD

Paste it into the page's <head>, then check it in Google's Rich Results Test.

How it works

  1. Fill in or pasteOne location in the form, or rows straight from Google Sheets or Excel.
  2. Copy each blockEvery location gets its own LocalBusiness block with its address, phone, hours and map point.
  3. Paste and testPut each block on that location's page and run it through Google's Rich Results Test.
Structured data helps search engines read your business details. It does not promise a ranking or a rich result; Google decides what it shows.

List format

The first row names the columns, in any order. Unknown columns are skipped. Paste up to 3 locations at a time.

ColumnExample
nameExample Bakery Downtown
street120 Main Street
city, state, zipSpringfield, IL, 62701
countryUS (the default)
phone, url+1-217-555-0100, https://www.example.com/downtown
hoursMo-Fr 08:00-17:00; Sa 09:00-14:00
lat, lng39.7990, -89.6440
Where does each block go?

On the page for that location. A site with one page for every branch puts one block on each; a single "Locations" page can carry all of them.

Which fields matter most?

Google's local business guide asks for the name and address, and recommends phone, website, hours and the map point. Leave a field blank and it is left out of the code.

Do I need latitude and longitude?

They are recommended, not required. Copy them from your map listing: right-click the pin in Google Maps and click the numbers.

See the code