Unix Timestamp Converter

Convert timestamps to dates and back, with a live clock.

Free Unix timestamp converter. Turn seconds or milliseconds into UTC and local dates, convert dates back to timestamps, and watch a live now-clock, in your browser.

Loading tool…

If the tool stays on this message, make sure JavaScript is enabled, then reload the page.

About Unix Timestamp Converter

APIs, databases, and log files rarely speak in dates, they speak in numbers like 1728566400. That's a Unix timestamp: the count of seconds since 1 January 1970, 00:00:00 UTC. It's compact, timezone-free, and perfect for machines, but opaque to humans. This converter translates in both directions: timestamp to readable date, and date back to timestamp.

Paste a timestamp and you'll see the UTC time, your local time, and the ISO 8601 form side by side, no more mental timezone math when debugging an API response or reading a server log. Pick a calendar date to go the other way, and use the live now-clock to grab the current timestamp for code, filenames, or cache-busting. Seconds and milliseconds are both supported, which matters because mixing them up is the single most common timestamp bug.

That bug deserves emphasis: a 10-digit value is seconds, a 13-digit value is milliseconds. Convert milliseconds as seconds and you'll land in the year 50,000; convert seconds as milliseconds and you're back in January 1970. Also remember the timestamp itself is always UTC, the instant never changes, only its display shifts with your timezone, which is why the tool shows both.

How to use Unix Timestamp Converter

  1. Pick Seconds or Milliseconds.
  2. Enter a timestamp and click Convert to date, or pick a date and convert it back.
  3. Use the live clock or Use now for the current time.

Why use this tool?

  • Both directions: timestamp ⇄ human date
  • UTC, local and ISO 8601 shown together
  • Live ticking now-clock

Tips for best results

  • Count the digits: 10 digits means seconds, 13 means milliseconds. Pick the matching mode before converting.
  • Debug APIs faster: paste the raw timestamp from a response to see instantly whether it's seconds or ms and what moment it represents.
  • Compare UTC and local: when a time looks 'off by hours,' check the UTC column, the timestamp is right, the timezone display differs.
  • Use the live clock: hit 'Use now' to grab the current timestamp for code, logs, or unique filenames.
  • Dates before 1970 work too: they produce negative timestamps, which are valid and handled correctly.

Frequently asked questions

What is a Unix timestamp?
The number of seconds (or milliseconds) since 1 January 1970, 00:00:00 UTC.
Why is my date off by hours?
Timestamps are UTC; your local timezone shifts the display. Both are shown so you can compare.
Does anything get uploaded?
No. All conversion happens in your browser.
Seconds or milliseconds, how do I tell?
Count the digits: 10 digits is seconds, 13 is milliseconds. Converting with the wrong unit gives a wildly wrong date.
What is the Year 2038 problem?
On 19 January 2038, 32-bit signed timestamps max out. Modern 64-bit systems handle far larger values, so it's mostly a legacy embedded-systems concern now.

Related tools