Tools menu
Free tool
LocalBusiness Schema Generator
Generate Google-compliant JSON-LD structured data for your local business. Includes opening hours builder and real-time preview.
LocalBusiness Schema Generator
JSON-LD Structured Data
Business Information
0/750 characters
Location
Opening Hours
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "LocalBusiness", "name": "Your Business Name", "priceRange": "$$", "openingHoursSpecification": [ { "@type": "OpeningHoursSpecification", "dayOfWeek": "Monday", "opens": "09:00", "closes": "18:00" }, { "@type": "OpeningHoursSpecification", "dayOfWeek": "Tuesday", "opens": "09:00", "closes": "18:00" }, { "@type": "OpeningHoursSpecification", "dayOfWeek": "Wednesday", "opens": "09:00", "closes": "18:00" }, { "@type": "OpeningHoursSpecification", "dayOfWeek": "Thursday", "opens": "09:00", "closes": "18:00" }, { "@type": "OpeningHoursSpecification", "dayOfWeek": "Sunday", "opens": "09:00", "closes": "18:00" } ] } </script>
Preview
Type: LocalBusiness
Name: —
Phone: —
Address: —
Hours: Mon, Tue, Wed, Thu, Sun: 09:00 - 18:00 | Fri, Sat: Closed
How to use this tool
Follow these steps to get the most out of the LocalBusiness Schema Generator.
Enter your Business Name and select the specific 'Type' (e.g. Dentist, Restaurant).
Upload your logo URL and social profile links.
Add your full address and pinpoint the geo-coordinates.
Set your operating hours using the visual scheduler.
Copy the generated JSON-LD script to your website's <head> tag.
In depth
What is Schema Markup?
Schema markup (also called structured data) is a vocabulary of tags that you add to your website's HTML to help search engines understand your content. Developed collaboratively by Google, Microsoft, Yahoo, and Yandex through Schema.org, this standardized format allows you to explicitly describe your business to search engines. For local businesses, LocalBusiness markup gives Google a structured copy of your name, address, opening hours and contact details. Most local features, like the Map Pack and the local knowledge panel, come from your Google Business Profile rather than from markup. Google recommends JSON-LD format as the preferred implementation method.
Why LocalBusiness Schema is Critical for Local SEO
LocalBusiness schema helps search engines confirm your business details. Keep it identical to your Google Business Profile and other listings so every source agrees. Google doesn't show review stars for ratings a business marks up about itself, so don't add AggregateRating expecting stars.
How to Install Schema Markup on Your Website
Adding schema to your site depends on your platform:
- WordPress: Add the script to your theme's header.php or use a plugin like Schema Pro or Rank Math
- Shopify: Paste the code into your theme.liquid file in the <head> section
- Wix: Add through Settings → Custom Code → Head section
- Squarespace: Use Code Injection in the site's header
- Custom HTML: Add the <script type='application/ld+json'> block before </head> or before </body>
- Google Tag Manager: Create a Custom HTML tag with the schema script
LocalBusiness Schema Properties Explained
Key properties for local business schema and their purposes:
- @type: The specific business category (Restaurant, Store, Dentist, etc.)—be as specific as possible
- name: Your official business name exactly as it appears on your Google Business Profile
- address: Physical location using PostalAddress format with street, city, region, postal code, country
- geo: Latitude and longitude coordinates to verify your exact location
- openingHoursSpecification: Structured schedule showing when you're open each day of the week
- telephone: Primary contact number including country code
- priceRange: Relative pricing indicator ($ to $$$$)
- sameAs: URLs of your social profiles (Facebook, Instagram, LinkedIn) for entity consolidation
Common Schema Mistakes to Avoid
Ensure your schema is error-free by avoiding these common mistakes:
- Using a generic @type like 'LocalBusiness' when a more specific type applies (use 'Restaurant' not 'LocalBusiness')
- Hiding schema-marked content from users (this appears as cloaking and violates guidelines)
- Including promotional language in descriptions—keep it factual
- Mismatched data between schema, website, and Google Business Profile
- Missing required properties (Google requires name and address)
- Invalid JSON syntax (use our generator or Google's Rich Results Test to validate)
- Adding multiple LocalBusiness schemas on one page for the same business
Testing and Validating Your Schema
Always validate schema before publishing. Use Google's Rich Results Test (search.google.com/test/rich-results) to check for errors and warnings. The Schema.org Validator can verify technical syntax, and Bing Webmaster Tools also offers schema validation. After implementation, check Google Search Console's Enhancements report to monitor for any issues Google detects when crawling your pages.
Frequently Asked Questions
Common questions about LocalBusiness Schema:
- Do I need to update schema regularly? Only when your business information changes (new hours, address, etc.)
- Can I use multiple schema types? Yes, combine LocalBusiness with Product, Event, or FAQPage as needed
- Will schema guarantee rich results? No, but valid schema makes you eligible—Google decides what to display
- Is JSON-LD better than Microdata? Google officially recommends JSON-LD for easier implementation
- Can schema hurt my rankings? Valid, honest markup won't; markup that misrepresents the page can get a manual action that removes rich results
Want it done for you?
Want your business in the Google Maps pack? We optimize Google Business Profiles, reviews and citations, and track it on a geo-grid.
Local SEO & Google Business ProfileMore in Local SEO Tools