Unix Timestamp Converter — Convert Epoch Time to Human Dates
FreeConvert Unix timestamps to readable dates and dates to Unix timestamps instantly. Milliseconds and seconds. Any timezone. Free, browser-based.
What's next
Settings guide
Input type (auto-detected):
- ·Seconds (10-digit) — Standard Unix timestamp. Used by most Unix/Linux system calls, POSIX APIs, and database timestamp types.
- ·Milliseconds (13-digit) — JavaScript's
Date.now()output. Used by JavaScript APIs, many REST APIs, and event logging systems.
Timezone output:
- ·Convert to any IANA timezone (America/New_York, Europe/London, Asia/Tokyo, etc.)
- ·UTC offset display alongside the timezone name
- ·Show both UTC and local time simultaneously
Direction:
- ·Timestamp → date: paste any Unix timestamp
- ·Date → timestamp: select a date/time and get the corresponding Unix timestamp in seconds and milliseconds
Format comparison
Unix timestamp vs ISO 8601 string: Unix timestamps are timezone-agnostic (always UTC-relative) and compact — ideal for storage and computation. ISO 8601 strings (2026-01-15T14:30:00Z) are human-readable and self-documenting. APIs use both. Unix timestamps are preferable for arithmetic (duration = ts2 - ts1, no timezone conversions needed); ISO 8601 is preferable for display and interchange.
Seconds vs milliseconds — how to tell: Count the digits. A current timestamp in seconds is 10 digits (1700000000 was in November 2023). In milliseconds it is 13 digits (1700000000000). JavaScript's Date.now() always returns milliseconds; Python's time.time() always returns seconds (as a float).
How it works
Detect precision
The input is checked for length. 10 digits → seconds. 13 digits → milliseconds. Values between 10 and 13 digits are ambiguous — the tool flags this and asks.
Convert to UTC
The timestamp is multiplied or divided as needed to produce a millisecond value, then converted to a JavaScript Date object (which represents UTC internally).
Apply timezone
The UTC date is displayed in the selected timezone using the Intl.DateTimeFormat API with the IANA timezone database. Daylight saving time offsets are applied automatically.
Show all formats
The output shows: ISO 8601 UTC string, ISO 8601 in the selected timezone, human-readable long format, Unix timestamp in seconds, and Unix timestamp in milliseconds — all simultaneously.
About this format
Unix timestamps are the number of seconds (or milliseconds) elapsed since 1 January 1970 00:00:00 UTC. They appear in database columns, API responses, JWT tokens (`exp`, `iat` claims), server logs, and file system metadata. Paste a timestamp and see the human-readable date and time in any timezone — or enter a date and get the corresponding timestamp.
A common gotcha: some systems use milliseconds (13-digit timestamps), others use seconds (10-digit). The converter detects and handles both automatically.