Zahid Awais Get a free audit

Free local business schema generator

Create LocalBusiness JSON-LD with address, hours and geo coordinates in your browser.

By Zahid Awais · Schema markup generators · Free, private, no sign-up

Result
0Required
0Recommended
0To check

JSON-LD code

    Only mark up details that customers can see on the page. Keep this data the same as your Google Business Profile.

    The free local business schema generator runs in your browser, needs no sign-up and never sends what you type anywhere.

    Quick answer

    This local business schema generator turns your business name, address, phone, coordinates and opening hours into LocalBusiness JSON-LD. Google requires only name and address, but recommends geo, telephone, url, priceRange and openingHoursSpecification. Use the most specific type, such as Dentist, and keep every detail identical to your Google Business Profile.

    What is a local business schema generator?

    A local business schema generator is a tool that writes schema.org LocalBusiness structured data in JSON-LD. It takes your details, checks Google's required properties (name and address) and recommended ones, and outputs a script block you paste into your page.

    How do you use the Local Business Schema Generator?

    How to use the Local Business Schema Generator: enter details, see the result and copy it
    Real screenshot of the Local Business Schema Generator with the steps marked.
    1. Pick the most specific business type, for example Dentist or Plumber.
    2. Enter the name, website, phone with country code and price range.
    3. Add the full address, two letter country code and coordinates with at least 5 decimals.
    4. Type opening hours one line at a time, such as Mo-Fr 09:00-17:30.
    5. Copy the code, add it to your contact or location page and test it in the Rich Results Test.

    What are the required properties for LocalBusiness schema?

    Google requires only two properties: name and address. Everything else, including geo, telephone, url, priceRange and openingHoursSpecification, is recommended. Adding the recommended fields gives Google more detail to show, as explained in Google's local business structured data guide.

    How precise should latitude and longitude be?

    Use at least 5 decimal places, for example 51.53912, which is Google's stated minimum precision. Five decimals locate a point to roughly one metre. Copy the coordinates from the map pin on your Google Business Profile so both match.

    Should I add review stars to my own LocalBusiness markup?

    No. Google treats reviews a business collects about itself as self-serving, and pages using LocalBusiness or Organization markup with those reviews are not eligible for star snippets. Only sites that review other businesses should add review or aggregateRating.

    Quick reference

    PropertyGoogle statusTip
    nameRequiredYour real trading name, no keywords
    addressRequiredPostalAddress with street, city, postcode, country
    geoRecommendedAt least 5 decimal places
    telephoneRecommendedInclude country and area code, e.g. +44
    openingHoursSpecificationRecommendeddayOfWeek, opens, closes in hh:mm
    priceRangeRecommendedUnder 100 characters, e.g. ££ or 20-60 GBP

    Worked example

    Example

    Example: a London dental clinic enters type Dentist, address 12 Parkway, NW1 7AA, GB, coordinates 51.53912 and -0.14268 and hours Mo-Fr 09:00-17:30. The tool outputs one openingHoursSpecification for Monday to Friday and one for Saturday, with 2 of 2 required and 5 of 5 recommended properties filled.

    Frequently asked questions

    Where do I put LocalBusiness schema on my site?

    Add it to the page that describes the location, usually the home page for a single location business or each location page for a chain. Paste the script into the head or body, or use your SEO plugin's custom schema field. Do not copy one location's markup onto every page.

    Does LocalBusiness schema improve local rankings?

    Structured data helps Google understand your business details, but it is not a direct ranking boost. Map pack visibility depends mainly on your Google Business Profile, relevance, distance and prominence. Treat schema as a way to make your name, address and phone consistent and machine readable.

    Which business type should I choose?

    Choose the most specific schema.org subtype that fits, such as Dentist, Plumber, Restaurant or LegalService. A specific type tells search engines more than the generic LocalBusiness. If nothing fits, LocalBusiness is still valid.

    How do I mark up a business that is closed on Sunday?

    Simply leave Sunday out of the opening hours. Days not listed are treated as closed. For temporary or seasonal closures Google supports validFrom and validThrough dates on an openingHoursSpecification.

    Can I have several locations in one JSON-LD block?

    It is cleaner to give each location its own page with its own LocalBusiness markup. Each block should match the address and phone shown on that page. Use Organization markup on the home page to describe the brand as a whole.

    How do I check that the markup works?

    Paste the page URL or code into Google's Rich Results Test to see errors and warnings, then use the Schema Markup Validator for general schema.org checks. After publishing, watch the enhancement reports in Search Console.

    Sources

    Facts checked against these official pages. Read how I check facts in my editorial policy.

    Related free tools

    All 104 tools

    Organization Schema Generator

    An organization schema generator is a tool that writes schema.org Organization structured data. It gathers…

    Coming 10 Oct

    Review Snippet Schema Generator

    A review schema generator is a tool that writes schema.org Review or AggregateRating structured data. It…

    Coming 11 Oct

    Google Business Profile Description Counter

    A Google Business Profile description counter is a tool that counts the characters in your business…

    Coming 13 Oct

    Want a full audit instead?

    Send your website and I will check it for you, free.

    Get my free audit
    Chat on WhatsApp