What is local business schema generator?
Local business schema gives search engines clean facts about your business: its name, address, phone number, hours and location. It supports local SEO and helps keep your details consistent across the web.
This generator covers common business types and writes the code in the format search engines read.
How to use the local business schema generator
- Choose a business type and fill in your details.
- Add opening hours, one line per range.
- Copy the code into your home page or contact page.
How the local business schema generator works
Your inputs become a JSON LD object of type LocalBusiness or a more specific subtype, with a PostalAddress, optional GeoCoordinates and an openingHours list. Empty fields are removed.
Worked example
Common uses of the local business schema generator
- Local service businesses.
- Restaurants and shops.
- Rank and rent sites.
- Clinics and salons.
- Contact pages.
Tips and common mistakes
Use exactly the same business name, address and phone number as on your Google Business Profile.
Put the markup on the page that shows those details, usually the contact page or home page.
Background: what to know before you rely on it
Local SEO depends on three things: relevance, distance and prominence. Structured data does not change distance, but it reinforces relevance by stating clearly what the business is and where it serves. Consistency of name, address and phone number across your website, your Business Profile and directories is a long standing local ranking signal. When you create the markup, choose the most specific business type that fits, and keep opening hours up to date, since wrong hours cause bad reviews and lost customers.
Private, free and fast
This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all seo tools, or browse the full list of tools.
Field by field guide
- Business type: Choose one of: Local business; Restaurant; Store; Professional service; Beauty and health; Automotive; Home and construction; Food establishment.
- Business name: Type your value. The example is Example Pest Control.
- Website URL: Type your value. The example is https://example.com/.
- Image or logo URL: Type your value. The example is https://example.com/logo.png.
- Phone: Type your value. The example is +1 512 555 0123.
- Price range (optional): Type your value. The example is $$.
- Short description: Type or paste your text here. Use a new line for each entry where the label says so.
- Street address: Type your value. The example is 12 Main Boulevard.
- City: Type your value. The example is Austin.
- Region or state: Type your value. The example is Texas.
- Postal code: Type your value. The example is 78701.
- Country code: Type your value. The example is US.
- Latitude (optional): Type your value. The example is 30.2672.
- Longitude (optional): Type your value. The example is -97.7431.
- Opening hours, one range per line: Type or paste your text here. Use a new line for each entry where the label says so.
Change one field at a time to see how the result responds, and use the worked example above to check that you get the same answer.
Local markup basics
LocalBusiness markup gives name, address, phone, hours and area served in a form machines can read.
Expert tips
- Use the exact name, address and phone that appear on the site and the business profile.
- Add opening hours and geo coordinates.
- Pick the most specific type available.
- Only add reviews that are visible and genuine.
- Validate and update when details change.
Consistent business details across the web build trust with search engines and customers.
Frequently asked questions
Do I need this for Google Maps rankings?
No. Maps rankings come mainly from your Google Business Profile, but consistent markup supports the same facts on your site.
What format for hours?
Use day abbreviations and 24 hour times, such as Mo-Fr 09:00-18:00.
Can I add several locations?
Create one block per location, each on its own page.
Is the code valid?
It uses standard schema.org properties. Test it in the Rich Results Test.
Related tools
On Page SEO Checker
Enter a page URL, or paste its HTML, and optionally a target keyword. The tool runs up to 18 on page SEO...
SEO ToolsBreadcrumb Schema Generator
Enter one line per level in the form Name | URL. The tool writes BreadcrumbList JSON LD that can show...
SEO ToolsFAQ Schema Generator
Write each question on one line and the answer on the next, with a blank line between pairs. The tool...
SEO ToolsWhatsApp Link Generator
Enter a phone number with country code and an optional message to get a wa.me link and an HTML button...
SEO ToolsMeta Tag Generator
Enter your page title, description and URL and the generator writes the HTML meta tags, including Open...
SEO ToolsKeyword Combiner
Enter up to three lists, one item per line, and the tool creates every combination, with optional phrase...
Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Validate markup with search engine testing tools before publishing.