Local business schema generator

Fill in your business details the way they appear on your Google Business Profile, meaning name, address, phone and hours. The tool turns them into code that Google and AI models read without having to guess which part is the street and which is the phone number.

Code to paste on your page

    Runs in your browser. Nothing you type here is sent anywhere or stored.

    How to use it

    1. Pick your type of business and enter your name exactly as it appears on your Google Business Profile.
    2. Add your address and phone number. Type the number any way you like, and the tool converts it to the international format with +1.
    3. Set your opening hours. Days with the same hours are combined into one entry in the code.
    4. If you know your coordinates, paste them. In Google Maps, right-click your business pin and click the numbers at the top of the menu to copy them.
    5. Add links to your business profiles on social media and review sites, one per line.
    6. Copy the code and paste it on your homepage or contact page.

    Fields you leave empty won't appear in the code. Only the name and address are required, but the more accurate details you add, the better.

    What to fill in first

    FieldWhy it matters
    Name, address, phonewithout them, Google can't connect your site to your business
    Opening hours"open now" and "open on Sunday" are common searches, and common questions to AI
    Website and photoGoogle recommends them for every local business
    Coordinatessettle any doubt when an address is unusual, like a unit in a strip mall or a rural route
    Social and review profileshelp confirm that your Facebook page, Yelp listing and website are the same business

    What this code won't do

    It won't replace your Google Business Profile. If you don't have one yet, or it isn't verified, start there, because that's what decides whether you show up on the map. Structured data is the second step, and it tidies up what your own website says about your business.

    You can describe the questions and answers on your page in a similar way with the FAQ schema generator.

    Questions

    What is structured data?
    A short piece of JSON-LD code added to your page. Visitors don't see it. Crawlers get the same information that's on the page, but labeled, like "this is the business name", "this is the ZIP code", "open Saturdays from 9 to 1". The vocabulary for those labels is called schema.org, and Google, Bing and AI crawlers all understand it.
    Will this help me rank higher on Google?
    The code on its own doesn't raise your rankings, and we won't pretend it does. It helps Google connect your website with your business, address and hours, and helps AI models get those details right when someone asks, say, for a dentist open on Saturdays. Your spot on the map and in local results depends mostly on your Google Business Profile.
    Where do I put the code?
    On your homepage or your contact page, anywhere in the HTML. In WordPress, the simplest way is a Custom HTML block or a plugin that adds code to the header. If you have several locations, give each one its own code on its own location page.
    My type of business isn't on the list. What should I pick?
    Pick "Local business (general)". It's a valid type for any business with a physical address. A more specific type helps, but a wrong one hurts, so don't describe a law firm as a store just because it sounds close.
    Do the details have to match my website and Google Business Profile?
    Yes, down to the last character. Your name, address and phone number should be identical in the code, on your site, in your Google Business Profile and in directories like Yelp. Small differences, like "Suite 4" in one place and "#4" in another, make it harder for Google to tell it's the same business.
    How do I check that the code is valid?
    Paste it into Google's Rich Results Test (search.google.com/test/rich-results) or the Schema Markup Validator (validator.schema.org). Both show what they read and whether anything is missing.

    More free tools