Current epoch — epochtime.tools · A precision instrument for time

Preview

Your embed code

What you get

There are two widgets. The converter reads a Unix timestamp in seconds, milliseconds, microseconds or nanoseconds, or a date such as 2026-11-17 09:30, and shows the local time, ISO 8601, UTC, both epoch units and a relative time. The clock shows the current Unix time ticking every second, with UTC and local time under it.

Both are one iframe. Paste the snippet into any HTML page, a WordPress custom HTML block, a Notion embed, a docs site or a wiki that allows iframes. The widget has no script for you to host and nothing to keep updated.

Privacy

The widget page loads no analytics, no ads and no fonts, sets no cookies and uses no local storage. It reads the visitor's clock and time zone in the browser. Anything typed into the converter stays in the iframe.

Sizing

The converter needs about 390 pixels of height and the clock about 260. The snippet uses a width of 100 percent with a 520 pixel maximum, so it fits narrow columns and phones.

Questions

Is the widget free?

Yes. There is no sign-up, API key or limit. The widget has a small epochtime.tools link inside it, which stays in place.

Does the widget track my visitors?

No. The widget page loads no analytics, sets no cookies and uses no browser storage. Conversion runs in the visitor's browser and nothing they type is sent anywhere.

How do I match my site's colours?

Pick Light or Dark, or leave Automatic to follow the visitor's system setting. The accent colour sets the button colour. Enter it as six hex digits.

Which time zone does it use?

By default each visitor sees their own time zone. Choose a fixed time zone in the generator if you want every visitor to see the same one, for example for an event.

Will it work with a Content Security Policy?

Allow https://epochtime.tools in your frame-src (or child-src) directive. The widget itself needs no other external resources.

Related

Need to check the JSON your page sends? jsontools.tools formats and validates it.

Last updated: