1. Home
  2. Guides
  3. Developer

How to Convert a Unix Timestamp to a Date (and Back)

4 min readUpdated October 7, 2026

Timestamp ConverterEpoch time to dates and back. Free, no sign-up.

A Unix timestamp counts the time since 1 January 1970 at 00:00 UTC. Logs, APIs, databases and tokens use it because it is one number with no time zone attached. People cannot read it, so it needs converting.

Convert a timestamp

  1. Open the Timestamp Converter.
  2. Paste the number. The tool works out whether it is in seconds, milliseconds or microseconds from its length.
  3. Read the result as UTC, in your local time zone, as ISO 8601 and as relative time (“3 days ago”).

It also works the other way: type a date such as 2026-10-07 14:30 and copy the seconds or milliseconds.

Examples

Timestamp Unit UTC
1791331200 seconds 2026-10-07 00:00:00
1791331200000 milliseconds 2026-10-07 00:00:00
0 seconds 1970-01-01 00:00:00

Common mistakes

The converter runs in your browser; nothing you paste is sent anywhere.