ClockHub
BlogWidgetContact

Embed a clock or countdown on your website

Pick a style, set the time zone, copy one snippet. It works in WordPress, Squarespace and Notion โ€” the clock runs inside an iframe, so it never touches your page CSS or scripts. No signup, nothing to install.

Countdown

Counts down in the visitor time zone. Pick a zone below if everyone should see the same number.
Title
Title alignment
When it reaches zero
Seconds
Theme
Style
Font
Weight
Size
ร—
Colors
Open site on click

Clock

Time format
Seconds
Theme
Style
Font
Weight
Size
ร—
Colors
AM/PM position
Open site on click

How to add it

  1. 1

    Copy the code

    Use the button above. The snippet is plain HTML โ€” no build step, no package to install.

  2. 2

    Paste it into your page

    Anywhere that accepts raw HTML: a custom HTML block, a code block, or the template file of your theme.

  3. 3

    Save and reload

    The clock appears right away. Nothing else to configure, and nothing to update later.

Where it works

WordPress

Use a Custom HTML block, or paste it into a text widget.

Squarespace

Add a Code Block to the page and paste the snippet inside.

Notion

Type /embed and paste the iframe address, not the whole snippet.

Clock widget for Notion

Notion works differently from a website builder: its embed block takes a URL, not a block of HTML. So instead of pasting the whole snippet, you paste only the address inside it.

Everything else stays the same โ€” the same builder, the same clock, the same settings. The only difference is what you copy.

  1. 1

    Set it up in the builder

    Pick flip cards or plain digits, a time zone, colours โ€” light theme if your Notion page is white. The preview above is the actual clock, not a mock-up.

  2. 2

    Copy the address, not the code

    The builder hands you a full iframe snippet. Notion needs only the part inside src="โ€ฆ" โ€” the address that starts with https://clockhub.app/embed.

  3. 3

    Type /embed in Notion

    Type /embed, press Enter, paste the address. Notion turns it into a live block. Drag its bottom edge to change the height, and the clock scales with it.

Paste this one as-is to see it working:

https://clockhub.app/embed?style=flip&format=24&seconds=1&theme=light

Without mode it is a clock; the builder adds mode=countdown when you switch to the Countdown card. The light theme here suits Notion's white pages โ€” a dark clock on white loses its colons, which sit outside the cards.

If you set custom colours, the address contains %23 where you would expect #. Keep it exactly as copied. Notion reads a bare # as the start of a fragment and cuts off everything after it, so the colours would silently disappear.

A clock widget that does not slow your page down

Most clock widgets ship a JavaScript library, a web font, and a request to a third-party server. This one is a single HTML file of about 5 KB compressed, with the styles and the logic inlined. It loads in an iframe, so it cannot change your page CSS, cannot block your scripts, and cannot read anything your visitors type.

Two styles are available. Flip cards reproduce the split-flap display of old railway departure boards, where each digit falls forward with a soft shadow. Plain digits drop the cards and show large tabular numerals, which suits article pages and dashboards better. Both are drawn at the same scale, so switching between them does not shift your layout.

You can pin the clock to any IANA time zone, or leave it on the visitor local time. Daylight saving comes from the browser own time zone database, so a clock set to Europe/London follows the BST switch without any update on our side.

The embed is free and stays free. There is no account and no watermark.

Frequently asked questions

Is the clock widget really free?+

Yes. No account, no payment, no watermark, and no limit on how many clocks you embed. The link under the clock is the only thing we ask you to keep.

Do I have to keep the Clockhub link?+

It is not enforced and the clock works without it. But it is the only thing that keeps the project funded, so we ask you to leave it in place. It is already included in the snippet you copy.

Will the iframe slow down my page?+

The whole embed is about 5 KB compressed, less than a single photo. It is also marked loading="lazy", so browsers do not fetch it until it scrolls near the viewport.

Does it work with WordPress, Squarespace, and Notion?+

WordPress and Squarespace accept the full snippet in a custom HTML or code block. Notion is different: it embeds a URL rather than raw HTML, so paste only the iframe address into a /embed block โ€” the attribution link will not appear there.

Can I show a different time zone?+

Yes. Pick a zone in the configurator and the snippet carries it as a tz parameter. Any IANA name works, for example Asia/Tokyo or America/New_York.

Does it still show the right time if my visitor's device clock is wrong?+

No. The clock reads the visitor device time and converts it to the chosen zone, so a device with a wrong clock shows a wrong time. Serving authoritative time would need a server call on every page load, which we deliberately avoid to keep the embed this small.