Draw a Digital Clock screenshot

Draw a Digital Clock

Draw a seven-segment digital clock showing any time, in 24-hour or 12-hour AM/PM form.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Runs in this tab

Seven segments per digit

Type a time as HH:MM or HH:MM:SS and the page draws it in seven-segment digits on a canvas, choosing between a 24-hour display and a 12-hour display with AM or PM. Each digit lights the segments its numeral needs: 8 lights all seven, 1 lights two, and the unlit segments are drawn in pale grey so the panel reads as a real display.

The picture is a still frame. Pressing Now reads your system clock once and redraws, after which nothing moves, because a ticking clock is a different tool and this one exists to make an image. An hour above 23, or minutes or seconds above 59, is refused with a message rather than drawn at a wrapped value; a string with no colon is refused with the shape it expects.

Every segment is computed in this tab from the time you typed. Nothing is uploaded, no image is sent anywhere, and the same time redraws the same panel after a reload.

Draw seven-segment digits for a time you type, in 24-hour form or 12-hour with an AM/PM marker.

It is a still frame of the time you enter: Now reads your clock once, and nothing ticks after that.

How to use it

Type a time as HH:MM or HH:MM:SS, choose the display, and the digits redraw. Now copies the current device time into the field and draws it once; Save PNG downloads the canvas.

Reading the display

Each digit is drawn as seven segments, so a 1 lights two segments and an 8 lights all seven. In 12-hour mode the hour is reduced modulo 12 with midnight and noon shown as 12, and the marker follows the unmodified hour.

Where it stops

The hour must be 0–23 on a 24-hour clock and the minutes and seconds 0–59; anything else is refused with the input quoted back. There is no date, no alarm, no time zone and no ticking.

What to Expect

Best for

  • making a clock graphic for a screenshot or a slide
  • showing a time in a seven-segment style

What this tool keeps

  • The digits are drawn in this tab; the PNG comes from the canvas, and neither the time nor the image is uploaded.

Frequently asked questions

Which time formats are accepted?

HH:MM and HH:MM:SS, with colons. Anything else is refused with the input quoted, so a mistyped separator is visible rather than silently dropped.

How is midnight shown in 12-hour mode?

As 12 with an AM marker. The hour is reduced modulo 12 with 12 in place of 0, and the marker is decided from the original hour, so noon is 12 PM.

Does the clock keep running?

No. It draws the time you typed once. Now reads your device clock once, and the picture stays a still frame afterwards.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.