Free tool

Business hours schema generator

Create LocalBusiness structured data with your address, phone and opening hours to paste in.

Include the country code, for example +1.

Opening hours

Untick a day to mark it closed. For hours past midnight, enter the closing time on the same day (for example 18:00 to 02:00).

How the hours read

    JSON-LD to paste into your page

    What this schema does for local SEO

    Structured data is a small block of code that describes your business in a format search engines read reliably: your name, type, address, phone number and opening hours. It doesn't replace your Google Business Profile, and it doesn't guarantee any special display in results, but it removes guesswork and backs up the details shown elsewhere. Everything here is generated in your browser.

    How to add it to your site

    1. Fill in the form and check the "How the hours read" list.
    2. Copy the code. It is already wrapped in the script tag that structured data needs.
    3. Paste it into your home page or contact page. In most website builders, look for "custom code", "header code" or an "embed" block. On a self-hosted site, place it in the page's <head>.
    4. Test the live page with Google's Rich Results Test or the Schema Markup Validator, both free.

    Keep it consistent

    • Match your other listings. Use exactly the same name, address and phone number as on your Google Business Profile, social pages and directories.
    • Update holiday hours. If your hours change, change them here and on your profile at the same time.
    • Use the closest business type. A specific type such as Bakery or Plumber says more than the general LocalBusiness, but pick one that is true.

    Learn the rest of the local basics in our local SEO guide, and write your page's search snippet with the meta tag generator.