Skip to content
DEGet my free previewFree preview

Opening hours generator: JSON-LD, table and Google text

Pick a template or set your hours with a few taps and get three ready formats: structured data for Google, a table for your website and a text list for your business profile.

How it works

  1. Choose the business typeSearch your business type in the list. It is output as the matching schema.org type. Name, address and phone are optional.
  2. Choose the hoursTake a template like "Mon–Fri 8am–5pm" or switch days open or closed and pick the times. "+ Break" adds a second range, for example after a lunch break.
  3. CopyThe JSON-LD goes into your page code, the table into the visible part, and the list into your Google Business Profile.

Why it matters

Someone searching "hair salon open now" in the evening wants to know whether they can still drop by. If hours differ between Google, your website and the door, you lose trust and customers stand in front of a closed shop.

Structured data in JSON-LD tells search engines your name, address and opening hours in a machine-readable form. It is no guarantee of a better ranking, but it helps Google understand your details correctly.

Tips

  • Keep your website, Google Business Profile and other listings identical.
  • Enter special hours such as holidays directly in your Google Business Profile.
  • Pick the closest business type. If none fits, use "Local business".
  • Test your JSON-LD after adding it with Google's Rich Results Test.

Frequently asked questions

Where does the JSON-LD go?

Into the HTML of your home page, in the head or before the closing body tag, inside a script element with type="application/ld+json".

Can I enter two ranges per day?

Yes, for example morning and afternoon. Leave the second range empty if you are open all day.

Is the markup valid?

It follows the schema.org OpeningHoursSpecification type with dayOfWeek, opens and closes. Test it with the Rich Results Test after adding it.

Is anything stored?

No. Everything is calculated in your browser and nothing is sent to us.

Does it improve my Google ranking?

Not directly. It helps Google read your details correctly and can improve the quality of your listings.

Related

More from Free tools

See all