Unix Timestamp Converter

Convert Unix time in seconds or milliseconds to a readable date, or turn a date into a timestamp. See UTC and your local time, and watch the current Unix time update live. Nothing is uploaded.

  • Seconds and milliseconds
  • UTC and local time
  • Live current timestamp

Current Unix time

Loading the current timestamp…

Unix time to date

Unit

Paste a timestamp in seconds or milliseconds. Auto picks milliseconds for 13-digit values.

Date to Unix time

Interpret as

Pick a date and time in UTC or your local timezone to get seconds and milliseconds.

A Unix timestamp converter turns an epoch value into a human-readable date and back again. Developers use these numbers in API payloads, log lines, JWT iat and exp claims, and database fields. Seconds since 1 January 1970 UTC are the usual form; JavaScript and many telemetry systems store milliseconds instead.

Paste a 10-digit or 13-digit number and this page shows the matching instant in UTC, your local timezone, ISO 8601, and RFC 2822. Or pick a date and time and copy the Unix time in seconds or milliseconds. Negative values work for dates before 1970. The live clock at the top is computed in this tab, so it stays in sync with your device.

Everything stays in the browser — no upload and no account. Need to pretty-print a payload that contains timestamps? Open the JSON formatter. Scheduling a job for a given instant? Use the cron expression generator. To read iat and exp claims, try the JWT decoder. For calendar math, open the date calculator. More utilities live on the Developer hub.

How to use the Unix timestamp converter

  1. Read or copy the live current timestamp in seconds or milliseconds.
  2. Paste a Unix value and leave Unit on Auto, or choose seconds or milliseconds.
  3. Check the UTC, local, ISO 8601, and RFC 2822 results, then copy what you need.
  4. To go the other way, pick a date and time and choose UTC or local time.
  5. Copy the seconds or milliseconds into your code, logs, or database. Nothing is stored.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp is the number of seconds (or milliseconds) that have passed since the Unix epoch, which is 00:00:00 UTC on 1 January 1970. It is a compact way to store and compare instants in logs, APIs, and databases.

What is the difference between seconds and milliseconds?

A 10-digit timestamp such as 1609459200 is almost always in seconds. A 13-digit value such as 1609459200000 is milliseconds. JavaScript’s Date.now() returns milliseconds. This converter’s Auto mode treats values of 1,000,000,000,000 or more as milliseconds.

How do I convert a Unix timestamp to a date?

Paste the number into Unix time to date. Leave Unit on Auto, or choose Seconds or Milliseconds if you already know the unit. The tool shows the instant in UTC, your local timezone, ISO 8601, and RFC 2822.

How do I convert a date to a Unix timestamp?

In Date to Unix time, pick a date and time and choose UTC or Local time. The result is shown in both seconds and milliseconds, ready to copy into code or a database.

Does this Unix timestamp converter use UTC or my local time?

Both. Every conversion lists the UTC time and your browser’s local time, including the timezone abbreviation. When you convert a date, you choose whether the fields should be read as UTC or as local time.

What is the current Unix timestamp?

The Current Unix time box at the top of this page updates live in your browser and shows both seconds and milliseconds, plus the matching UTC and local clock times. Use the copy buttons to grab either value.

Can I convert timestamps from before 1970?

Yes. Dates before the epoch use negative timestamps. For example, -1 is 23:59:59 UTC on 31 December 1969. Far-future and far-past values work up to the range your browser’s Date object supports.

Is my timestamp uploaded to a server?

No. Conversions, the live clock, and copy actions all run in this tab. Nothing is logged, stored, or uploaded, so it is safe for production logs and private tokens.