Skip to content
FestivKit

Unix Timestamp Converter

Switch between seconds and milliseconds, and read the same moment in local time, UTC, and ISO 8601.

Your data stays in your browser. This tool processes your input locally and does not upload it to a server.

Current timestamp: 1796074097

Local
Nov 30, 2026, 21:28:17
UTC
Mon, 30 Nov 2026 21:28:17 GMT
ISO 8601
2026-11-30T21:28:17.000Z
Seconds
1796074080
Milliseconds
1796074080000

What is a Unix timestamp?

A Unix timestamp is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, known as the Unix epoch. It is a single number with no time zone attached, which makes it a compact, unambiguous way for programs, databases and APIs to store and compare moments in time.

How this converter works

Paste a timestamp, choose seconds or milliseconds, and the tool shows the matching date three ways: in your local time zone, in UTC, and as an ISO 8601 string. In the other direction, pick a date and time and it returns the timestamp in both seconds and milliseconds. A live clock at the top shows the current timestamp in the unit you selected.

The conversion uses the JavaScript Date object built into your browser. Seconds are multiplied by 1000 before conversion, and the seconds value computed from a date is rounded down, so fractions of a second are dropped.

When to use a timestamp converter

Timestamps appear in log files, JWT exp and iat claims, database columns, cache headers and API responses. Converting them lets you check whether a token has expired, line up events across systems, or confirm that a value is in the unit you expect.

The date-and-time picker interprets your input in your own time zone, so the timestamp you get depends on where your browser thinks you are. The UTC and ISO lines stay identical for everyone. Everything runs in your browser and nothing you enter is sent to a server.

Examples

The epoch itself

Input

0 (seconds)

Output

UTC: Thu, 01 Jan 1970 00:00:00 GMT
ISO 8601: 1970-01-01T00:00:00.000Z

The Local line varies with your time zone.

A typical 10-digit timestamp

Input

1700000000 (seconds)

Output

UTC: Tue, 14 Nov 2023 22:13:20 GMT
ISO 8601: 2023-11-14T22:13:20.000Z

The same moment in milliseconds

Input

1700000000000 (milliseconds)

Output

UTC: Tue, 14 Nov 2023 22:13:20 GMT
ISO 8601: 2023-11-14T22:13:20.000Z

Entering this 13-digit value while the unit is set to seconds gives a date in the year 55840, a sign the unit is wrong.

Common mistakes and edge cases

  • Seconds versus milliseconds: 10-digit values (around 1.7 billion) are usually seconds, 13-digit values are milliseconds. JavaScript, Java and many JSON APIs use milliseconds; Unix tools, Python time.time() and most databases use seconds.
  • Time zones: a timestamp has no zone. Only the displayed local time changes with the viewer, so compare UTC or ISO output when debugging across machines.
  • The date picker is local: the same typed date and time produces different timestamps in different time zones, and daylight saving changes can shift the result by an hour.
  • Fractional seconds are dropped: the seconds result is rounded down, so use the milliseconds value when precision matters.
  • Leap seconds are not counted: Unix time treats every day as exactly 86,400 seconds.
  • Range limits: JavaScript Date only represents about 275,000 years either side of 1970, and values beyond that return an error.

How to use this tool

  1. Paste a timestamp or pick a date and time.
  2. Choose seconds or milliseconds and 12-hour or 24-hour display.
  3. Copy the format you need. The current timestamp stays live.

Frequently asked questions

How do I tell whether a timestamp is in seconds or milliseconds?

Count the digits. A current-era timestamp in seconds has 10 digits, for example 1700000000. In milliseconds it has 13 digits, for example 1700000000000. If a converted date lands in January 1970, you probably entered seconds while the unit was set to milliseconds. If it lands tens of thousands of years in the future, you entered milliseconds while the unit was set to seconds. Switch the Unit selector in the tool and check that the result looks sensible.

What is the Unix epoch?

The Unix epoch is the reference point for Unix time: 00:00:00 UTC on Thursday, 1 January 1970. A timestamp of 0 is that instant, positive numbers are later and negative numbers are earlier. POSIX defines the value as seconds since the Epoch, with every day counted as exactly 86,400 seconds, so leap seconds are not represented.

Why does my converted local time differ from my server logs?

The Local line uses your browser time zone, while servers often log in UTC. Both describe the same instant. Compare the UTC or ISO 8601 line from the converter against the log value. If they still differ by a whole number of hours, the log is probably written in another zone, or the timestamp was created from a local time without zone information.

What is the Year 2038 problem?

Systems that store Unix time as a signed 32-bit integer overflow after 2147483647 seconds, which is 03:14:07 UTC on 19 January 2038. After that the value wraps to a negative number. Modern systems use 64-bit integers, and JavaScript stores milliseconds in a 64-bit floating-point number, so this tool is not affected. You can paste 2147483647 to see the boundary moment.

Does this converter upload my data?

No. The conversion is done by your browser and nothing you type is sent anywhere. The live clock reads your device clock, so it is only as accurate as your system time.

References

Last reviewed

Related tools

Browse all tools