PT

Free clock and countdown widgets for your website

Set up a clock or a countdown, check the preview, then paste one line of code into your site. It's free and you don't need an account.

Widget
Style
Theme
Size
Preview

How to add the widget to your site

Copy the embed code above. It's a single iframe tag, so it works on any site or page builder that accepts HTML.

  • WordPress: in the block editor, add a Custom HTML block and paste the code. In the classic editor, switch to the Text tab before pasting.
  • Squarespace: add a Code block (not a Markdown block), paste the code and save the page.
  • Wix: choose Add Elements, then Embed Code, then Embed HTML. Paste the code, then drag the box to the same size as the widget.
  • Blogger: go to Layout, click Add a Gadget and pick HTML/JavaScript. For a single post, switch the post editor to HTML view and paste it there.

On other platforms, look for a block or gadget called HTML, Embed or Code.

Getting the size right

The widget scales to fit its box, so you can change the width and height in the code at any time. Digital clocks and countdowns look best in a box that is about twice as wide as it is tall. The analog clock wants a box that is close to square. Full width makes the widget stretch across the column it sits in, which works well on phones.

Which time zone should a countdown use?

Pick the event's time zone for things that happen at one moment for everyone, like a product launch, a live stream or a wedding. Pick Visitor's local time for things like New Year's, where each visitor counts down to midnight where they are. When the time runs out, the widget says "It's here!"

Exact time, even on a wrong clock

Plenty of phones and computers are off by a few seconds, and some by minutes. When the widget loads, it checks the time against our server and corrects for the difference, the same way the clock on our home page does. Daylight saving time is handled by your visitor's browser, using the standard time zone database.

Privacy

The widget sets no cookies, shows no ads and runs no analytics or tracking scripts. Your visitor's browser loads the widget and asks our server for the current time, and that's it. The small "Time by TrueTime.zone" credit at the bottom opens our site in a new tab when clicked.

Is it really free?

Yes, on personal and business sites alike. All we ask is that you leave the credit link visible. If you need a widget we don't offer yet, let us know.