Unix Timestamp Converter
Convert Unix time to readable dates, or convert dates back into Unix timestamps. Supports seconds, milliseconds, UTC display, and local time display.
Unix Timestamp Converter tool
If results look off by several hours, check whether you are viewing UTC or local time.
| Field | Value |
|---|
How Unix timestamp conversion works
Unix time counts elapsed time from the Unix epoch: 1970-01-01 00:00:00 UTC. Many APIs, logs, databases, and event systems store time as Unix seconds or Unix milliseconds.
- Timestamp → Date: interpret the value as seconds or milliseconds since the Unix epoch
- Date → Timestamp: build a date and time, then convert it into Unix seconds or milliseconds
- UTC vs Local: UTC is timezone-independent; local time depends on your browser or device settings
- Common mistake: treating a 13-digit millisecond timestamp as seconds, or a 10-digit seconds timestamp as milliseconds
If a converted date looks far in the future or near 1970 unexpectedly, the timestamp unit is probably wrong.
Examples
- 1700000000 → interpreted as Unix seconds when auto-detected
- 1700000000000 → interpreted as Unix milliseconds when auto-detected
- 2026-01-01 00:00:00 → convert a date/time into Unix seconds or milliseconds
- UTC vs Local: compare the same timestamp in a fixed UTC view and your local timezone
FAQ
- What is a Unix timestamp?
A Unix timestamp is the number of seconds or milliseconds elapsed since 1970-01-01 00:00:00 UTC, also known as the Unix epoch.
- Seconds vs milliseconds: what is the difference?
Seconds timestamps are often 10 digits for modern dates. Milliseconds timestamps are often 13 digits. This tool can auto-detect or let you choose the unit.
- Does this show UTC or local time?
You can choose either UTC or local time. UTC is consistent across time zones, while local time uses your device or browser timezone.
- Why is my converted date different from another site?
The most common reasons are timezone selection and whether the timestamp is interpreted as seconds or milliseconds.
- Can this convert dates back into Unix timestamps?
Yes. Use Date/Time → Timestamp mode to generate Unix seconds or Unix milliseconds from a selected date and time.
- Are my inputs stored?
No. The conversion runs locally in your browser and your input is not sent to a server.