Free Countdown Widget
Copy two lines of code into your website, blog post or page builder and your readers will see a live countdown to the next holiday or festival. It's free, needs no sign-up and loads after your page.
Last updated: 8 November 2026
See it in action
How to add it to your site
Paste this where you want the countdown to appear. In WordPress, use a Custom HTML block; in other site builders, use an HTML or embed block.
<div class="edc-countdown" data-event="chinese-new-year"><a href="https://easydatecalc.com/chinese-new-year-2027/">Chinese New Year 2027 countdown</a></div>
<script src="https://easydatecalc.com/widget.js" async></script>
Change data-event to the event you want, or remove it to always show the next upcoming event. The link inside the box is what readers see if scripts are blocked, so keep it.
Which events can I use?
| data-event | Shows |
|---|---|
christmas | Christmas Day, 25 December |
new-year | New Year's Day |
chinese-new-year | Chinese (Lunar) New Year |
ramadan | Start of Ramadan |
eid-al-fitr | Eid al-Fitr |
holi | Holi |
easter | Easter Sunday |
songkran | Songkran, Thai New Year |
diwali | Diwali |
halloween | Halloween |
Dates come from the same data as our festival pages, which list their sources and are reviewed when official announcements are made. The countdown uses your reader's own device date, so it rolls over at midnight local time.
Is it free, and does it track readers?
Yes, it's free for personal and commercial sites. The widget sets no cookies and collects no personal data: it downloads a small list of dates from EasyDateCalc and draws the box. Please keep the "Countdown by EasyDateCalc" credit link.
Frequently asked questions
- How do I add a countdown to WordPress?
- Add a Custom HTML block and paste the two lines of code from this page.
- Can I show a specific holiday?
- Yes. Set data-event to the holiday, for example songkran or christmas.
- Does the widget slow down my page?
- No. The script is small and loads asynchronously after your content.
- Is the countdown widget free?
- Yes, for any website, as long as the credit link stays.