Pinlist / Guides

Opening Hours Schema (OpeningHoursSpecification)

Opening hours go in openingHoursSpecification: one entry per set of days that share the same times, each with dayOfWeek, opens and closes in 24-hour time. Set your hours below and copy the result.

Example details are filled in. Replace them with yours; the code updates as you type.

Opening hours
Mon to Fri
Saturday
Sunday
More details (optional)
Your JSON-LD

Paste it into the page's <head>, then check it in Google's Rich Results Test.

The example, worked

This shop opens 7:30 a.m. to 6:00 p.m. on weekdays, 8:00 a.m. to 4:00 p.m. on Saturday and 10:00 a.m. to 3:00 p.m. on Sunday. That is three entries: Monday to Friday with "opens": "07:30" and "closes": "18:00", Saturday with 08:00 and 16:00, and Sunday with 10:00 and 15:00. Times are 24-hour, so 6:00 p.m. is 18:00.

Special cases

CaseHow to write it
Closed all dayLeave the day out; tick Closed above. Google's guide also accepts opens and closes both "00:00".
Open 24 hoursopens "00:00", closes "23:59"
Lunch breakTwo entries for the same day, such as 08:00 to 12:00 and 13:00 to 17:00
Holiday or seasonal hoursAn extra entry with validFrom and validThrough dates

A holiday closing, added by hand:

{
  "@type": "OpeningHoursSpecification",
  "opens": "00:00",
  "closes": "00:00",
  "validFrom": "2026-12-25",
  "validThrough": "2026-12-25"
}
Structured data helps search engines read your business details. It does not promise a ranking or a rich result; Google decides what it shows.

Questions

Should I use openingHours or openingHoursSpecification?

Both are valid schema.org. openingHoursSpecification is the one Google's local business guide shows, and it handles special and seasonal hours, so this generator writes it.

How do I mark hours that run past midnight?

Write the closing time as it reads on the clock, such as opens "18:00" and closes "02:00". Google's guide reads a closing time earlier than the opening time as the next day.

Can I list the hours in a pasted spreadsheet?

Yes. In the list mode, write the hours column like "Mo-Fr 08:00-17:00; Sa 09:00-14:00" and each location gets its own entries.

See the code