Local Business Schema Generator

This tool builds a schema.org LocalBusiness structured-data snippet in JSON-LD f

Updated
Loading toolโ€ฆ

This tool builds a schema.org LocalBusiness structured-data snippet in JSON-LD f

How to use Local Business Schema Generator

  1. Choose your business type and enter the name, address, phone, website and opening hours.
  2. Copy the generated JSON-LD script tag or download it as an HTML file.
  3. Paste the script into your page's head and verify it with Google's Rich Results Test.
Try next โ†’Event Schema Markup GeneratorThis tool builds schema.org Event structured data as JSON-LD, the format Google

About Local Business Schema Generator

This tool builds a schema.org LocalBusiness structured-data snippet in JSON-LD format, the format Google recommends for local rich results. Fill in your business name, type, address, phone, website, price range, geo coordinates and weekly opening hours, and it assembles a valid <script type="application/ld+json"> block you can copy straight into your page's HTML.

It only outputs the fields you actually fill in, so you never ship empty properties. Consecutive days with identical hours are grouped into compact OpeningHoursSpecification entries, and you can pick a specific subtype like Restaurant, Dentist or Plumber, which is stronger than the generic LocalBusiness type when one fits your business.

Everything runs privately in your browser โ€” no data is uploaded and there is no sign-up. The tool checks basic things like URL format and coordinate ranges, but it does not crawl your live page or guarantee Google will show a rich result. After pasting the snippet, confirm it with Google's Rich Results Test and the schema.org validator.

Frequently asked questions

What is LocalBusiness schema and why do I need it?
LocalBusiness is a schema.org structured-data type that describes a physical business โ€” its name, address, phone, hours and location โ€” in a machine-readable way. Adding it helps search engines understand your business and can enable richer listings in search results and maps.
Is the generated JSON-LD valid and Google-friendly?
The tool follows the schema.org LocalBusiness spec and Google's recommended JSON-LD format, including PostalAddress, GeoCoordinates and OpeningHoursSpecification. It produces syntactically correct markup, but you should still verify the final page with Google's Rich Results Test, since eligibility for a rich result also depends on Google's own criteria.
Do I have to fill in every field?
No. Only the business name is required. Any field you leave blank is simply omitted from the output, so you never end up with empty or placeholder properties in your schema.
Which business type should I choose?
Pick the most specific type that fits โ€” for example Restaurant, Dentist, Plumber or HairSalon โ€” because a specific subtype gives search engines more context than the generic LocalBusiness. If none fit closely, LocalBusiness is a safe default.
Where do I put the code, and is my data private?
Copy the whole <script> block and paste it into your page's <head> or <body>, using one block per physical location. All processing happens locally in your browser โ€” nothing you type is sent to a server or stored anywhere.
How do I add opening hours that vary by day?
Set each day's open and close times individually and untick any day the business is closed. The tool automatically merges consecutive days that share the same hours into tidy grouped entries in the final markup.