Unix Timestamp Converter

Turn epoch time into a real date, and back, across ten timezones.

DeveloperFreeNo sign-up
Loading tool…

Runs entirely in your browser — nothing you enter is uploaded or stored on a server.

How to use it

Convert a Unix timestamp to a readable date or a date to a timestamp, with seconds, milliseconds and microseconds detected automatically. Shows ISO 8601, RFC 2822, your local time, how long ago it was, and the same moment in ten major timezones.

  1. Paste a timestamp, or switch to date → timestamp and pick a moment.
  2. Leave units on Detect unless a value is being read the wrong way.
  3. Copy the format your code or ticket needs.
DevelopersData analystsSupport engineers

Questions

How are the units detected?

By length. Ten digits is seconds, thirteen is milliseconds, sixteen is microseconds. The tool shows which one it used, so a wrong guess is obvious — and you can set the units yourself.

Why does my timestamp show a 1970 date?

A millisecond value read as seconds lands in January 1970. Set the units to milliseconds, or add the missing digits.

Which timezone is the date-to-timestamp direction using?

Your own. The picker has no timezone of its own, so it is read as local wall-clock time and converted from there.

What is the year 2038 problem?

Systems storing Unix time in a signed 32-bit integer run out of room on 19 January 2038. This tool uses JavaScript numbers, so it handles dates far beyond that.