Google Local Pack & Schema.org JSON-LD

LocalBusiness Schema Generator & Validator

Generate valid JSON-LD structured data for Google Maps & Local Pack, or validate and debug your existing schema markup.

Business Information
Generated JSON-LD Code

          
        

© 2026 SBS ToolBench. Crafted with precision by SBS Digitals.

localbusiness schema generator Architecture and Verification Flow

Building Valid LocalBusiness JSON-LD

LocalBusiness schema is easy to write and easy to get subtly wrong — an opening-hours format Google will not parse, a geo block with the coordinates swapped, a business type that does not exist on Schema.org. This generator builds the markup and checks it against the specification as you go.

Fill in your business details above and the JSON-LD is assembled underneath, ready to paste into your page head. You can also drop in existing markup to have it checked rather than rebuilt from scratch.

🛠️ Practitioner Pro Tip: Preventing the Self-Serving Review Penalty

Google explicitly penalizes LocalBusiness and Organization entities that mark up aggregateRating on their own websites. If you inject 5-star review schema for your own business on your homepage, Google will silently ignore the rich snippet and may issue an algorithmic penalty. Review stars are only valid for third-party products, services, or books.

What Google Reads From LocalBusiness Markup

Google uses LocalBusiness markup to corroborate what it already knows about your business from your Google Business Profile and from citations elsewhere. Name, address and phone should match those sources exactly — a mismatch weakens the signal rather than adding to it.

The generator uses the correct Schema.org subtype where one applies, formats openingHoursSpecification the way Google expects, validates geo coordinates and URL fields, and flags properties that are required for the type you selected.

LocalBusiness Property Reference

Schema PropertyTypeRequirement LevelGoogle Compliance Example
@typeTextMandatoryLocalBusiness, Dentist, Restaurant
nameTextMandatoryExact registered trading business name
addressPostalAddressMandatoryStreet address, locality, postal code
geoGeoCoordinatesRecommendedPrecise latitude and longitude points
openingHoursSpecificationOpeningHoursRecommendedISO 8601 day-of-week opening times

For more detailed technical walkthroughs, explore our in-depth article on Google Self-Serving Review Schema Guidelines. You can also browse our full directory of 18+ free web utilities on the SBS ToolBench homepage.

LocalBusiness Schema Questions

Where should the LocalBusiness JSON-LD script be placed?

Google recommends placing JSON-LD scripts inside the tag of your homepage or contact page, though placing it right before is equally valid.

Should multi-location businesses use one schema block?

No. Each physical storefront must have its own distinct LocalBusiness schema declaration with a unique telephone number, postal address, and geo coordinates.

How do I test my generated schema?

Copy the generated JSON-LD script and validate it in Google's Rich Results Test and the Schema.org Validator.

Scroll to Top