Free website tool

Free Clock Widget for Your Website

Create a live clock for any city and add it to your website with a simple iframe. Choose a digital clock, analog clock or animated flip clock and customize its appearance.

Customize your clock

Live preview

Embed this clock

Copy this code and paste it into the HTML of your website.

Add a live world clock to your website

A website clock widget gives visitors the current local time for a selected city without making them leave your page. Choose a city and the widget automatically uses its regional time zone, current UTC offset and applicable daylight-saving rules.

Digital, analog and flip clock designs

The digital clock provides a clean, modern time display. The analog clock offers a familiar round clock face with moving hands. The flip clock recreates the classic split-flap style with animated number changes. Each design can be resized and adjusted to match your website.

Custom colors and transparent backgrounds

Set the foreground, clock and background colors in the builder. A transparent background allows the widget to blend into the design behind it. The generated iframe keeps the selected dimensions and appearance when placed on another website.

A clock for cities around the world

Search for a city to create a clock that follows that location rather than the visitor's device time. The city name below the clock links to its full city page with local time, time-zone information, weather and other location details.

How to embed the clock

  1. Select Digital, Analog or Flip.
  2. Search for and select a city.
  3. Choose the size, time format and colors.
  4. Copy the generated embed code.
  5. Paste the iframe into your website's HTML.

The clock is hosted by What's the Time, so its time display continues to update automatically. The city attribution and “Powered by whatsthetime.org” link are included as part of the free widget.