Sunrise & Sunset Embed Widget

Copy one snippet of code and show daily-updated sunrise and sunset times on your own site. Great for blogs, B&Bs, campsites, surf shops and photo studios — free to use.

Websites that can use this widget

The widget automatically updates data for a selected location and can sit in a blog, destination page, or event page.

What to consider when embedding

The widget stays lightweight, but production pages still need layout, attribution, and reader flow to work well.

Notes

  1. The card updates automatically every day — no maintenance needed.
  2. Feel free to adjust the iframe width and height attributes.
  3. Free for any website; please keep the source link on the card.
  4. Please keep the link below when you paste the code — it lets visitors view the full data and is the condition for using this widget free of charge.

Widget FAQ

Can I use the embed widget for free?

Yes. You can place it on blogs, business sites, or content pages. Please keep the paired source link so readers can open the complete data.

Can I change the iframe size?

Yes. Adjust width and height as needed, then check desktop and mobile views to keep the card readable.

Which cities or tide stations are supported?

The selector includes locations currently supported by the site. If you need another place, use the nearest available city or tide station as a reference.

Related tools: Sunrise & Sunset · Tide Forecast · All Tools