Clock Widget

Embed a live clock on any website. Free, no account needed.

Preview
Embed code
<iframe src="https://worldontime.app/widget?city=London&tz=Europe%2FLondon&theme=auto&fmt=24h&size=md" width="280" height="96px" frameborder="0" style="border:none;border-radius:12px;overflow:hidden;" title="London time — World on Time"></iframe>
Paste this anywhere in your HTML
Free forever
No account, no API key, no limits
Live updates
Clock ticks every 10 seconds automatically
Dark & light mode
Auto-matches visitor's system preference
Mobile friendly
Scales to any container width

About the clock widget

The clock widget is a small, live clock for any city that you can drop into any website with a single line of HTML — no account, no API key, no cost. Choose a city, theme, size, and time format above, then copy the embed code. It updates on its own and matches your visitor’s light or dark mode automatically.

Who it’s for

Hotels and travel sites showing the local time at a destination. Co-working spaces and event pages displaying the time for an upcoming session. Bloggers and small businesses with an international audience. Developers who want a drop-in clock without building one. If your visitors care what time it is somewhere, this saves you writing the code.

Frequently asked questions

Do I need an account or API key?

No. Copy the iframe and paste it in — that’s the whole setup.

Will it match my site’s appearance?

Set it to light, dark, or auto. Auto follows each visitor’s system preference. It also scales to its container, so it fits on mobile.

Does the time stay accurate?

Yes. The widget keeps the correct local time for the chosen city, including daylight saving, and ticks live.