Unix Timestamp Converter - Epoch to Date

Convert between Unix epoch timestamps and human-readable dates instantly. Supports seconds and milliseconds with timezone awareness.

Runs in your browser. No data leaves your device.

Frequently Asked Questions

How does the Unix Timestamp Converter work?

The live clock divides Date.now() by 1,000 and floors it every second. For timestamp-to-date conversion, the tool auto-detects seconds vs. milliseconds by checking if the input exceeds 1e12, then passes the value to the Date constructor. For date-to-timestamp, it constructs a Date from the input and divides getTime() by 1,000. All formats (UTC, local, ISO 8601) use the Date object's built-in formatting methods.

What is a Unix timestamp?

A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC. It is a standard way to represent time in programming and databases.

How do I know if my timestamp is in seconds or milliseconds?

Timestamps in seconds are typically 10 digits (e.g., 1700000000). Timestamps in milliseconds are 13 digits (e.g., 1700000000000). The tool detects and handles both formats automatically.

Does the converter account for my local timezone?

Yes. The human-readable date is displayed in your local timezone. The underlying Unix timestamp is always UTC, but the output adjusts to show what that moment looks like in your timezone.