SummaryLog

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates.

Current Unix Timestamp
1780403437
ms: 1780403437878

Timestamp → Date

Date → Timestamp

Logs, databases, and APIs store time as Unix timestamps: the number of seconds (or milliseconds) since January 1, 1970 UTC. That is great for machines but unreadable for humans. This converter turns a raw number like 1700000000 into the local time, UTC time, ISO 8601 string, and a relative phrase such as "2 months ago" so you can verify a record at a glance.

It works both ways. Paste a timestamp to decode it, or pick a date and time to get the matching epoch in seconds and milliseconds. It auto-detects whether your number is in seconds or milliseconds, runs entirely in your browser with no upload, and includes a live clock plus quick buttons for the current time, start of today, and start of the year.

How to use

  1. To decode a timestamp, paste the number (for example 1700000000) into the "Timestamp to Date" box. The tool auto-detects seconds vs milliseconds and shows local, UTC, ISO 8601, and relative time.
  2. To encode a date, use the "Date to Timestamp" picker to choose a date and time, or click Now, Start of Today, or Start of Year.
  3. Read the seconds and milliseconds values from the result rows and copy whichever your system expects.
  4. Click the Copy button next to any value to put it on your clipboard.
  5. Use the live Current Unix Timestamp at the top when you just need "now" as an epoch value.

FAQ

Does it accept seconds or milliseconds?
Both. When you decode a timestamp, the tool checks the magnitude: numbers below 1e12 are treated as seconds and larger numbers as milliseconds. When you encode a date, it shows both the seconds and milliseconds values so you can copy the one your system needs.
Why are the local time and UTC time different?
Unix timestamps have no timezone; they always count from 1970 UTC. The tool renders the same instant in your browser's local timezone and in UTC so you can confirm a log entry without doing the offset math yourself.
What does the relative time line mean?
It expresses the distance between the timestamp and right now in plain language, like "5 minutes ago" or "in 3 days." It is handy for sanity-checking whether a recorded event is recent or stale.
Is my data sent to a server?
No. All parsing and formatting happen locally in your browser with JavaScript. Nothing you type is uploaded, which makes it safe for timestamps from internal logs or private systems.