BrowserLeaksUSBrowserLeaksUS

Timestamp Converter

Convert between Unix timestamp and ISO 8601 - fully client-side

Current Time

Unix (seconds)

1794704797

Unix (ms)

1794704797627

ISO 8601

2026-11-15T01:06:37.627Z

11/15/2026, 4:06:37 AM (Europe/Istanbul)

Converter

Seconds or milliseconds

ISO 8601 or any parseable date format

What this tool does

Converts between Unix timestamps (seconds or milliseconds) and human-readable ISO 8601 dates in multiple timezones. Shows relative time (5 minutes ago, in 3 hours). Fully client-side.

Who it's for: Developers reading database timestamps, sysadmins parsing log times, and anyone debugging timezone issues.

When to use

  • •Decode a Unix timestamp from a database into a human-readable date.
  • •Generate the current timestamp in the format your API expects.
  • •Convert a log timestamp from UTC to your local timezone.
  • •Check when a JWT's exp claim will fire.

How it works

  1. 1Paste a timestamp (seconds or ms) or a date string.
  2. 2Tool auto-detects format and converts both directions.
  3. 3Multiple timezones are shown side-by-side.
  4. 4Current time updates in real time.

Tips

  • •Unix timestamps are seconds since 1970-01-01 UTC - milliseconds in JavaScript.
  • •ISO 8601 is the only unambiguous date format for APIs.
  • •Always store UTC and convert to user's timezone at display time.

Using this result

How to read a timestamp conversion

01

Seconds, milliseconds, and the clock

Unix time is a count of seconds since 1970-01-01 UTC, ignoring leap seconds. The live clock on this page is that count for now. A 10-digit value is seconds. A 13-digit value is milliseconds. Pasting milliseconds into a seconds field makes a date in the far future. Pasting seconds into a milliseconds field makes a date in January 1970. If the result is off by a factor of a thousand, you picked the wrong unit. The page can switch units. The number itself does not say which one it is, except by its length.

The converted rows show the same instant as ISO 8601, as a UTC string, and in your local zone. ISO is the form to copy into APIs. Local time is what the clock on this computer displays. If local time and the timezone on Timezone disagree with what you expect, the computer zone is wrong, not the Unix value. Date-only strings are ambiguous. 2024-01-02 parsed as UTC midnight is still the previous evening in American time zones.

02

Relative time and batches

Relative time is a reading aid (a few minutes ago, in 3 days). It is not a value to store. It changes as the clock moves, and it depends on the locale. Batch mode converts one value per line so you can compare log stamps. Blank lines are skipped. A line that does not parse stays an error for that line rather than shifting the rest.

JWT exp and iat fields are seconds. JavaScript Date.now and many databases are milliseconds. When you copy a claim from the JWT Decoder, keep the seconds unit. Timestamps do not include a timezone. The zone is applied only when the number is displayed. Two viewers in different zones should still agree on the ISO UTC line.