Unix Timestamp Converter
Convert Unix timestamps into readable dates. Paste a value in seconds or milliseconds and see it in UTC, your local time and ISO 8601.
What is a Unix timestamp?
A Unix timestamp is the number of seconds that have passed since 00:00:00 UTC on 1 January 1970, a moment known as the Unix epoch. Because it is one plain number, it does not depend on time zones, calendars or daylight saving time, which makes it a reliable way for programs, databases and APIs to store and compare moments in time.
Leap seconds are not counted, so every day is exactly 86,400 seconds long in Unix time. Dates before 1970 are negative numbers: -86400 is 31 December 1969.
How does Unix time work?
Most systems store the timestamp in seconds, which is 10 digits today, like 1790000000. JavaScript, Java and many web APIs use milliseconds instead, which is 13 digits, like 1790000000000. The Auto setting treats values with 12 or more digits as milliseconds and everything else as seconds. Switch to Seconds or Milliseconds when you know the unit.
Want the background? Read our comprehensive guide: What Is Unix Time?.
How to use this tool
- Paste or type a Unix timestamp into the field. Negative numbers and decimals such as 1790000000.5 work too.
- Leave Unit on Auto, or choose Seconds or Milliseconds.
- Select Convert. The result shows UTC, your local time and ISO 8601.
- Use the Copy button next to a value, or select Current Timestamp to convert the present moment.
Examples
These examples use the Auto unit setting. Results are shown in UTC so they are the same for everyone.
The Unix epoch
0 (seconds)
- UTC
- 1970-01-01 00:00:00 UTC
- ISO 8601
- 1970-01-01T00:00:00.000Z
A timestamp in seconds
1790000000 (seconds)
- UTC
- 2026-09-21 14:13:20 UTC
- ISO 8601
- 2026-09-21T14:13:20.000Z
A timestamp in milliseconds
1790000000123 (milliseconds)
- UTC
- 2026-09-21 14:13:20.123 UTC
- ISO 8601
- 2026-09-21T14:13:20.123Z
Twelve or more digits are detected as milliseconds.
A negative timestamp
-86400 (seconds)
- UTC
- 1969-12-31 00:00:00 UTC
- ISO 8601
- 1969-12-31T00:00:00.000Z
Negative values are moments before 1 January 1970.
Frequently Asked Questions
What is the Unix timestamp for right now?
How do I know if a timestamp is in seconds or milliseconds?
Does a Unix timestamp include a time zone?
Which dates can the converter handle?
Related tools
- Epoch ConverterSee epoch seconds and milliseconds side by side, with UTC and local time.
- Timestamp to DateReadable date, weekday, day of year and ISO week from a timestamp.
- Date to TimestampConvert a date, time and time zone into a Unix timestamp.
- Milliseconds to DateConvert Unix milliseconds, such as Date.now() values, to a date.
- Unix to ISO 8601Get an ISO 8601 string in UTC or with your local offset.