Unix Timestamp Converter
Free Unix timestamp converter: turn epoch time in seconds or milliseconds into a date in UTC, local time and ISO 8601, or convert a date back to a timestamp.
Timestamp to date
| UTC | |
|---|---|
| Your time zone | |
| ISO 8601 (UTC) | |
| ISO 8601 (local offset) | |
| Relative |
Date to timestamp
Everything happens in your browser. Nothing is uploaded.
Turn Unix timestamps into dates, and back
Computers often store time as a single number: the count of seconds since midnight UTC on 1 January 1970, known as the Unix epoch. You meet these numbers in logs, databases, APIs, JWT tokens and spreadsheets exported from apps. This converter shows the current Unix time live, turns any timestamp into a readable date in UTC and in your own time zone, and converts a date you pick back into seconds and milliseconds.
How to use it
- The top line shows the Current Unix time (seconds) and Milliseconds, updated every second. Click Copy to grab it.
- Under Timestamp to date, paste a number into Unix timestamp. Leave Unit on Detect automatically, or choose Seconds or Milliseconds.
- Read the result in UTC, Your time zone, ISO 8601 (UTC), ISO 8601 (local offset) and Relative time, such as “in 3 days”.
- Under Date to timestamp, choose a Date and time, say whether The date is in UTC or My local time, and read the timestamp. Use current time fills in now.
How it works
- Unix time counts seconds from 1970-01-01T00:00:00Z. It ignores leap seconds, so every day is exactly 86,400 seconds, as defined by POSIX.
- Units: a 10-digit number today is seconds, and 13 digits is milliseconds (used by JavaScript and Java). Automatic detection treats any value of 100,000,000,000 or more as milliseconds, because in seconds that would be after the year 5000.
- Negative numbers are dates before 1970. Timestamps themselves have no time zone; the zone only matters when you show them as a date.
- Your time zone and its daylight-saving rules come from your device settings, so the local result matches your computer’s clock.
Worked example
Paste 1767225600. The converter detects seconds and shows Thursday, 1 January 2026, 00:00:00 UTC (ISO 8601: 2026-01-01T00:00:00Z). The same moment is 03:00 on 1 January in Istanbul (UTC+3) and 19:00 on 31 December 2025 in New York (UTC−5 in winter). In milliseconds it is 1767225600000. Now try 2147483647, the largest value a signed 32-bit integer can hold: it is 2038-01-19T03:14:07Z. One second later, old 32-bit systems overflow; this is the “Year 2038 problem”.
Common pitfalls
The most frequent mistake is mixing seconds and milliseconds: a millisecond value read as seconds lands tens of thousands of years in the future, and a seconds value read as milliseconds lands in January 1970. If a date looks absurd, check the unit. Also watch time zones in the reverse direction: “1 January 2026 00:00” gives a different timestamp in UTC than in your local time. Databases and APIs normally expect UTC.
Planning across countries? The Time Zone Converter compares clocks in several cities, and the Date Difference Calculator counts the days between two dates.
Frequently asked questions
What is the Unix epoch?
It is 00:00:00 UTC on 1 January 1970, the moment Unix time counts from. A timestamp of 0 is exactly that moment.
Seconds or milliseconds?
Unix and most databases use seconds (10 digits today). JavaScript, Java and many APIs use milliseconds (13 digits). Automatic detection handles both.
Does Unix time include leap seconds?
No. Each day is counted as 86,400 seconds, so Unix time is not an exact count of elapsed SI seconds.
What is the Year 2038 problem?
Systems that store time as a signed 32-bit number can only reach 2147483647, which is 19 January 2038 at 03:14:07 UTC. After that the value overflows. Modern systems use 64-bit time.
Can I convert dates before 1970?
Yes. Enter a negative timestamp, or pick an earlier date in the date to timestamp section.
Is anything sent to a server?
No. All conversions run in your browser using your device clock and time zone.