Paste seconds or milliseconds—auto mode picks the unit from digit length.
Interpreted as seconds · in 0s
ISO-like strings work best (e.g. 2024-01-15T12:00:00Z).
Help Us Improve
—
(—)
Unix timestamp to date converter
Convert Unix timestamps to dates (UTC & local). Seconds or ms auto-detected. Local-first—no signup.
What is a Unix timestamp converter?
Timestamp converter features
Instant conversion
Results update as you type—no submit step.
Auto seconds / ms
Digit length detects common epoch formats; override anytime.
UTC, local, ISO
Copy the format that matches your logs or APIs.
Date → epoch
Turn a human date into seconds, or snap to now.
How to convert timestamp to date
Paste the timestamp
Drop in seconds or milliseconds from logs, APIs, or databases.
Confirm the unit
Leave Auto, or force seconds / milliseconds if the guess is wrong.
Copy the date
Grab UTC, local, ISO, or the normalized epoch values.
Tips for Unix timestamps
- 01
Check digit length
A 13-digit value treated as seconds lands centuries ahead—switch to milliseconds.
- 02
Prefer ISO for APIs
ISO 8601 (…Z) is unambiguous across time zones.
- 03
Local vs UTC
Local uses your browser zone; UTC matches most server logs.
- 04
Y2038 on 32-bit
Signed 32-bit second counters overflow in 2038—prefer 64-bit storage in new systems.
Great for
Debugging logs
Turn opaque epoch fields into wall-clock times.
API payloads
Verify created_at / expires_at integers against ISO strings.
Data analysis
Spot-check CSV or JSON timestamps before charting.
Why convert here
Local-first
Timestamps never leave the browser for this tool.
Free
Unlimited conversions with no signup.
Bidirectional
Epoch → date and date → epoch in one place.
Clear units
See whether the value was read as seconds or milliseconds.
Technical notes
- Engine
- Browser Date — same clock your front-end code uses.
- Auto unit
- Absolute digit length ≥ 11 → milliseconds; otherwise seconds.
- Safe integers
- Rejects values outside Number.isSafeInteger before constructing Date.
- Privacy
- Client-side only—no network upload.
Sources & References
“JavaScript Date objects represent a single moment in time in a platform-independent format. Date objects encapsulate an integral number that represents milliseconds since the midnight at the beginning of January 1, 1970, UTC.”
MDN — Date: Defines the millisecond epoch model this converter uses for display formats. developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
“The Date.now() static method returns the number of milliseconds elapsed since the epoch, which is defined as the midnight at the beginning of January 1, 1970, UTC.”
MDN — Date.now(): Documents the millisecond Unix timestamp format common in browsers and APIs. developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now
“Unix time is a date and time representation widely used in computing. It measures time by the number of non-leap seconds that have elapsed since 00:00:00 UTC on 1 January 1970.”
Wikipedia — Unix time: Background on epoch seconds, leap-second conventions, and the Year 2038 problem. en.wikipedia.org/wiki/Unix_time