Unix Timestamp Converter
Convert a Unix timestamp to a readable date and time in UTC and in your own time zone, or turn an ISO 8601 date with a time-zone offset into Unix time. Unix time (epoch time) counts the seconds since 1 January 1970 00:00:00 UTC; many systems store it in milliseconds instead. You choose the unit explicitly, dates before 1970 work as negative numbers, and everything is calculated in your browser.
- Free to use
- No account required
- Calculated in your browser
Unix Timestamp Converter
Was this tool helpful?
Good to know
- Useful for
- Reading timestamps in logs, databases and APIs, checking JWT exp and iat claims, writing test data, comparing seconds and milliseconds values, and converting a date in any time zone to Unix time.
- Accepts
- A Unix timestamp in seconds (up to 3 decimal places) or milliseconds, or an ISO 8601 date-time with Z or a ±HH:MM offset (±HH:MM:SS for historical offsets); up to 64 characters
- Produces
- Unix seconds and milliseconds, ISO 8601 in UTC and in your time zone, and readable UTC and local dates
Privacy
Timestamps and dates are converted in your browser. They aren't uploaded, logged, sent to analytics or saved in browser storage, cookies or the page address, and reloading the page clears them.
Limitations
- The unit is never guessed. 1700000000 in seconds is 14 November 2023, but in milliseconds it is 20 January 1970; a note appears when a value looks like it may be in the other unit.
- Dates are limited to the range JavaScript can represent exactly: ±8,640,000,000,000 seconds from 1970 (about 271,821 BC to AD 275,760), using the proleptic Gregorian calendar.
- Precision is one millisecond. More decimal places are rejected rather than rounded, and leap seconds (23:59:60) can't be expressed in Unix time.
- Date input must include an offset (Z, ±HH:MM, or ±HH:MM:SS for historical local mean time). Times without one aren't read in your time zone, and other formats such as 11/14/2023 aren't accepted.
- Local times follow your browser's time-zone rules, and Current timestamp reads this device's clock, which may be wrong or adjusted.
Tips
- Current timestamps have 10 digits in seconds and 13 in milliseconds.
- JWT exp, nbf and iat claims are Unix seconds: the JWT Decoder (/security/jwt-decoder) interprets them for you.
- Need other unit conversions? Use the Unit Converter (/convert/unit-converter).
How to convert between Unix timestamps and dates
- Choose Timestamp → date or Date → timestamp.
- For a timestamp, select Seconds or Milliseconds, then type the number. For a date, type it in ISO 8601 with Z or an offset, for example 2023-11-14T22:13:20Z.
- Press Convert, or press Current timestamp to use this device's clock.
- Read the UTC and local dates, and copy the seconds, milliseconds or ISO 8601 values you need.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp, also called epoch time or POSIX time, is the number of seconds that have passed since 1 January 1970 at 00:00:00 UTC, not counting leap seconds. For example, 1700000000 is Tuesday, 14 November 2023, 22:13:20 UTC. It describes one instant everywhere in the world, independent of time zones.
How do I convert a Unix timestamp to a date?
Choose Timestamp → date, select Seconds or Milliseconds, type the timestamp and press Convert. The tool shows the date and time in UTC and in your browser's time zone, plus ISO 8601 text you can copy. For example, 0 is Thursday, 1 January 1970, 00:00:00 UTC.
Is my timestamp in seconds or milliseconds?
For current dates, a timestamp in seconds has 10 digits (such as 1700000000) and one in milliseconds has 13 (such as 1700000000000). The tool never guesses: you choose the unit, and it shows a note if the value looks like it may be in the other one. Reading milliseconds as seconds gives a date thousands of years away, and the reverse gives a date in early 1970.
How do I convert a date to a Unix timestamp?
Choose Date → timestamp and type the date in ISO 8601 format with a time-zone offset, for example 2023-11-14T22:13:20Z for UTC or 2023-11-15T03:43:20+05:30 for India. Both give 1700000000. The offset is required, because the same clock time means different instants in different places.
Can Unix timestamps be negative?
Yes. Negative timestamps are dates before 1970: -1 is 31 December 1969, 23:59:59 UTC, and -86400 is one day before the epoch. This tool supports dates back to about 271,821 BC and forward to AD 275,760, the full range of JavaScript dates.
What is the difference between UTC and my local time?
UTC is the world's reference time and has no daylight saving time. Your local time is UTC plus your time zone's offset at that date, which can change with daylight saving time: for example, New York is UTC-05:00 in winter and UTC-04:00 in summer. A Unix timestamp is the same everywhere; only its local display differs.
Why does my converted time differ by a few hours?
Usually because a date was read in the wrong time zone, or a timestamp was in the wrong unit. This tool requires an explicit offset (Z or ±HH:MM) for date input and shows both UTC and your local time, so you can see which one you need. Also check whether the system that produced the timestamp used seconds or milliseconds.
Is the current timestamp accurate, and is my data uploaded?
Current timestamp reads your device's clock at the moment you click, so it is only as accurate as that clock, and it doesn't update by itself. All conversions run in your browser: nothing you enter is uploaded, logged, sent to analytics or saved in browser storage, cookies or the page address.
Related converters and calculators
Related guides
- 8 min readUnix Timestamps in Seconds vs. Milliseconds: How to Tell Them Apart and ConvertA date in 1970 means seconds were read as milliseconds; a far-future year means the reverse. See which systems use which unit, tested examples, fractions, negative values, 2038 and missing offsets.
- 6 min readWhy Your Calculator Gives the Wrong Sine: Degrees vs. RadiansGetting −0.988 for sin(30)? Your calculator is in radian mode. Spot the mix-up from the answer, switch mode or multiply by π/180, and avoid the same trap in spreadsheets and code.
- 7 min readPercentage Change vs. Percentage Points: How to Tell Them ApartA rate rising from 4% to 5% is up 1 percentage point and 25% in relative terms. Tested examples for interest rates, basis points, risks and changes from 0.

