JSON-LD generator

Local Business Schema Generator (JSON-LD)

Enter details that visitors can verify on the business page. The JSON-LD updates as you work and stays in this browser.

01

Enter the business details

Start with the page

Add the details that identify this business and the page the markup describes.

Contact and mediaAdd public contact details, images, and a price range when they appear on the page.
ImagesAdd absolute URLs for representative business images.
Location and service areaDescribe where customers visit the business or where the business provides service.
AddressRequired for Google local businessRecommended for Google organizationEnter the public street address shown on the page.
Map coordinatesRecommended for Google local businessEnter coordinates only from a map listing of this address.
Opening hoursAdd only the hours published for this location.
Opening hoursRecommended for Google local businessAdd one row for each group of days that shares the same hours.
Days
Select every day that uses this row.
Days
Select every day that uses this row.
Profiles and identityConnect official profiles and stable identity links when they are available.
Official profilesRecommended for Google organizationAdd URLs for profiles that identify this same business.
Advanced identity linksUse stable @id values to connect this business with other nodes.
What each engine usesReview the documented search feature requirements that apply to this business type.
Active feature ruleGoogle: local business

Required for Google local business: address, name

Recommended for Google local business: department, geo, geo.latitude, geo.longitude, openingHoursSpecification, priceRange, telephone, url

Documentation checked 2026-11-12
Active feature ruleGoogle: organization

Recommended for Google organization: name, url, logo, sameAs, contactPoint, address, telephone, email, legalName, alternateName

Documentation checked 2026-11-12
Display restrictionGoogle: self-serving review stars

Google does not show review stars when an Organization or LocalBusiness reviews itself, including reviews embedded with a third-party widget.

Documentation checked 2026-11-12
Jump to the generated code
02

Live JSON-LD output

This code still contains example values. Replace them with details that appear on your page.

Most plugins and code fields want the version with the script tag. Use JSON-LD only when a field asks for the JSON by itself.

schema-local-business
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "@id": "https://example.com/locations/downtown/#business",
  "name": "Example Neighborhood Studio",
  "url": "https://example.com/locations/downtown/",
  "description": "A fictional local business used to demonstrate JSON-LD fields.",
  "image": [
    "https://example.com/images/storefront.jpg"
  ],
  "telephone": "+1-555-010-2040",
  "email": "hello@example.com",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "100 Example Avenue",
    "addressLocality": "Austin",
    "addressRegion": "TX",
    "postalCode": "78701",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 30.2672,
    "longitude": -97.7431
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "09:00",
      "closes": "17:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Saturday"
      ],
      "opens": "10:00",
      "closes": "14:00"
    }
  ],
  "sameAs": [
    "https://example.com/example-studio-profile"
  ],
  "hasMap": "https://example.com/map/example-studio"
}
</script>

How to add this code to WordPress, Shopify, Wix and other sites

Add the code to your site

Copying the code is half the job. Choose where your site is built to see where the code goes, which version to copy and what to check so you do not end up with two blocks describing the same thing.

Before you paste, on any platform

  1. Open the live page, view its source and search for application/ld+json. Many themes, plugins and site builders already add markup.
  2. If a block already describes the same thing, correct that block or turn it off instead of adding a second one.
  3. Make sure every value in the code is also visible on the page.
  4. After you publish, test the live URL with the Schema checker and Google's Rich Results Test.

Choose your platform. Use the arrow keys to move between platforms.

WordPress block editor

Copy the "With script tag" version.

  1. Open the page or post in the block editor.
  2. Add a Custom HTML block, paste the code and update the page.
  3. View the published page source to confirm the script element is there.
  4. For markup that belongs on every page, such as Organization, use a child theme or a site-specific plugin instead of a block on each page.

WordPress removes script elements from the Custom HTML block for users without the unfiltered_html capability. On a single site, Administrators and Editors have it; on a multisite network, only Super Admins do.

Read the WordPress schema guide

03

How to use this generator

  1. Replace every example value with information shown on the business page.
  2. Choose the most specific business type that accurately describes the business.
  3. Review the generated code and run Check this code.
  4. Copy the script-tag version into the page template or the field your platform provides.
04

What this generator does

The form builds one LocalBusiness JSON-LD node. The inline check separates JSON syntax, schema.org names, and documented Google feature requirements. It does not confirm indexing or promise a displayed search result.