SEOFree · no sign-up Runs in your browser

Opening hours schema generator

Set your weekly hours, split shifts, 24-hour days and holiday closures, and get LocalBusiness JSON-LD with openingHoursSpecification that you can paste into your site. Days with the same hours are grouped automatically.

Loading the tool…

How to use the Opening Hours Schema Generator

  1. 1Set each day to open, closed or open 24 hours, and enter the times in 24-hour format.
  2. 2Add a second time range for split shifts, and any holidays or special opening days.
  3. 3Fill in your business type, name and address so the markup is complete.
  4. 4Copy the JSON-LD into your page, then test it with Google's Rich Results Test.

Frequently asked questions

What is openingHoursSpecification?

The schema.org property that describes when a business is open, day by day, in structured data. Search engines can read it to show your hours, and it should match your Google Business Profile.

How do I mark a business as open 24 hours in schema?

Use opens 00:00 and closes 23:59 for that day. Choose Open 24 hours in the generator and it writes this for you.

How do I add holiday hours or closures to schema markup?

Add an OpeningHoursSpecification with validFrom and validThrough set to the date. For a closed day, opens and closes are both 00:00. The generator does this under Holidays and special hours.

Does opening hours schema replace my Google Business Profile hours?

No. Google Maps and the local pack use the hours in your Business Profile. Schema helps search engines read your website correctly, so keep both the same.

All tools

Then schedule it with Join Postly

Plan, publish and track your posts on every network from one calendar. Free plan, no credit card.

No credit card required Free forever plan Cancel anytime