(236) 361-3888
Free Tool · Generator

Local Business Schema Generator

Fill in your business details and get LocalBusiness JSON-LD code to paste into your website, checked live against Google's required and recommended properties. It takes about five minutes.

Start Here
  • Free, no sign-up
  • Runs in your browser
  • Remembers your entries on this device
  • Updated November 19, 2026
Architectural floor plans spread on a desk with a ruler, a pencil and a laptop
  • 2properties Google requires: name and address
  • 5decimal places minimum for latitude and longitude
  • 100characters: keep priceRange under this or Google drops it
  • 30more specific types under LocalBusiness on schema.org

Build Your Schema

Fill in what you have. The code and the checks update as you type, and your entries stay on this device.

1 Your details
Business
Pick the most specific type that fits.
The page for this location, with https://.
International (E.164) style: + then country code and area code.
Address

Google asks for at least 5 decimal places on each.

Opening Hours
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Profiles And Areas
Your official profiles: Google Maps link, Facebook, Yelp, LinkedIn, YouTube.
2 Your code
    Start with your business name and address. The code appears here as you type.

    Red chips are required by Google. Amber chips are recommended or need a fix. Green chips pass.

    Wooden apothecary cabinet drawers, each with a blank label tag

    What Schema Does And Does Not Do

    The code this tool writes is a set of labels. Like tags on drawers, it tells search engines which text is your name, which is your phone number and which are your hours.

    It does not promise rankings or special search features. Google's guidelines say, "Using structured data enables a feature to be present, it does not guarantee that it will be present."

    • It does: label your details in a format Google documents and reads.
    • It does not: replace a complete Google Business Profile.
    • It does not: fix wrong details. Wrong data in, wrong data out.

    Required And Recommended Properties

    The chips above follow this table, taken from Google's LocalBusiness structured data documentation.

    PropertyGoogle's statusWhat to enter
    nameRequiredThe name of the business.
    addressRequiredAs many address parts as possible: street, city, region, postal code, country.
    telephoneRecommendedThe primary customer number, with country code and area code.
    urlRecommendedThe fully qualified URL of this location's page. It has to work.
    geoRecommendedLatitude and longitude with at least 5 decimal places.
    openingHoursSpecificationRecommendedDays with opening and closing times.
    priceRangeRecommendedA range such as "$10-15" or signs such as "$$$", under 100 characters.
    menu, servesCuisineRecommendedFood businesses only. Add them by hand if they apply.

    Tip: Schema.org deprecated the general ProfessionalService type for local businesses. Pick a specific type, such as Attorney or AccountingService, instead.

    Where To Paste It And How To Test

    Once the chips turn green, five steps take the code from this page to your live site.

    1. Copy or download the codeUse Copy Code, or download schema.html and open it in a text editor.
    2. Paste it on the location's pageUsually the homepage or contact page. Google reads JSON-LD in a script tag in the page's head or body. In WordPress and similar builders, use a header-code setting or a custom HTML block.
    3. Test it before publishingPaste the code into Google's Rich Results Test and the Schema Markup Validator. Fix any errors they report.
    4. Publish and re-test the live URLRun the live page through the Rich Results Test, then the URL Inspection tool in Search Console.
    5. Set a reminderAdd the quarterly reminder below, and update the code whenever your hours or phone number change.
    Hands fitting interlocking wooden building blocks together

    Keep It Matching Your Google Listing

    Your schema is one block in a set. It fits only when it matches the other blocks: your visible page, your Google Business Profile and your other listings.

    Google's structured data guidelines say your markup "must be a true representation of the page content." So show the same name, address, phone and hours on the page itself.

    • Same name as your storefront and Business Profile.
    • Same phone number, the one under your direct control.
    • Same hours, updated on the same day as your profile.

    The free NAP Consistency Checker compares your details across listings.

    Three Common Mistakes

    The chips catch format problems. These three need a human eye.

    Stale Hours

    Holiday or seasonal hours change on your profile but not in the code. Update both on the same day.

    Hidden Content

    Marking up an address or reviews that visitors cannot see on the page. Google asks you not to mark up hidden content.

    One Block For Many Locations

    Google asks you to define each location as its own LocalBusiness. Give each location its own page and its own block.

    Make It A Habit

    Hours, phone numbers and service areas change. A quarterly review keeps your markup telling the same story as your Google Business Profile and your contact page.

    Bookmark this page with Ctrl + D (⌘ + D on a Mac), or save it to My Tools. Your entries wait for you on this device.

    Questions People Ask

    What is LocalBusiness schema?
    It is structured data, written in JSON-LD, that labels your business details for search engines: your name, address, phone, hours and more. The vocabulary comes from schema.org. Google reads it to understand the page. It does not change what visitors see, because the code sits inside a script tag.
    Does schema markup improve my rankings?
    Google makes no ranking promise for it. Its structured data policies say, "Using structured data enables a feature to be present, it does not guarantee that it will be present." Treat the markup as a clear label for your details, and keep the visible page and your Google Business Profile accurate too.
    Where do I paste the code?
    Paste it into the HTML of the page that represents your business location, usually the homepage or the contact page. Google's documentation says JSON-LD goes in a script tag in the head or body of the page. On WordPress and similar builders, use a header-code or custom HTML block.
    Which business type do I pick?
    Pick the most specific type that fits, as Google's LocalBusiness documentation asks. A plumber picks Plumber, not LocalBusiness. If nothing on the list fits, choose the closest parent, such as HomeAndConstructionBusiness or Store, or use LocalBusiness itself. Schema.org lists every type and its subtypes.
    I am a service area business. Do I include my street address?
    Google's markup rules say to mark up only content visitors can see on the page. If your street address is hidden from customers, tick the service area option. The generator keeps your city, region, postal code and country, leaves out the street line, and lists the places you serve in areaServed.
    How do I test the code?
    Paste the page URL or the code into Google's Rich Results Test, then into the Schema Markup Validator. After the page is live, use the URL Inspection tool in Google Search Console to see how Google reads the published page.

    How This Tool Works

    The generator writes one JSON-LD object with @context https://schema.org and the type you pick. Blank fields are left out. The address is a PostalAddress; the country is upper-cased. Latitude and longitude become a GeoCoordinates object only when both are numbers. Days with the same hours share one OpeningHoursSpecification. A closed day is written as opens 00:00 and closes 00:00, and a 24-hour day as opens 00:00 and closes 23:59, as Google's LocalBusiness documentation describes. Hours that close after midnight stay in one specification. Each line in the profile box becomes a sameAs URL, and each line in the areas box becomes a Place in areaServed. With the service area option on, the street line is left out.

    The checks follow Google's LocalBusiness structured data documentation. Red chips are the required properties (name, address). Amber chips are recommended properties that are missing or malformed: telephone without a + country code, url, image, logo or sameAs without https://, geo with fewer than 5 decimal places, missing openingHoursSpecification, and priceRange of 100 characters or more. Passing these checks means the code is well formed, not that Google shows any feature.

    Sources

    Everything you type stays in your browser. Nothing is sent to Sherman Hu SEO or anyone else. Saved entries live only on this device until you clear them.

    General information, checked against the sources above on November 19, 2026. Google and other platforms change their rules; their current help pages win.

    Want Sherman Hu to do this for your business?

    Schedule My Free SEO Call