Unix timestamp converter

Turn an epoch timestamp into a date in your time zone, UTC or any other zone, and turn a date back into a timestamp. The current timestamp ticks at the top.

Free and private. Everything runs in your browser, nothing is uploaded.

How it works

  1. Paste a timestampSeconds or milliseconds, the unit is detected from the number of digits.
  2. Read the dateSee it in local time, UTC, your chosen zone and standard formats.
  3. Or go the other wayPick a date and time to get its timestamp.

Epoch time in plain words

Unix time counts the seconds since 1 January 1970 at midnight UTC. Databases, logs, APIs and JWT tokens use it because it is a single number that is the same everywhere. The converter recognises the unit from the length: 10 digits are seconds, 13 milliseconds as in JavaScript and Java, 16 microseconds as in Python and PostgreSQL, 19 nanoseconds as in Go.

Results are shown in your local time, in UTC and, if you like, in any other time zone, plus ISO 8601 for APIs and RFC 2822 for email headers.

Bulk conversion

Paste a column of timestamps from a log or a spreadsheet, one per line, and get the ISO date next to each one, ready to copy back. Everything is calculated in your browser.

Frequently asked questions

Is the timestamp in seconds or milliseconds?

The tool detects it from the number of digits: 10 for seconds, 13 for milliseconds.

What time zone is a Unix timestamp in?

None. It always counts from 1970 in UTC; only the displayed date depends on the time zone.

What is the year 2038 problem?

Systems that store Unix time as a signed 32 bit number overflow on 19 January 2038. Modern systems use 64 bits.

Can I convert many timestamps at once?

Yes. Paste one per line in the timestamp box.