Convert Unix epoch timestamps in seconds, milliseconds, microseconds, or nanoseconds into human-readable UTC, local, and IANA timezone dates—or convert calendar dates back into Unix time. Includes a live epoch clock, period boundary calculator, timestamp duration diff, and local CSV batch converter.
Automatically calculated from the timestamp converted in Panel 1.
Paste one timestamp per line or upload a single-column CSV file. Supports seconds, milliseconds, microseconds, and nanoseconds.
| # | Raw Input | Detected Unit | Unix Seconds | UTC ISO 8601 | Status |
|---|---|---|---|---|---|
| Click "Process Batch" or "Load Sample Batch" to view results. | |||||
exp (expiration), iat (issued at), and nbf (not before) claims in JSON Web Tokens.How Unix Time Works: Unix time (also known as POSIX time or Epoch time) counts the number of non-leap seconds elapsed since 1970-01-01T00:00:00Z (midnight UTC on January 1, 1970). Negative values represent dates prior to 1970.
Precision & Technical Limitations: Native JavaScript Date objects store timestamps at millisecond resolution within a range of plus or minus 8,640,000,000,000,000 milliseconds (approximately 273,790 years before or after 1970). When you enter 16-digit microseconds or 19-digit nanoseconds, this tool converts the millisecond portion into calendar dates and explicitly preserves your sub-millisecond remainder so no digits are silently lost. Standard POSIX timestamps do not count leap seconds.
100% Local Browser Privacy: All single conversions, timezone lookups, and CSV batch files are processed exclusively inside your browser using vanilla JavaScript. Your timestamps and files are never uploaded to SYCAGO or any external server.
A Unix timestamp is a numeric count of seconds (or milliseconds) that have elapsed since January 1, 1970 at 00:00:00 UTC, excluding leap seconds. It provides a timezone-independent integer representation of a specific moment in time.
No. A Unix timestamp is always anchored to UTC. At any given instant, the Unix timestamp is identical in New York, London, Tokyo, and New Delhi. Only the formatted human-readable clock string changes when you apply a local timezone offset.
For modern dates (between 2001 and 2286), a timestamp in seconds has 10 digits (e.g., 1792245960), milliseconds has 13 digits, microseconds has 16 digits, and nanoseconds has 19 digits. Our tool combines digit structure and numeric magnitude checks to auto-detect the unit while allowing manual overrides.
Dates prior to 1970-01-01T00:00:00Z are represented as negative integers. For example, -86400 represents December 31, 1969 at 00:00:00 UTC, and -14182940 represents the Apollo 11 Moon landing on July 20, 1969 at 20:17:40 UTC.
Legacy systems that store Unix timestamps as signed 32-bit integers can only count up to 2,147,483,647 seconds, which corresponds to January 19, 2038 at 03:14:07 UTC. One second later, a 32-bit signed integer overflows into a negative number. Modern 64-bit operating systems, databases, and this converter support timestamps far beyond 2038.
If a timestamp converts to a year like 56,790, a 13-digit millisecond timestamp (such as JavaScript's Date.now() output) was mistakenly interpreted as seconds. Switch the Input Unit selector to Auto-Detect or Milliseconds (ms).
JavaScript's Date.now() and new Date(ms) use milliseconds (1/1000th of a second) by default. To get Unix seconds in JavaScript, run Math.floor(Date.now() / 1000). By contrast, PHP's time() and Python's time.time() return seconds by default.
No. Standard POSIX Unix time defines every day as having exactly 86,400 seconds. When an astronomical leap second occurs, POSIX clocks either repeat a second or smear the leap second across a window so integer math remains predictable.
During a "spring forward" DST transition, one local hour (typically 02:00 to 02:59) does not exist in that timezone. When you enter a non-existent local hour in Local mode, the tool detects the browser's hour adjustment and displays a DST transition warning.
Standard JavaScript Date constructors silently roll February 30 into March 2, which often causes bugs. Our converter explicitly verifies the year, month, and day after construction and rejects non-existent calendar dates with a clear error message.
Browser JavaScript Date objects only store millisecond precision. When you enter a 16-digit microsecond or 19-digit nanosecond value, the converter extracts and displays the exact sub-millisecond digits separately so precision is never silently discarded.
Use SELECT FROM_UNIXTIME(1792245960); to convert Unix seconds into a DATETIME value, and SELECT UNIX_TIMESTAMP('2026-10-17 12:00:00'); to convert a date into Unix seconds.
Use SELECT to_timestamp(1792245960) AT TIME ZONE 'UTC'; to convert Unix seconds to a UTC timestamp, and SELECT EXTRACT(EPOCH FROM TIMESTAMP WITH TIME ZONE '2026-10-17 12:00:00+00'); to extract Unix seconds.
To convert Unix seconds in cell A2 to a UTC spreadsheet date, use the formula =(A2 / 86400) + DATE(1970, 1, 1) and format the cell as Date/Time. For millisecond timestamps, divide by 86400000 instead of 86400.
ISO 8601 (such as 2026-10-17T12:00:00.000Z) is the international standard for human-readable date-time strings. The trailing "Z" indicates zero offset from UTC (Zulu time), making it unambiguous across APIs and databases.
When querying database tables indexed by an integer timestamp column, filtering with WHERE created_at BETWEEN 1792195200 AND 1792281599 is much faster than applying date functions to every row.
Yes. Python's time.time() and NGINX logs frequently output floating-point seconds with fractional milliseconds. Our parser detects decimal timestamps as seconds and converts the fractional part into milliseconds.
You can paste multiple timestamps (one per line) or upload a .csv or .txt file. The tool parses each row locally, auto-detects the unit, generates the corresponding Unix seconds and ISO 8601 UTC string, and lets you download a formatted CSV file.
Never. The file is read directly in your browser's memory via the HTML5 FileReader API and exported using a local Blob URL. No network request is made.
Following the ECMAScript specification, the converter supports timestamps up to plus or minus 8,640,000,000,000,000 milliseconds from the 1970 epoch, covering years from approximately -271,821 BCE to +275,760 CE.
When Ken Thompson and Dennis Ritchie developed Unix at Bell Labs in the early 1970s, they needed a convenient, recent, round reference date for 32-bit time counters and selected midnight on January 1, 1970 as the Unix Epoch.
Continue your workflow with our other free browser-based utilities:
s), Milliseconds (ms), Microseconds (µs), or Nanoseconds (ns), choose your target IANA timezone, and click Convert Timestamp..csv or .txt file in Panel 5 (or paste one timestamp per line) and click Process Batch to inspect and download the converted CSV table.0): Converts to 1970-01-01T00:00:00.000Z.-14182940): Converts accurately to 1969-07-20T20:17:40.000Z.1792245960123456): Normalizes to 2026-10-17T14:06:00.123Z while explicitly preserving the 456 µs sub-millisecond remainder.JavaScript Date objects natively resolve to millisecond precision across plus or minus 8.64e15 milliseconds from January 1, 1970 UTC. When you enter microsecond or nanosecond values, this tool extracts and displays the exact sub-millisecond digits separately so precision is never silently discarded. All conversions and CSV file uploads run 100% locally in your browser without sending data to any server.
A 13-digit millisecond timestamp (such as 1792245960000) interpreted as seconds multiplies the date by 1,000. Leave the unit selector on Auto-Detect Unit or select Milliseconds (ms).
No. A Unix timestamp always represents a single global UTC instant; only the formatted wall-clock representation changes when viewed in different IANA timezones.