Free & private

Unix Timestamp Converter

Convert Unix (epoch) timestamps to readable dates, or dates back to timestamps, in seconds or milliseconds, with UTC and your local time side by side.

Live current time
Seconds-
Milliseconds-
ISO (UTC)-

Timestamp → date

Enter seconds or milliseconds — we auto-detect which.

Date → timestamp

Pick a date and time in your local timezone.

How to use the Unix timestamp converter

This free tool converts between Unix (epoch) timestamps and human-readable dates in both directions. Everything runs locally in your browser, so nothing you enter is uploaded or stored.

1. Paste a timestamp

Enter a timestamp in the left panel; the tool auto-detects seconds or milliseconds.

2. Or pick a date

Use the right panel to choose a local date and time and get its timestamp.

3. Read both time zones

Results show UTC and your browser's local time side by side.

Understanding Unix timestamps

A Unix timestamp counts seconds (or milliseconds) since January 1, 1970 at 00:00:00 UTC, sometimes called the epoch. It is a compact, time-zone-independent way for computers to store and compare moments in time, widely used in logs, APIs and databases.

Seconds vs milliseconds

JavaScript's Date object uses milliseconds; many APIs and Unix tools use seconds. A 10-digit number is usually seconds; 13 digits is usually milliseconds.

Why UTC matters

Timestamps themselves have no time zone. Converting to a readable date always requires choosing a zone — UTC or your local one.

Negative timestamps

Timestamps before 1970 are represented as negative numbers and are handled the same way by this converter.

What is a Unix timestamp?

A Unix timestamp (or epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970, not counting leap seconds. Many systems also use milliseconds since that same epoch.

How does this tool know if my timestamp is in seconds or milliseconds?

It looks at how many digits the number has. Timestamps around 10 digits are treated as seconds, while timestamps around 13 digits are treated as milliseconds, since millisecond timestamps are roughly 1,000 times larger.

Does this tool account for time zones?

Yes. Results are shown in both UTC and your browser's local time zone, which is detected automatically from your device settings.

Is my data sent anywhere?

No. All conversions happen locally in your browser using JavaScript. Nothing is uploaded or stored.