Epoch Timestamp Widget

Embed a live Unix (epoch) timestamp on your blog, documentation, dashboard, or GitHub README with one line of HTML. It ticks in real time, needs no dependencies, and works anywhere. Free to use.

Live preview

Copy the embed code

Paste this where you want the widget to appear:

HTML

The attribution link is a normal, followable link — please keep it. That link is how the widget stays free.

Options

data-themelight (default) or dark
data-formatseconds (default) or millis

Frameworks

The widget is plain HTML + one script, so it drops into any stack. In React or other SPA frameworks, render the <div class="epochtime-widget"> and load widget.js once (e.g. in your document head or a useEffect). In Markdown that allows raw HTML (many static-site generators and GitHub Pages), paste the snippet directly.

What is a Unix timestamp?

A Unix timestamp (epoch time) is the number of seconds elapsed since 00:00:00 UTC on 1 January 1970. It is timezone-independent and used everywhere in programming. This widget shows the current value, updating every second. Need to convert a specific value? Use the epoch converter, and see the Unix time guide for background.

More developer time tools

Epoch converter · Timezone converter · Date difference calculator · Cron expression parser