Unix Timestamp Converter
Convert Unix time to dates and back.
Use the Unix Timestamp Converter tool
What this unix timestamp converter does
Unix time counts the seconds since 1 January 1970 at 00:00 UTC, ignoring leap seconds. This converter turns a timestamp into an ISO 8601 string, a UTC date and your local time, and turns a chosen local date and time back into seconds and milliseconds.
Auto-detect uses magnitude: current timestamps in seconds are around ten digits, while the same moment in milliseconds is thirteen. A value of 100 billion or more is treated as milliseconds, which separates the two ranges for any realistic date.
Why use it
- Read a timestamp from a log, token or database.
- Generate an expiry value for an API request.
- Check whether a value is in seconds or milliseconds.
How to use it
- 1Paste a timestamp and choose auto, seconds or milliseconds.
- 2Read the ISO, UTC and local representations.
- 3For the reverse direction, pick a date and time and copy the seconds value.
Worked examples
Epoch
Input
0 seconds
Output
1970-01-01T00:00:00.000Z
Recent timestamp
Input
1700000000
Output
2023-11-14T22:13:20.000Z
Common mistakes
- Sending seconds to an API that expects milliseconds, producing a date in 1970.
- Forgetting that the local representation depends on the browser's time zone.
- Assuming Unix time accounts for leap seconds; it does not.
Frequently asked questions
How do I tell seconds from milliseconds?
What time zone is the displayed date in?
Do negative timestamps work?
Related tools
All toolsTime Zone Converter
Convert meeting times across time zones.
Date Difference Calculator
Days, weeks and weekdays between two dates.
Age Calculator
Exact age plus a next-birthday countdown.
Percentage Calculator
Percent of a number, percent share and percent change.