Timestamp Converter

Convert between Unix timestamps and human-readable dates — in UTC and your local timezone.

Timestamp → date

Date → timestamp

How it works

A Unix timestamp counts seconds since 1970-01-01 00:00:00 UTC (the "epoch"), ignoring leap seconds. It is the lingua franca of logs, APIs and databases because it is timezone-free and sorts naturally.

This tool accepts seconds (10 digits) or milliseconds (13 digits) and shows both the UTC and your local rendering. Note the 2038 problem: signed 32-bit timestamps overflow on 2038-01-19 — modern systems use 64-bit.

Frequently asked questions

Seconds or milliseconds?

Both are accepted: 10-digit values are read as seconds, 13-digit as milliseconds. JavaScript's Date works in milliseconds internally.

Why do UTC and local differ?

The timestamp itself is absolute; only its human rendering shifts with your timezone. A log line "1759219200" means the same instant in Beijing and in London.

What is the 2038 problem?

Signed 32-bit seconds max out at 2,147,483,647 = 2038-01-19 03:14:07 UTC, then wrap negative. 64-bit systems are unaffected.