Unix timestamp converter

Turn a Unix timestamp into ISO, UTC and your own time zone at once, or paste a date and read the epoch back. Seconds and milliseconds both.

A plain number is
Nowreading the clock

Questions

Seconds or milliseconds?+

Unix time is defined in seconds, and most backends store it that way, but JavaScript's Date.now returns milliseconds. A ten digit number is almost always seconds and a thirteen digit one milliseconds; the switch here decides how a plain number is read.

Can I paste a date instead of a number?+

Yes. Anything the browser can parse works in the same field, so an ISO string such as 2026-08-18T09:30:00Z gives you the epoch back, along with the UTC and local readings.

Which time zone is the local row?+

Your own, as the browser reports it. The ISO and UTC rows never move, which is what makes them the pair to quote in a bug report: a timestamp read in two time zones is how most scheduling bugs start.

What is the year 2038 problem?+

A signed 32-bit timestamp runs out on 19 January 2038, and rolls over to 1901. Anything still storing seconds in an int is affected, which is mostly old C, embedded systems and a few database columns. A 64-bit integer fixes it, and most modern stacks already use one.

Related tools

The tools are free. So is most of the library.

1935 blocks and 989 pieces for shadcn/ui and Tailwind, built on the same tokens these tools write. Install one with a command and the code is yours.

No signup for the tools. MIT for free blocks, commercial licence for Pro.

Markdown version