Countdown timer for your website

Pick the end date and time, choose colors and a style, then copy the embed code into your page or download a GIF for email. The countdown ends at the same moment for every visitor, whatever their time zone.

Everything runs in your browser. Your text and files stay on your device and are never uploaded.

Preview

Pick a valid date and time.

The GIF shows the next 60 seconds from now, then holds its last frame. Use it for email, where scripts do not run; for a live page use the embed code.

How to use it

  1. Set the date and time the countdown ends. It uses your time zone unless you tick the UTC box.
  2. Type a heading such as Sale ends in, and the text to show when the clock reaches zero.
  3. Choose boxes or plain numbers, decide whether to show days, and pick the three colors. The preview updates as you go.
  4. Press Copy embed code and paste it into an HTML embed on your site. In Wix, use Add, then Embed Code, then Embed HTML.
  5. For email, press Download GIF and insert the file as an image, since mail apps do not run scripts.

Where the embed code goes

WhereHow
WixAdd, then Embed Code, then Embed HTML. Paste the code and size the box to about 180 pixels high.
Other site buildersUse the custom HTML or code block and paste the code as is.
Your own HTML pagePaste it where the countdown should appear. It needs no libraries.
EmailScripts are stripped by mail apps, so download the GIF and insert it as an image.

Questions

How do I add a countdown timer to a Wix website?

Copy the embed code, then in the Wix editor choose Add, Embed Code, Embed HTML, paste it in and resize the box so the timer fits. Publish the site and the countdown runs live.

Will visitors in other time zones see the right time?

Yes. The code stores one exact moment in UTC, so a visitor in Tokyo and a visitor in Dallas see the clock reach zero at the same instant.

Does the embed code need any outside service?

No. It is one block of HTML, CSS and a few lines of JavaScript with no libraries and no account, and it reads the visitor's own clock.

Why does the GIF stop after a minute?

A GIF is a fixed set of pictures. This one holds the next 60 seconds of the countdown and stays on the last frame. Make a fresh GIF before each send if the numbers need to be current.

Can a visitor cheat the timer by changing their clock?

This countdown reads the visitor's device clock, so someone who changes it sees a different number. It is fine for a sale banner. A deadline that must be exact for everyone needs a timer that checks a server.

More free tools

All free tools