Convert Dock

pick a converter · runs entirely in your browser
dark

TimestampDate

local time relative
Timestamp
drop a .txt file here0 bytes
TS
DATE
Date
drop a .txt file here0 bytes

What is a Unix timestamp converter?

A Unix timestamp (also called Epoch time) is a single number representing a point in time: the number of seconds — or milliseconds — that have elapsed since January 1, 1970 UTC. It's the format most databases, APIs, log files, and programming languages use internally to store dates, because a plain number is unambiguous, sortable, and doesn't depend on timezone or calendar formatting.

Humans, understandably, don't read raw numbers like 1704067200 as a date. This converter turns a timestamp into a readable ISO 8601 date, plus your local time and a relative description like "3 days ago" — and works the other way too: type or paste a date and get back the exact timestamp, in either seconds or milliseconds.

Frequently asked questions

Why does it matter whether I pick Seconds or Milliseconds?
Unix time is defined in seconds by convention, but JavaScript's own Date.now() and many APIs return milliseconds instead — mixing the two up is one of the most common timestamp bugs there is. If your number looks unusually large (13 digits instead of 10), you're almost certainly looking at milliseconds.
Can it handle dates before 1970?
Yes — Unix timestamps can be negative to represent dates before January 1, 1970 (the Unix epoch), and this converter handles negative values correctly in both directions.
What timezone does the converted date use?
The Date field always shows UTC time in ISO 8601 format, ending in Z, which is the unambiguous standard for storing and sharing timestamps. The local time shown separately in the status strip reflects your own browser's timezone, for convenience.
What date formats can I type in for Date to Timestamp conversion?
ISO 8601 is the most reliable, for example 2026-07-09T12:00:00Z or just 2026-07-09. Many other common formats will also parse correctly since this uses the browser's native date parser, but ISO format is guaranteed to work consistently across browsers.