Free Embeddable Digital Clock Widget

Add a digital clock to your website or blog with one line of HTML. It's free, no account needed, and the time updates every second in the visitor's browser. Show seconds, the date, and 12 or 24-hour time. Want hands instead of numbers? Try the analog clock widget.

Preview Widget

Widget Style & Options

300px

Embed Digital Clock Widget on Your Website

Why use a digital clock widget

A digital clock shows the time as numbers, so it's easy to read down to the second. It's a good pick when exact time matters: scheduling a webinar, showing when a sale ends, or coordinating with a team in another timezone. The time updates live in each visitor's browser. To convert a time between two places, the time zone converter does the math for you.

What you can set

  • One line to embed: Copy the snippet from the box above and paste it into your page's HTML.
  • Timezone: Pin it to a city, or let it follow each visitor's local time.
  • What it shows: Toggle seconds, the date, and 12 or 24-hour format.
  • Colors and size: Match your background and text color and set the width.
  • Free, no account: No sign-up and no fee. Get the code right away.

What the digital clock gives you

A digital clock reads time as plain numbers, which is the fastest way to show an exact time on a page. It's handy on a page where the precise hour and minute matter and you want it visible without anyone hunting for it. Build your clock above.

A few display styles

Pick a style from the Choose style menu, from a plain LED-style readout to a flip-style display. Switch between them in the preview to see what fits.

Choose what shows

Turn seconds on or off, show or hide the date, and switch between 12-hour (AM/PM) and 24-hour time. The preview updates as you change each one.

Show any timezone

Set it to one city, a market open, or an event, or let it match each visitor's local time. To see many cities at once, open the world clock.

Pick your colors

Set the background and text colors so the clock matches your page, and choose the width that fits the spot you're putting it in.

Small and quick to load

The widget is a short script and an anchor tag. It runs in the visitor's browser and won't add much weight to your page.

Free, no account

No sign-up, no fee, no hidden cost. Copy the code and go. Want to see the other options? Browse all the clock widgets.

Where it helps

Teams across timezones

Put your office's timezone on an internal dashboard or contact page, so a distributed team and your clients know the time on your end before they reach out.

Live streams and webinars

Show the event's start time on the page so people can see how long until it begins. If your dates fall near a clock change, our guide to daylight saving time explains why the offset can shift.

Trading and news pages

When the exact minute counts, a clock with seconds helps you track a market's open and close or line up against the moment a story broke.

How to add it to your site

  1. 1. Style it
    Set the timezone, format, and colors above.
  2. 2. Copy the code
    Grab the HTML snippet from the box.
  3. 3. Paste it in
    Drop the code into your page's HTML.

Ready to add your clock?

Scroll up to the generator, set it up, and copy the code. Want the time written out in words? Try the text clock widget.

How to add this clock to your website

  1. Set it up. Choose the time zone, size, colours and title above so the clock fits your site.
  2. Preview it. Check the live preview to make sure it looks right.
  3. Copy the embed code. Click to copy the short snippet we generate for you.
  4. Paste it in. Drop the code into any web page, blog post or template - No coding needed.

💡 Tip: Pick the time zone your visitors are in. Not sure which to use? Open the time-zone list to find it, or compare the current time in major cities first. Want a different look? Browse all our clock widgets.

Clock widget - Frequently asked questions

Is the clock widget free?

Yes. It's free for personal and commercial websites, with no sign-up and no hidden costs.

Do I need coding skills to add it?

No. You copy a short embed snippet and paste it into your page. If you can add an image, you can add this widget.

Will it show the right time zone and update automatically?

Yes. You choose the time zone when you build it, and the clock keeps ticking live for every visitor.

Popular alarms: