Avello Labs 856-470-6300

Home / Free tools / Schema generator

Local business schema generator

Fill in your details and copy the code. Everything runs in your browser, and nothing you type is sent to us.

Your business
Location
Opening hours (optional)
Extras (optional)

Your code

    Then test it with Google's Rich Results Test.

    How to add the code to your site

    1. Fill in the form. The code updates as you type.
    2. Copy the code and paste it into your home page, inside the <head> section or anywhere in the page.
    3. On WordPress, a plugin for adding code to the header does the job. On Wix and Squarespace, look for custom code or code injection in the site settings.
    4. Test the page with Google's Rich Results Test, and update the code whenever your details change.

    Keep the details the same everywhere: your site, your Google Business Profile and any directories. Matching details are easier for Google and AI tools to trust.

    Common questions

    What is LocalBusiness schema?

    A small block of code, in a format called JSON-LD, that describes your business to search engines: your name, type of business, location, hours and contact details. Visitors don't see it.

    Where do I put the code?

    On your home page, inside the head section or anywhere in the page. One copy is enough. If your site builder already adds business schema, update that instead of adding a second one.

    I visit customers and don't have a storefront. Should I include my address?

    Tick the box to hide your street address. Your town, region and ZIP code still tell search engines where you're based, and the areas you serve show where you work.

    Will schema help me rank higher?

    Not on its own. It helps search engines and AI tools read your details correctly and can make you eligible for richer results, but it doesn't replace good pages and reviews.

    Why can't I add reviews or star ratings?

    Google doesn't show star ratings from reviews a business publishes about itself, and marking them up can count against you. Ask happy customers to leave reviews on your Google Business Profile instead.

    Website tips, about once a month

    Practical website and search tips for small businesses. No spam.

    We only use your email for the newsletter. See our privacy policy.

    Monthly plans from $99

    We build your site, then look after it every month so it keeps bringing in calls.

    What's your website costing you? Try the calculator