What the Local Business Schema Generator does

The Local Business Schema Generator turns a plain business listing — name, phone, street address, opening hours, rating — into JSON-LD structured data that search engines can read without guessing. You fill the labeled fields, the markup appears on the right, you copy it into your site. There is no signup, no upload, and nothing to install; the tool runs entirely in your browser tab.

Structured data is how a machine learns that "123 Main Street" is a street address and not just a string of characters. Schema.org's LocalBusiness vocabulary is the standard most search engines understand for exactly this job, and JSON-LD — a script tag containing a JSON object — is the format Google itself recommends. This generator produces that block, correctly shaped, from the values you type.

Everything the tool needs to compute runs locally. The business details you enter are the kind of data you might not want floating through a third-party server — so they do not: the generator is a client-side page, and refreshing it clears everything you typed.

The markup, field by field

The generator builds one JSON-LD object. Here is what each property does and why Google's guidelines care about it.

FieldGenerated propertyWhy it matters
Business namenameThe primary label of the entity; must match your Google Business Profile name
Business type@typeLocalBusiness or a more specific subtype like Restaurant, CafeOrCoffeeShop, Dentist
PhonetelephoneMachine-readable contact; part of NAP consistency
Street / City / State / ZIPaddress (PostalAddress)Google's Local Business docs list the address among the core properties
Rating + review countaggregateRatingValid schema.org; see the policy note below before relying on stars
(automatic)@idA stable identifier for the business entity on your site
(automatic)openingHoursSpecificationStructured opening hours, days of week included
(automatic)@contextDeclares https://schema.org so crawlers interpret the rest

A worked example you can verify

The tool's default values describe a sample coffee house in Austin. Here is the shape of the output those defaults produce — the same object the live generator builds, trimmed for readability:

Input (the form defaults)

Input

name: Sam's Coffee House
type:  CafeOrCoffeeShop
phone: +1-512-555-0100
street: 123 Main Street
city:  Austin, TX 78701
rating: 4.8 (212 reviews)

Output

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "@id": "https://example.com/#business",
  "name": "Sam's Coffee House",
  "telephone": "+1-512-555-0100",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "Austin",
    "addressRegion": "TX",
    "postalCode": "78701",
    "addressCountry": "US"
  },
  "openingHoursSpecification": { ... },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "212"
  }
}
</script>

Two details worth noticing in that output. First, the address is a nested PostalAddress object, not a flat string — that structure is what lets a crawler pull the city and region apart. Second, the type is set to LocalBusiness in the base object; if you enter a more specific subtype like CafeOrCoffeeShop in the form, the generated @type changes accordingly, which is the recommended practice.

The rating policy most people get wrong

Here is the part of local business schema that generates the most misleading advice on the internet. In 2019, Google stopped showing review rich results for self-serving markup — ratings that a business publishes about itself on its own site, for LocalBusiness and Organization types. The practical consequence: pasting aggregateRating into your own homepage does not produce stars under your name in Google search.

That does not make the property useless. The aggregateRating block is valid schema.org, other crawlers read it, and it describes your reputation to any system that consumes structured data honestly. But if the goal is Google stars, the honest answer is that they come from reviews Google gathers itself — your Google Business Profile, review platforms — not from markup you write about yourself.

Using the generator well: a short method

  1. Match your Google Business Profile first

    Before generating anything, confirm the exact business name, address and phone you use in your Google Business Profile. The markup should repeat those values character for character — the NAP consistency rule of local SEO.

  2. Pick the most specific type

    Replace LocalBusiness with the tightest subtype that fits your business — Restaurant for a restaurant, Dentist for a dental practice, CafeOrCoffeeShop for a coffee house. Schema.org publishes the full type tree under LocalBusiness.

  3. Fill every field you can honestly fill

    A complete block beats a minimal one. Hours, phone and a stable @id are all machine-readable facts a crawler can use; leave rating and review count at zero rather than guessing.

  4. Copy the whole script element

    The output includes the <script type="application/ld+json"> wrapper — paste the entire block into your homepage or location page, in the head or body. One primary block per business is the norm; a chain with many locations should give each location its own page and its own block.

  5. Validate before you publish

    Run the pasted page through Google's Rich Results Test and the Schema.org validator. Both are free, both take seconds, and both will catch the typos that silently break markup.

Who actually needs this tool

Local business owners — the generator exists mostly for you: one page, one block of markup, no developer required. Fill the form from your own business card, paste the result, validate once, done.

Agencies and freelancers — building location pages for clients is repetitive, and hand-writing JSON-LD for the twentieth location invites typos. The generator makes each block mechanical: values in, valid markup out.

Developers — you can write this JSON by hand, and the tool still saves the lookup: property names, nesting and the wrapper come out correctly shaped every time, which makes it a fast reference implementation while you wire markup into templates.

Honest limits: what markup alone will not do

  • Structured data does not create facts — it describes them. A business with no real local presence gains nothing by marking one up.
  • Self-serving ratings will not earn Google review snippets, as covered above; that is policy, not a bug to work around.
  • Markup is one input among many: local rankings still lean on your Google Business Profile, real reviews, proximity and site quality.
  • The generator covers the core LocalBusiness properties; deep implementations (geo coordinates, department structures, priceRange strategies) are deliberate extensions, not defaults.

The Local Business Schema Generator is honest about being a generator: it produces correct markup from true inputs. It cannot supply the truth, and it does not pretend to.

Quick answers to real questions

Does the Local Business Schema Generator upload my business data anywhere?

No. The Local Business Schema Generator builds your JSON-LD entirely in your browser with JavaScript — the business name, address and phone number you enter never leave your device. You can watch the network tab while you type: no requests are made.

Will adding aggregateRating markup show stars for my business in Google?

Usually not, and this is worth understanding before you rely on it. Since 2019 Google ignores self-serving review markup — ratings that a business places on its own site for itself — for LocalBusiness and Organization types. The generator includes the aggregateRating block because it is still valid schema.org and still read by other crawlers, but Google star snippets for local businesses come from reviews Google collects itself.

Do I still need schema markup if I have a Google Business Profile?

Yes, they serve different jobs. Your Google Business Profile is the entity Google itself maintains for Maps and local pack results; on-page LocalBusiness markup describes the same business to every crawler that reads your site, and ties your pages to the entity with a stable @id. The two should agree — same name, same address, same phone — which is the classic NAP consistency discipline of local SEO.

Where do I paste the generated JSON-LD?

Into the head or body of your homepage or location page, inside a script element with type application/ld+json — exactly the wrapper the generator outputs, so you can copy the block as-is. One business, one primary block: avoid generating a full LocalBusiness for every page of the site.

Sources and further reading

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.