TFT

Unix Timestamp Converter

Instantly convert Unix timestamps to readable dates and times. This free tool handles seconds and milliseconds, works in any timezone, and lets you format dates your way. Get the current timestamp with one click.

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa.

Current Unix Timestamp

1795701449

Timestamp to Date

Date to Timestamp

How it works

A Unix timestamp is the number of seconds that have passed since 00:00:00 UTC on 1 January 1970, a moment known as the Unix epoch. It is a single integer, so it is easy to store, sort and compare, which is why databases, APIs, log files and JWTs use it so often.

The tool has two halves. In Timestamp to Date, type or paste a timestamp in seconds. The input accepts digits only, and the result appears as you type in three forms: your local time, UTC, and ISO 8601. In Date to Timestamp, pick a date and time with the date picker and you get the matching value in both seconds and milliseconds. Each of those can be copied with one click.

The box at the top shows the current Unix timestamp as of when the page loaded. Its button copies nothing by itself. It drops that value into the Timestamp to Date input so you can see what it means right away.

All conversion happens in your browser using the standard JavaScript Date object. Nothing you enter is sent to a server.

When this is useful

Most often it is a quick sanity check. A log line says 1711234567 and you want to know if that was before or after the deploy. An API response has an expires_at field and you need to know if the token is still valid. A database column holds epoch seconds and you need to write a query for yesterday.

The reverse direction helps when you need to hard-code a value, such as a cache expiry, a scheduled job time or a test fixture. Pick the date, copy the seconds or milliseconds, and paste it into your code.

Things to know

  • Seconds, not milliseconds. The Timestamp to Date input expects seconds. JavaScript, Java and many APIs use milliseconds, which are 13 digits for current dates. If you paste one of those here, the date will land tens of thousands of years in the future. Divide by 1000 first, or use the milliseconds converter linked below.
  • Date picker is in your local time. The Date to Timestamp half reads the picker value in your browser time zone. Two people in different zones who pick the same wall-clock time will get different timestamps. That is correct, since they mean different instants.
  • Whole numbers only. Fractional seconds and negative timestamps (dates before 1970) cannot be typed into the input.
  • The 2038 limit. Systems that store the value in a signed 32-bit integer overflow at 2147483647, which is 19 January 2038. This page uses JavaScript numbers, so it handles larger values fine.
  • Leap seconds are ignored. Unix time treats every day as exactly 86,400 seconds.

Frequently asked questions

Is a Unix timestamp the same in every time zone?

Yes. It counts from a fixed moment in UTC, so the same number identifies the same instant everywhere. Only the way it is displayed changes with the zone.

How do I tell seconds from milliseconds?

By length. Current dates are 10 digits in seconds and 13 digits in milliseconds.

What does timestamp 0 mean?

It is the epoch itself, 1 January 1970 00:00:00 UTC.

Is my data stored anywhere?

No. The page does the math locally and does not send or save your input.