Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds with auto-detection, multiple output formats including ISO 8601 and UTC, relative time display, and a live current timestamp clock. All processing happens in your browser.

Current Unix Timestamp

How It Works

1

View the current timestamp

The current Unix timestamp updates live every second. Copy it with one click.

2

Convert a timestamp to a date

Paste any Unix timestamp, choose seconds or milliseconds, and see the result in multiple formats instantly.

3

Convert a date to a timestamp

Pick a date and time to get the corresponding Unix timestamp in both seconds and milliseconds.

Frequently Asked Questions

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 widely used in programming, databases, and APIs to represent points in time as a single number.

How do I choose between seconds and milliseconds?

Use the toggle to select the unit. The tool also auto-detects: if the value is larger than 9,999,999,999 it switches to milliseconds automatically. JavaScript's Date.now() returns milliseconds, while most Unix systems use seconds.

What time zone are the results in?

Results are shown in both UTC and your browser's local time zone. The ISO 8601 format includes the UTC offset so there is no ambiguity.

What is the valid range for timestamps?

JavaScript can represent dates from April 20, 271821 BCE to September 13, 275760 CE. In practice, most Unix timestamps fall between 0 (January 1, 1970) and about 2,147,483,647 (January 19, 2038 — the 32-bit limit), though 64-bit systems handle much larger values.

Is my data sent to a server?

No. All conversions happen entirely in your browser using JavaScript's built-in Date object. Nothing is sent over the network.

Related Tools