Free Embeddable Widgets for Your Website
Add a live clock or today's sunrise/sunset times for any city to your site in one paste. No sign-up, no API key, no JavaScript to maintain — just an iframe that stays correct on its own.
Live Clock Widget
An always-accurate digital or analog clock for any city, in light or dark theme.
Style
Theme
Embed code
<iframe src="https://worldtimes.ai/embed/new-york-usa?style=digital&theme=dark" width="260" height="220" style="border:0;border-radius:12px;overflow:hidden" title="Current time in New York" loading="lazy"></iframe>Sunrise & Sunset Widget
Today's sunrise, sunset, and day length for any city, refreshed automatically every day.
Theme
Embed code
<iframe src="https://worldtimes.ai/embed/sun/new-york-usa?theme=dark" width="340" height="160" style="border:0;border-radius:12px;overflow:hidden" title="Sunrise and sunset times in New York" loading="lazy"></iframe>Why add these to your site?
- Always correct. Built on standard IANA time zone data and real solar geometry — daylight saving changes and day-length shifts are handled automatically, forever.
- Zero maintenance. Each widget is an iframe, not a script you have to keep updated. Paste it once.
- Fits anywhere. A contact page showing your office hours, a travel or events site, a blog post about a trip — any city in our directory works.
Terms of use
These widgets are free to embed on any personal, business, or blog website. In exchange, please keep the small "by worldtimes.ai" attribution link visible in each widget — it's built into the embed and isn't meant to be removed or hidden with CSS. That link is what keeps this free for everyone. Automated scraping of widget content outside of a normal embedded iframe is not permitted.
Frequently Asked Questions
- Are these widgets really free?
- Yes, free for any website or blog, with no sign-up and no API key. The only condition is keeping the small "by worldtimes.ai" attribution link visible in the widget — that's what keeps it free.
- Does it work on WordPress, Squarespace, Wix, or Webflow?
- Yes — anywhere you can paste a raw HTML/embed block. Most page builders have an "HTML" or "Embed" element for exactly this.
- Does the clock stay accurate, including daylight saving changes?
- Yes. The clock widget reads live from worldtimes.ai using standard IANA time zone data, the same source browsers and operating systems use, so it automatically adjusts for daylight saving time — you never need to update it.
- How accurate are the sunrise and sunset times?
- Computed from real solar geometry, accurate to within a minute or two for any location worldwide, including polar day/night handling for high-latitude cities. It refreshes daily on its own.
- Can I embed more than one widget, or more than one city?
- Yes, there's no limit — paste as many widgets, for as many cities, as your page needs.