Local business schema generator
JSON-LD for the page
Plumber markup with 7 properties.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Example Plumbing Co.",
"url": "https://www.example.com/",
"telephone": "+1-303-555-0142",
"address": {
"@type": "PostalAddress",
"streetAddress": "1200 Example Street, Suite 4",
"addressLocality": "Denver",
"addressRegion": "CO",
"postalCode": "80202",
"addressCountry": "US"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "07:00",
"closes": "18:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Saturday"
],
"opens": "08:00",
"closes": "12:00"
}
],
"priceRange": "$$",
"areaServed": [
{
"@type": "City",
"name": "Denver"
},
{
"@type": "City",
"name": "Aurora"
},
{
"@type": "City",
"name": "Lakewood"
}
]
}
</script>- Note: Use the same name, address and phone number as your Google Business Profile and your site’s contact page.
- Note: No rating or review fields are included: Google does not use a business’s markup of its own reviews.
How to use it · free, no signup
How to use the Local Business Schema Generator
Enter the business details and opening hours to get LocalBusiness JSON-LD for the site, checked against the fields Google requires and recommends. Runs in your browser.
01
Choose the type
The most specific type that fits, such as Plumber or Restaurant.
02
Enter the details
Name, address and phone exactly as on your Google Business Profile, plus opening hours.
03
Copy the script
Paste it into the page that describes the business, usually the home or contact page.
What local business markup describes
LocalBusiness structured data states facts about a business in a form search engines can read without guessing: its name, address, phone number, opening hours and the area it serves. Google’s LocalBusiness documentation lists name and address as required, and telephone, url, geo coordinates, opening hours and price range among the recommended properties. The generator writes them as JSON-LD, the format Google recommends for structured data.
Opening hours, written the way people write them
Typing openingHoursSpecification by hand is where most mistakes happen. Here each line is a rule in plain shorthand, and the generator expands it:
| You type | The markup says |
|---|---|
| Mo-Fr 07:00-18:00 | Monday to Friday, opens 07:00, closes 18:00 |
| Sa 08:00-12:00 | Saturday, opens 08:00, closes 12:00 |
| Tu,Th 09:00-17:00 | Tuesday and Thursday, opens 09:00, closes 17:00 |
Days the business is closed are simply left out. A line the generator cannot read is reported and left out rather than guessed at.
Matching the rest of the web
Markup is one of several places a business’s details appear, alongside its Google Business Profile, its contact page and directories. Use exactly the same name, address and phone number in all of them; a variant spelling or an old number in one place makes the others harder to trust. Add the profiles you control, such as a Facebook page, as sameAs links.
What the generator leaves out
- Ratings and reviews. Google uses them for local businesses only from sites that review other businesses.
- Anything you did not enter. Empty fields are omitted rather than filled with placeholders.
- Several locations in one block. Each location needs its own markup, on its own page.
To check the page’s title and description at the same time, use the meta tag generator; for a site in several languages, the hreflang tag generator links the versions.
Published by Koit Academy. Who runs it, how it is paid and how its tools are checked.
Questions
What people ask about the Local Business Schema Generator
Which properties does Google require for a local business?
How do I write opening hours?
Can I add my star rating to the markup?
Which business type should I choose?
Where does the markup go?
Related tools
Meta Tag Generator
Title, description, canonical and sharing tags in one block
Open itOrganization Schema Generator
Organization markup with logo, contacts and profiles
Open itSERP Preview Tool
See where a title and description will be cut
Open itXML Sitemap Generator
A valid sitemap.xml from a list of URLs
Open itHreflang Tag Generator
hreflang tags for every language version
Open itArticle Schema Generator
Article and BlogPosting markup with checked dates
Open it