Skip to content

Unix Timestamp Converter

Epoch to date and back. UTC, local, ISO 8601, and relative time, with a live clock.

Runs locally in your browser

// now
seconds1793615266
milliseconds1793615266867
// converted
Enter a Unix timestamp or a date above to convert.

How it works

When you'll reach for this

Reading logs and database rows

Logs, JWT exp claims, Kafka offsets, and created_at columns often store raw epoch numbers. Paste one in to see the actual date in UTC and your local time, plus whether it was recorded in seconds or milliseconds.

Seconds vs milliseconds

Unix tools use seconds (date +%s); JavaScript and many APIs use milliseconds. Mixing them is a classic off-by-1000 bug. This tool detects which one you pasted by its magnitude and shows both, so a cron schedule or a TTL never lands a thousand times too early or too late.

Frequently asked questions

What is a Unix timestamp?

The number of seconds since 1970-01-01 00:00:00 UTC (the Unix epoch), ignoring leap seconds. `date +%s` prints the current one.

Seconds or milliseconds?

Unix tools use seconds (10 digits until the year 2286). JavaScript, Java, and many APIs use milliseconds (13 digits). This tool auto-detects which you pasted by its length.

What is the year 2038 problem?

A signed 32-bit timestamp overflows on 2038-01-19 03:14:07 UTC. The fix is 64-bit time, which most modern systems already use.

Is my input sent to a server?

No. All conversion happens locally in your browser.

Tools are ported from DevOps Daily under the MIT license.View original

More tools

CIDR Subnet Calculator

Parse CIDR blocks, compute ranges, split into smaller subnets, and check whether an IP lives inside a network.

Open tool

JWT Decoder

Inspect any JWT in your browser. Nothing is sent to a server.

Open tool