|
Free Tool

Local Business Schema Generator

Generate Local Business Schema with a Google Maps embed. Fill in the form, click 'Generate Schema', and get ready-to-use HTML with schema markup and a map embed.

Click the button above to auto-generate an embed from your address, or paste your own iframe from Google Maps.

How to use the Local Business Schema Generator

  1. 1Enter your business name and address (required).
  2. 2Add phone, URL, and a short description to enrich the schema.
  3. 3Click 'Generate Google Maps Embed Code' to auto-build the iframe from your address — or paste your own.
  4. 4Click 'Generate Schema' to produce the JSON-LD block.
  5. 5Switch to 'Full HTML' to see the schema and map embed combined.
  6. 6Copy and paste into your site's head (schema) and page body (map).

What is Schema Markup and Why Does It Matter?

Schema markup is a standardized method of structuring data on your website using schema.org vocabulary. Adding it gives search engines precise, machine-readable information about your business — things like location, contact details, and opening hours — making it much easier for them to display your content as rich results.

For local businesses, schema is especially impactful because it anchors your digital presence to a real physical address, which directly supports local SEO.

Why Use a Local Business Schema Generator?

Writing JSON-LD by hand is error-prone and time-consuming. A schema generator handles the formatting so you can focus on your business details. Once generated, validate it with Google's Rich Results Test to confirm eligibility for enhanced search features before going live.

Key Properties of Local Business Schema

OpeningHoursSpecification

Tell customers and crawlers exactly when your business is open.

Price Range

Signal your pricing level — from budget-friendly to premium — with this schema.org property.

ParentOrganization / BranchOf

Connect branches to their parent company — useful for chains or franchises with multiple locations.

Contact Point

Provide structured contact information that search engines can surface directly in results.

Benefits of LocalBusiness Schema

Rich Results

Unlock enhanced search features like map previews, review stars, and opening hours directly in Google.

Better SEO

Structured data gives search engines the context they need to understand and rank your content accurately.

Local Visibility

Tying your online presence to a physical address drives foot traffic and improves local pack rankings.

Features

  • Generates valid schema.org LocalBusiness JSON-LD
  • Auto-creates a Google Maps iframe from your address
  • Full HTML preview with schema and map embed combined
  • Inline validation highlights required fields before generation
  • Secure iframe rendering via a strict source allowlist
  • One-click copy for JSON-LD or full HTML output
  • Built for accuracy and speed by Localmente

Best Practices for Local Business Schema

  • Insert the JSON-LD script block inside the head of your page.
  • Use a consistent NAP (Name, Address, Phone) across all online directories.
  • Test with Google's Rich Results Test after publishing.
  • Keep your schema aligned with your Google Business Profile.
  • Create a separate LocalBusiness page for each physical location if you have multiple branches.
  • Use a specific subtype (e.g., Restaurant, MedicalBusiness) when relevant to qualify for richer result types.

FAQs

What is LocalBusiness schema?

LocalBusiness schema is structured data based on schema.org that describes your business — its name, address, contact details, and more — so search engines can display accurate, enriched information about you in results pages.

Where should I place the JSON-LD script?

Add the script block to the head of whichever page represents your business — typically your homepage or a dedicated location page.

How do I get my Google Maps embed code?

Click 'Generate Google Maps Embed Code' and the tool will auto-build an iframe from the address you entered. Alternatively, search for your business on Google Maps, click Share → Embed a map, and copy the iframe code.

Will this guarantee a rich result?

No. Google determines rich result eligibility based on quality signals and guideline compliance. Complete, valid schema improves your chances significantly but doesn't guarantee it.

Can I add opening hours or a price range?

This generator covers the essential LocalBusiness fields. For additional properties like OpeningHoursSpecification or priceRange, you can manually extend the generated JSON-LD with the relevant schema.org fields.

Is this free to use?

Yes — completely free, with no account needed, no usage limits, and no watermarks.

Free Local Business Schema Generator | Localmente | Localmente