Unix Timestamp Converter — Seconds & Milliseconds to Date

Translate Unix epoch timestamps into human-readable dates, or convert dates back into Unix time.

Date/time → Unix timestamp
Uses your local timezone for the input.
Unix (seconds)
1782321360
Unix (milliseconds)
1782321360000
ISO 8601 (UTC)
2026-06-24T17:16:00.000Z
Unix timestamp → Date/time
Accepts seconds (10 digits) or milliseconds (13 digits).
Local
6/24/2026, 5:16:35 PM
ISO 8601 (UTC)
2026-06-24T17:16:35.000Z
Tip: paste the ISO output into logs, or use the local value for quick debugging.
Privacy note: All processing happens entirely in your browser. No data is sent to our servers.

About this tool

The Unix Timestamp Converter converts between Unix epoch time (seconds since January 1, 1970 UTC) and human-readable dates. It works in both directions: paste a Unix timestamp to get a readable date, or pick a date to get its Unix timestamp. Supports both seconds (10 digits) and milliseconds (13 digits).

Common use cases

  • Decoding JWT token exp and iat claims
  • Converting API response timestamps to readable dates
  • Debugging log timestamps in production systems
  • Checking if a cache or session has expired
  • Verifying database timestamp columns

How to use

  1. Paste any Unix timestamp (seconds or milliseconds) into the input — it converts automatically.
  2. Or pick a date and time to get the corresponding Unix timestamp in both seconds and milliseconds.
  3. Copy the ISO 8601, local, or Unix output with one click.

This page is available at /tools/timestamp-unix-time-converter/.

Understanding the result

  • 10-digit values are usually seconds since epoch; 13-digit are milliseconds—mixing them causes 1970 or far-future dates.
  • ISO 8601 output is UTC-based with Z suffix unless local offset is shown separately.
  • Human dates convert back to both second and millisecond timestamps for API compatibility.
  • Leap seconds and timezone labels are separate concerns—Unix time is UTC-based counting.

FAQ

Why do some timestamps have 10 digits and others 13?

10-digit timestamps are in seconds. 13-digit timestamps are in milliseconds (used by JavaScript's Date.now()). Divide a 13-digit timestamp by 1000 to get the seconds version.

What is Unix epoch time?

Unix epoch is January 1, 1970 at 00:00:00 UTC. All Unix timestamps count seconds from that moment. It was chosen as a universal reference point when Unix was designed in the late 1960s.

When will Unix timestamps run out?

32-bit Unix timestamps overflow on January 19, 2038 — known as the Year 2038 problem. Most modern systems use 64-bit timestamps which won't overflow for billions of years.

Is Unix time the same in all timezones?

Yes. Unix timestamps are always UTC — they have no timezone. The conversion to a human-readable date is where timezone matters. 1700000000 is the same instant everywhere on Earth, but it displays as different local times.

How do I convert a Unix timestamp in JavaScript?

Use new Date(timestamp * 1000).toISOString() for seconds, or new Date(timestamp).toISOString() if already in milliseconds.