Last updated:
Local Business Schema Generator
This local business schema generator turns your business details into LocalBusiness JSON-LD as you type. Pick the most specific subtype, fill in the name and address Google requires, add your hours, phone and coordinates, then copy the script tag into the page that describes the location.
Reference: Local Business schema
Local Business: Use on the page about a business people can visit, so Google can read its name, address, hours and phone. Maps and the local pack come from your Google Business Profile, not from this markup.
What Google shows for Local Business markup
- Local business: shown in Google Search; Google's last documented change was on August 15, 2023.
- Organization: shown in Google Search; Google's last documented change was on November 12, 2025.
For a local business, Google reads the markup for its business details: the name, address, hours, phone number and price range it can show for you. Valid markup makes the page eligible; it doesn't put the business in the map pack, which depends on your Business Profile and relevance, not on JSON-LD.
Google asks for the most specific subtype there is. A pizzeria is a Restaurant and a law firm is a LegalService, and the Specific Type menu above writes that type for you, along with the fields only it can use, such as the menu and cuisine for places that serve food.
How to fill in each field
Name and address
Use the name customers see on your sign and in your Business Profile, without keywords or a city added to it. Fill in every address line: the street, the city, the region and the postal code, and a two-letter country code such as US or GB. The generator writes them as one PostalAddress, which is how Google expects the address.
Phone, website and coordinates
Write the phone number with its country code and area code, such as +1-415-555-0100. The website URL should be the location's own page if you have several branches. For latitude and longitude, Google wants at least five decimal places: copy them from your map listing rather than rounding to 37.77.
Opening hours
Type the hours the way you'd say them, such as Mo-Fr 09:00-17:00, Sa 10:00-14:00. The form turns them into openingHoursSpecification entries and tells you about any part it couldn't read. For a place that never closes, use Mo-Su 00:00-24:00; the generator writes 00:00 to 23:59, which is how Google marks a day that's open around the clock.
Price range and images
Price range is a short hint, such as $$ or $15–40; Google ignores it from 100 characters on. Add a photo of the storefront or the interior that people would recognize, at its full size.
The form marks 1 field as required and 13 as recommended:
- Business Name (required): The official name of the business.
- Description (recommended): A short description of the business.
- Website URL (recommended): The business's website.
- Price Range (recommended): Use $ signs (e.g. $$) to indicate price level.
- Street Address (recommended): The street address.
- City (recommended): The city or locality.
- State/Region (recommended): The state, province, or region.
- ZIP/Postal Code (recommended): The postal code.
- Country (recommended): Two-letter ISO 3166-1 country code.
- Latitude (recommended): The geographic latitude of the business.
- Longitude (recommended): The geographic longitude of the business.
- Phone Number (recommended): The primary phone number including country code.
- Opening Hours (recommended): Days and hours, separated by commas or semicolons: Mo-Fr 09:00-17:00, Sa 10:00-14:00. Day names (Monday, Mon, Mo), 12-hour times (9am-5pm) and day lists (Mo,We,Fr 09:00-17:00) work too.
- Image URL (recommended): A URL to an image representing this item. Google recommends images be at least 1200px wide.
Example: A restaurant with its hours and menu
The Restaurant template, built with this form: a Restaurant subtype, a full address, two sets of opening hours and a menu link.
{
"@context": "https://schema.org",
"@type": "Restaurant",
"name": "Mario's Italian Kitchen",
"description": "Handmade pasta and wood-fired pizza in a family-friendly dining room.",
"url": "https://mariositalian.example/",
"image": "https://mariositalian.example/storefront.jpg",
"telephone": "+1-312-555-0199",
"priceRange": "$$",
"servesCuisine": "Italian, Pizza",
"hasMenu": "https://mariositalian.example/menu",
"address": {
"@type": "PostalAddress",
"streetAddress": "456 Oak Avenue",
"addressLocality": "Chicago",
"addressRegion": "IL",
"postalCode": "60601",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "41.88345",
"longitude": "-87.63241"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday"
],
"opens": "11:00",
"closes": "22:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Friday",
"Saturday"
],
"opens": "11:00",
"closes": "23:00"
}
]
} 5 common mistakes
- One block for several branches. Each location is its own business with its own address and hours. Put each one on the page about that branch, rather than listing every branch on the home page.
- The generic type when a subtype fits.
LocalBusinessis the fallback. A dentist, a store or a bar has its own type, and Google asks for the most specific one. - Rounded coordinates. Two decimal places put the pin about a kilometer away. Google wants at least five.
- Hours that don't match the page. The hours in the markup must be the hours people see on the page and in your Business Profile, holiday changes included.
- Reviews of yourself. Star ratings that a business collects about itself on its own site aren't eligible for review snippets, so the form has no rating fields for a local business.
How to test your Local Business markup
Paste the script tag into a test page, or run it through the Schema Validator first: it checks the schema.org types and properties and lists what Google needs that's still missing. Then check the live page in Google's Rich Results Test, and watch Search Console for problems once Google has crawled it.
- Open the example in the Schema Validator, which checks it against schema.org and Google's requirements.
- Preview the example in the SERP Simulator to see which search enhancements it can earn.
- Read the local business schema reference for the type's other properties and more examples.
Frequently Asked Questions
Where should I put local business markup?
On the page that describes the business or the location: the home page for a single shop, or each branch's own page for a chain. Paste the script tag in the page's <head> or anywhere in its <body>; Google reads JSON-LD in either place.
Will this markup get my business into Google Maps?
No. Maps and the local pack come from your Google Business Profile. The markup describes your business on your own site, which helps Google match the page to the business and show its details correctly.
Which subtype should I pick?
The narrowest one that's true. The Specific Type menu lists common ones such as Restaurant, Dentist, Store and Attorney. If yours isn't listed, pick the closest broader one, then change the @type in the copied code to the exact schema.org type, such as Bakery.
Other schema generators
- FAQ Schema Generator
- Product Schema Generator
- Organization Schema Generator
- Article Schema Generator
- Video Schema Generator
- Review Schema Generator
- Person Schema Generator
- Event Schema Generator
- Recipe Schema Generator
- Job Posting Schema Generator
- Course Schema Generator
- Software Application Schema Generator
- HowTo Schema Generator
- Breadcrumb Schema Generator
- Profile Page Schema Generator
- QAPage Schema Generator
- Discussion Forum Schema Generator
- Course List Schema Generator
- JSON-LD Generator, with every form and the templates