Opening Hours Schema Generator โ€” Show Your Hours in Google Search

Opening hours in Google search results โ€” shown directly under your business name before anyone clicks โ€” come from schema markup. Specifically from the openingHours or OpeningHoursSpecification property in your LocalBusiness schema. If your hours are not showing in search, it is almost certainly because your schema either does not exist or does not include the correct opening hours format. Here is how to fix it.

How opening hours appear in Google

When you search for a local business on Google, you often see opening hours displayed directly in the search result โ€” "Open now", "Closes at 5pm", "Closed on Sundays". These come from two sources: your Google Business Profile and your website schema markup.

Having both in sync โ€” identical hours in your GBP and your schema โ€” is the strongest signal. If they conflict, Google may show neither. Our generator writes your opening hours in the exact format Google requires and includes a reminder to match them against your GBP listing.

The correct format for opening hours in schema

Google accepts two formats: the compact openingHours string format and the full OpeningHoursSpecification object format. The compact format uses two-letter day codes and 24-hour times: "Mo-Fr 09:00-17:00", "Sa 10:00-14:00", "Su closed". The full format uses separate objects for each day or range of days with dayOfWeek, opens and closes properties.

Our generator writes the full OpeningHoursSpecification format which gives Google more structured information and is the recommended approach for businesses with varying hours across different days.

Adding special and seasonal hours

For bank holidays, seasonal hours or special closures, our generator includes a specialOpeningHoursSpecification field where you can add exceptions to your regular schedule.

This is particularly important for restaurants, shops and tourist attractions where hours vary significantly. Google can show "Special hours today" in search results when you have this data correctly marked up.

How to use our generator for opening hours

Paste your business URL into the AI Schema Generator. It detects your business type and writes the complete LocalBusiness schema including opening hours if they are on your page.

If your hours are not on the page or need correcting, use the Opening Hours fields in the enrich panel to set each day manually. The generator formats them correctly in both the compact and full OpeningHoursSpecification formats.

Run the result through the Schema Debugger. If opening hours are missing or incorrectly formatted, they will appear as an error or warning with a specific fix instruction.

Add opening hours to your schema now

Paste your URL. AI reads your page, detects your business type and writes complete, production-ready schema in 60 seconds.

Try It Free →