Skip to main content
What you enter is never sent to a server. It is processed entirely in your browser and not stored anywhere.

Unix Timestamp Converter

Turn a number like 1761200000 from a log, database row or API response into a readable date in your local time zone and UTC. The unit (seconds, milliseconds, microseconds, nanoseconds, Windows FILETIME) is picked from the number of digits and the alternatives are listed too. Paste a date such as 2026-10-23 12:34 or Fri, 23 Oct 2026 12:34:00 GMT to get the timestamp. Everything runs in your browser.

Paste a string and the result appears here.

Other possible interpretations

What Unix time is

Unix time (epoch time) counts the seconds elapsed since 00:00:00 UTC on 1 January 1970. The same instant has the same value everywhere, which makes it the lingua franca for servers, databases and APIs. JavaScript's Date.now() and Java's System.currentTimeMillis() use milliseconds (13 digits), Python's time.time() returns seconds with a fraction, and Go's UnixNano() and the Linux kernel use nanoseconds (19 digits).

DigitsUnitExample (2025-10-23 06:13:20 UTC)Typical sources
10seconds1761200000date +%s, Python, PHP, JWT exp
13milliseconds1761200000000JavaScript, Java, Android, Kafka
16microseconds1761200000000000PostgreSQL internals, some tracing systems
19nanoseconds1761200000000000000Go UnixNano(), Prometheus, Linux kernel
18Windows FILETIME133752920000000000100 ns intervals since 1601. Registry, Active Directory lastLogon

Time zones and gotchas

Getting and converting timestamps in code

Language / toolCurrent timestampTimestamp → date
JavaScriptMath.floor(Date.now() / 1000)new Date(ts * 1000).toISOString()
Pythonint(time.time())datetime.fromtimestamp(ts, tz=timezone.utc)
Java / KotlinInstant.now().getEpochSecond()Instant.ofEpochSecond(ts).atZone(ZoneId.of("America/New_York"))
MySQLUNIX_TIMESTAMP()FROM_UNIXTIME(ts)
PostgreSQLEXTRACT(EPOCH FROM now())to_timestamp(ts)
Linux / macOS shelldate +%sdate -d @ts (macOS: date -r ts)
Excel / Google Sheets=(NOW()-DATE(1970,1,1))*86400 (UTC sheet)=ts/86400+DATE(1970,1,1), then apply a date format

JWT claims such as exp and iat are shown as dates directly by the JWT decoder. To count the days between two dates use the date calculator.

FAQ

My value has 13 digits. Is it seconds?

Almost certainly milliseconds. Read as seconds it would land in the year 57,000. The converter chooses the unit that gives a plausible year (1990–2100) and lists the other readings underneath.

Does it handle negative values or dates before 1970?

Auto-detection is limited to 1990–2100 so that other number formats are not mistaken for timestamps. Dates outside that range are not converted here.

What does the "Now" button insert?

The current time from your device's clock, in seconds. If the clock is wrong, so is the value.

Sources