Free Clock and Countdown Widgets for Your Website

Put a live city clock or holiday countdown on your site with a small iframe. Choose the settings, check the preview and copy the code.

Clock widget

New York

Getting the local time…

Powered by Time Tango

Countdown widget

Christmas Eve

Days
00
Hours
00
Minutes
00
Seconds
00

Getting the local time…

Powered by Time Tango

About this page

A city clock is useful on a travel page, a team portal or a site that lists events for one location. It shows the city name, the local date and the current time with seconds. Choose 12-hour time for AM and PM or 24-hour time for a compact display. The sun or moon icon indicates whether it is day or night in the city.

A holiday countdown shows the days, hours, minutes and seconds until the next occurrence. It follows the visitor’s time zone, so two people in different regions may reach the same holiday at different moments. The countdown rolls forward to the following occurrence when the current deadline passes. The US daylight saving countdown uses the clock change time instead of midnight.

Use the dark or light theme to suit the space around the widget. Pick a width and height, then preview the result before copying the code. The iframe loads the clock on your page and keeps it separate from your site’s styles. Keep the Time Tango link visible so visitors can open the full clock or countdown.

WordPress

Add a Custom HTML block in the block editor and paste in the code. Use the block’s preview, then save or publish the page. If your WordPress account strips out iframes, check whether your plan or publishing role allows them.

Wix

Open Add Elements in the editor, then choose Embed Code, Popular Embeds and Embed HTML. Paste the snippet into the HTML box and apply it. Match the element height to the widget and check the mobile view before publishing.

Squarespace

Edit a page and add a Code block. Choose HTML, paste in the iframe code and leave Display Source off. Save and preview the published page. Your Squarespace plan needs to support iframe embeds in Code blocks.

Plain HTML

Paste the iframe code into the body of your page where you want the widget to appear. Keep its title and dimensions so visitors can identify it and the browser can reserve the right amount of space. Upload the updated page and test it at phone width.

Common questions

Are the widgets free to use?

Yes. You can embed either widget for free without an account. The widget includes a link to Time Tango.

Does the city clock adjust for daylight saving time?

Yes. A city clock uses the time zone rules for that city, including seasonal clock changes.

Why might two people see different countdown times?

The holiday countdown uses each visitor’s time zone to determine when the holiday begins at their location.

How do I change a widget after publishing?

Change the settings on this page, copy the new iframe code and replace the old snippet in your site editor.