Skip to content

LocalBusiness schema generator

Turn your business details into structured data for your website. Review the code and copy it when you’re ready.

Business details

Use the actual business details published on your page.

Required. Use the name customers know.

Choose the most specific type that fits your business.

Optional. Use this location’s website URL.

Optional. Include + and your country code.

Your entries stay in this page. No account needed.

View generated code

View generated code

Generated schema

Updates as you enter details. Blank optional fields are left out.

Complete the fields below to prepare your code.

Your generated business data is displayed as text here.

Schema checks

Complete these details

  • Business name: Enter the business name shown on your page.

No physical address included. Google’s LocalBusiness rich-result requirements include a physical address; service areas do not replace it.

Add the business location’s website URL when available.

Add it to your page

  1. Replace example details and make sure the same information appears on your page.
  2. Copy the script tag into your page’s HTML, or paste JSON-LD into your CMS schema field. Update existing markup rather than adding a conflicting duplicate.
  3. Check the published page with Google’s Rich Results Test when you’re ready.
Open Google’s Rich Results Test (opens in a new tab)

This tool checks your inputs and generates JSON-LD. It does not run Google’s test or guarantee rich results.

Describe the business your page represents

Use the most specific business type that fits, and include details that match the information visible on your website. Leave unknown optional fields blank. An address is optional in this generator; Google’s LocalBusiness rich-result requirements include a physical address.

The tool validates supported types, input formats, and JSON syntax in your browser. It does not verify ownership, check live links, or submit anything to Google. Read Google’s LocalBusiness guidance (opens in a new tab).