Countdown Timer Widget Generator

Design a sale, launch or event countdown, watch it run, and paste one small HTML snippet into WordPress, Shopify, Wix or any page.

Działa w Twojej przeglądarce. Twoje pliki nigdy nie opuszczają urządzenia. Zobacz, jak to sprawdzić

…

Jak to zrobić

  1. 1
    Choose the type

    Pick a fixed end time for a dated event, or evergreen for a per-visitor offer.

  2. 2
    Set the moment

    Enter the date, time and its time zone, or the evergreen length in hours, and choose the units.

  3. 3
    Pick a look

    Start from a theme, then change the layout, labels, colours, size and font.

  4. 4
    Decide the ending

    Choose an end message, hiding the widget or a redirect, and add an optional button.

  5. 5
    Check the preview

    Watch the live preview and read the checks for contrast and end time.

  6. 6
    Copy the snippet

    Copy the one-snippet embed code and paste it into an HTML block on your site.

O tym narzędziu

A countdown on a page creates a reason to act now: a sale that ends at midnight, a product launch, early-bird tickets, a webinar starting soon. Countdown services usually load their script from another domain, track visitors and add a logo unless you pay. This generator writes the whole widget for you as plain HTML, CSS and a short script, with nothing loaded from anywhere else. The first decision is the type. A fixed countdown ends at the same moment for everyone, and you give that moment as a date, a time and the time zone it belongs to, so a sale ending at 23:59 in New York ends at 04:59 the next morning in London without you doing the sum; the conversion uses the browser's time-zone database and follows daylight saving changes. An evergreen countdown starts when each visitor first arrives and runs for the number of hours you choose, remembered in that visitor's browser, and can restart after it ends. Then you choose which units to show (days, hours, minutes and seconds; hidden units roll into the next one, so with days off you see 49 hours), labels in long or short form, a layout of boxes, plain numbers, circles or numbers with a progress bar, colours, number size, corner radius, font, alignment and leading zeros.

What happens at zero

Choose to show a message in place of the numbers, to hide the whole widget, or to send the visitor to another page, such as a sale-over page or the live webinar room. An optional button with your own text and link sits under the timer, for example Shop now, styled with the accent colour and a visible keyboard focus ring.

Live preview and checks

The preview runs the real snippet, so what you see is what your visitors get. The settings panel shows the end moment in your own time zone and the time left right now. The checks warn when a fixed end time has already passed, when the text contrast is below WCAG AA, when no unit is switched on, or when a redirect address does not start with https://. They also explain that the numbers are not announced to screen readers every second, which would make the page impossible to use.

Installing it

Copy the single snippet into an HTML or custom code block: the Custom HTML block in WordPress, a Custom Liquid section in Shopify, an embed element in Wix or Squarespace, or your own template. If you need two timers on one page, change the id in both the HTML and the script so each has its own. The HTML, CSS and JavaScript tabs give the parts separately if you prefer to put the CSS in your stylesheet.

Limits

The countdown uses the visitor's device clock, so a visitor whose clock is wrong sees a wrong countdown; the end moment itself is fixed and correct. An evergreen timer is reset if the visitor clears site data or uses another browser, so it must not be used to enforce a legal or contractual deadline, and you should honour offers you advertise. The widget does not send email reminders, collect sign-ups or count visitors.

Przykład z rozwiązaniem

A Black Friday sale ends at 09:00 on 27 November 2026 in New York. The tool converts that to 14:00 UTC, which is 20:00 the same day in Dhaka. A visitor who opens the page at 10:30 UTC on 25 November sees 2 days, 3 hours, 30 minutes and 00 seconds. The Night sale theme has white text on #0f172a, a contrast of 17.85 to 1, and at zero the numbers are replaced by The sale has ended. Thank you!

W skrócie

Najczęstsze pytania

Does the countdown show the same time for everyone?

A fixed countdown ends at one moment worldwide, so every visitor sees the same time left, wherever they are. An evergreen countdown is personal: each visitor gets the full length from their first visit.

Why do I need to pick a time zone?

Because 23:59 on 31 December happens at different moments around the world. You give the time in the zone your offer is based in, and the widget stores the exact moment, so visitors in other zones see the right amount of time left.

Will it work on Shopify and WordPress?

Yes. It is plain HTML with an inline style block and script, which both allow in a Custom Liquid section or a Custom HTML block. Some page builders strip scripts in their visual editor; use their code or embed element instead.

Does the widget slow down my page?

It is a few kilobytes, makes no network requests and updates once a second with a timer. That is lighter than any hosted countdown service.

Is an evergreen countdown honest?

Use it for offers that really are personal, such as a welcome discount valid for 48 hours after sign-up, and honour them. Showing a fake deadline that resets on every visit misleads customers and is against consumer rules in many countries.

Can I hide the seconds?

Yes. Untick Seconds; the remaining time is then shown in days, hours and minutes, which feels calmer for deadlines that are weeks away.

Całkowicie za darmoBez opłat i rejestracji
Pliki zostają prywatneWszystko działa w Twojej przeglądarce
Łatwo w Twoim językuDostępne w wielu językach