Tool

Clock for your site

A free live clock for any city — pick a design, copy the code, paste it into your website.

Live preview

Embed code

Paste this wherever HTML is allowed. The clock keeps a small, friendly link back to us — that’s all we ask.

How to add a clock to your website

Pick a city and a design above, choose a light or dark theme (or “auto”, which quietly matches each visitor’s own system setting), then press Copy embed code and paste the snippet into your site’s HTML — a blog sidebar, a footer, a landing page, anywhere HTML is allowed. The clock is a single <iframe> served from timezonecompare.com. It loads no third-party scripts, sets no cookies on your page, and runs no analytics against your visitors; the time is computed live in each reader’s browser from the IANA Time Zone Database, so it stays correct through every daylight-saving change with zero maintenance from you. There are five designs — digital, minimal, a day-and-night card, a ticking analog face, and a sun/moon variant — and each works in twelve- or twenty-four-hour format, with or without seconds. Need to compare two places instead of showing one? Use the time zone converter or build a shareable wall on the world clock.

Frequently asked questions

Is the clock free to embed?
Yes. The widget is free for any website, personal or commercial. There is no sign-up and no usage limit.
Does it slow my page down or track my visitors?
No. The clock is a single lightweight iframe that loads only from timezonecompare.com — no third-party scripts, no cookies, no analytics run on your page. The time ticks entirely in the visitor’s own browser.
Do I have to keep the “timezonecompare.com” link?
We ask that you keep the small link visible — it is how people discover the widget. Unlike some clock providers, we will never remotely disable your clock if you change the code; it is your page and your call.
Will the clock stay correct during daylight saving time?
Yes. It reads the visitor’s browser time zone database, so every switch to and from daylight saving time happens automatically on the correct local date, with no maintenance from you.