Convert Unix timestamps (seconds or milliseconds) to ISO 8601, UTC, local time, and relative time. Free online epoch converter.
Unix timestamps are the lingua franca of APIs, databases, and log files — but raw epoch numbers are hard to read. This converter instantly translates between timestamps and human-readable dates.
The tool auto-detects whether your input is seconds (10 digits) or milliseconds (13 digits). You can also paste date strings in common formats and get the equivalent epoch values back.
Relative time ("3 days ago", "in 2 hours") helps you quickly gauge how far a timestamp is from the current moment — useful when triaging logs or checking token expiry.
All conversion runs locally in your browser. Timestamps from production systems, auth tokens, and private logs never leave your device.
A Unix timestamp is the number of seconds (or milliseconds) since January 1, 1970 00:00:00 UTC — the Unix epoch. It is timezone-independent and widely used in programming.
Pure numeric input with 13 or more digits is treated as milliseconds. Shorter numeric values are treated as seconds. Date strings are parsed by the browser Date parser.
ISO 8601 (2024-06-15T14:30:00Z), US formats (06/15/2024), and natural language (Jun 15, 2024 2:30 PM) are supported via the JavaScript Date parser.
Relative time expresses how far a date is from now — e.g. "2 hours ago" or "in 5 days". It uses the Intl.RelativeTimeFormat API for natural phrasing.
This calculator adds relative time and accepts date strings as input in a single field. The developer timestamp tool offers a dedicated date↔epoch UI with a "Now" button.
No. All conversion happens in your browser using JavaScript Date APIs.