Unix Timestamp Converter

Convert a Unix epoch (seconds or milliseconds) to a human date and back - local time or UTC.

ISO 8601-
UTC-
Local-
Relative-
Seconds-
Millis-

What is a Unix timestamp?

A Unix timestamp, or epoch time, is the number of seconds since 00:00:00 UTC on 1 January 1970, ignoring leap seconds. Because it is a single integer with no timezone attached, it is the standard way programs, databases and APIs store a moment in time. Some systems count in milliseconds instead, which is why you will see both 10-digit and 13-digit values.

This converter goes both ways. Paste an epoch value to read it as an ISO 8601 date and a human-friendly form, or pick a date to get its timestamp. It resolves everything against your browser clock and shows local time and UTC together, so cross-timezone debugging needs no mental math. Nothing is sent to a server.

How to use the timestamp converter

  • 1. Paste a timestamp to see the matching date - choose seconds or milliseconds.
  • 2. Or pick a date to get its timestamp.
  • 3. Hit Now for the current moment, and copy any value from the breakdown.

Features

  • Two-way conversion: epoch to date and date to epoch.
  • Handles both seconds and milliseconds.
  • Shows local time and UTC together, plus the ISO 8601 string.
  • One-click Now and copy buttons.
  • Runs in your browser - no data leaves your device.

When to use it

Use it to debug log lines that store epoch values, set token or cookie expiry, sanity-check a created_at column, or convert a date a third-party API expects in epoch seconds. It is the fast bridge between a number a machine likes and a date a human reads.

FAQ

What is the difference between seconds and milliseconds?

Unix time in seconds is a 10-digit number today, while milliseconds is 13 digits. JavaScript's Date.now() returns milliseconds, but most databases and APIs store seconds, so pick the right unit or the date is off by a factor of 1000.

What is the year 2038 problem?

Systems that store Unix time in a signed 32-bit integer overflow on 19 January 2038 and wrap to a negative date. Modern 64-bit timestamps avoid the issue.

Does it use my timezone or UTC?

Both. The converter shows the moment in your browser's local timezone and in UTC side by side, so you can read whichever you need.

How do I get the current timestamp?

Click Now. It reads your device clock and fills in the current epoch time, which you can then copy.

Related tools