Unix Timestamp Converter

Convert a Unix timestamp to a human date and back, in any time zone.

Developer Runs in your browser Shareable link
Input

Seconds, milliseconds and microseconds are detected automatically.

Result

No timestamp yet

Paste a Unix timestamp, or press Now to start from the current time. Every common representation is shown at once, so you can copy whichever you need.

Runs entirely in your browser. Your data isn't uploaded — this page makes no network request with anything you type, which you can verify in your browser's network tab. How this works.

What is the Unix Timestamp Converter?

A Unix timestamp is the number of seconds since 1 January 1970 UTC. Machines love it — it is a single sortable number with no time zone ambiguity — and humans cannot read it, which is why this conversion is one of the most common small tasks in debugging.

Paste a timestamp to get the date, or pick a date to get the timestamp. Results are shown in UTC, your local zone and any IANA zone you choose, in ISO 8601, RFC 2822 and relative ("3 hours ago") forms.

How to use it

  1. Paste a Unix timestamp, or use Now to start from the current time.
  2. The unit — seconds or milliseconds — is detected automatically; override it if the guess is wrong.
  3. Choose a time zone to display the result in.
  4. Copy whichever representation you need, or switch to the date-to-timestamp direction.

Example

A ten-digit timestamp converted, with the unit detected automatically.

Input
1788825600
Result
ISO 8601   2026-09-08T00:00:00Z
RFC 2822   Tue, 08 Sep 2026 00:00:00 +0000
Local      2026-09-08 07:00:00 (UTC+07:00)
Day        Tuesday, day 251 of 2026

Features

  • Both directions: timestamp to date and date to timestamp
  • Automatic unit detection for seconds, milliseconds and microseconds
  • UTC, local and arbitrary IANA time zone output
  • ISO 8601, RFC 2822, SQL datetime and relative time formats
  • Day of week, day of year and week number
  • Live-updating current timestamp

Frequently asked questions

Is my timestamp in seconds or milliseconds?
A ten-digit value is seconds; thirteen digits is milliseconds. As a quick check, a seconds value for any date in the 2020s starts with 1 and is ten digits long. The tool detects this and tells you which it assumed.
What is the year 2038 problem?
A signed 32-bit seconds counter overflows on 19 January 2038. Anything still storing time in a 32-bit integer breaks then. Modern systems use 64-bit values, which is safe for far longer than it matters.
Do Unix timestamps account for leap seconds?
No. Unix time pretends every day has exactly 86,400 seconds, so it repeats or stretches a second when a leap second occurs. This is why it is not suitable for high-precision interval measurement.
Why does my timestamp show a different date than my database?
Usually a time zone display difference rather than a stored-value one. Compare the UTC rendering on both sides before changing anything.
Esc

Loading the catalog…