Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates. Supports seconds and milliseconds.

0
Current Unix Timestamp (seconds)

→ Timestamp to Date

Enter a timestamp to convert

← Date to Timestamp

Select a date to convert

Quick Reference

Now
Current
+1 Hour
3600s
+1 Day
86400s
+1 Week
604800s
How to Use

Enter a Unix timestamp (in seconds) to convert it to a human-readable date, or select a date and time to get its Unix timestamp. The current timestamp updates in real time at the top. Use the Quick Reference buttons for common timestamps like "Now", "+1 Hour", "+1 Day", and "+1 Week".

What Is Unix Timestamp?

A Unix timestamp (also known as epoch time or POSIX time) represents the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. This is a common way to store and exchange time data in computer systems, databases, and APIs. For example, the timestamp 1711400000 corresponds to a date in March 2024.

How It Works

The converter takes a Unix timestamp and uses JavaScript's Date object to convert it to a human-readable date string. For the reverse, it takes the selected date and calculates the number of milliseconds since the Unix epoch, then divides by 1000 to get seconds. All conversion happens locally in your browser.

How to Use the Unix Timestamp Converter

The tool displays the current Unix timestamp in real time at the top of the page, updating every second. To convert a timestamp to a human-readable date, enter the number — either in seconds or milliseconds — into the "Timestamp to Date" field and click Convert to Date. The tool automatically detects whether your input is seconds or milliseconds. To convert a date to a timestamp, select a date and time using the date picker in the "Date to Timestamp" section and click Convert to Timestamp. Use the Quick Reference buttons to instantly set timestamps for Now, +1 Hour, +1 Day, or +1 Week.

Common Use Cases for Timestamp Conversion

Tips for Working with Unix Timestamps

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp (epoch time) represents the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. It is commonly used in computer systems and APIs for storing and comparing dates.

What is the current Unix timestamp?

The tool shows the current Unix timestamp in real-time, updating every second. You can also use the "Now" quick reference button to insert it into the converter.

Does the tool support milliseconds?

Yes. The tool detects whether the input is in seconds or milliseconds. If the number is larger than 1 trillion, it is treated as milliseconds and converted automatically.

Is my data safe?

Yes. All conversion happens locally in your browser. No data is sent to any server.

What does "epoch" mean in computing?

In computing, an epoch is a fixed point in time used as a reference for measuring time. The Unix epoch is January 1, 1970, at 00:00:00 UTC. Most operating systems and programming languages count seconds from this moment to represent any date and time as a single integer.

Do I need to create an account to use this tool?

No. All our tools are free to use and work directly in your browser without registration or sign-in. Just open the page and start using the tool.

Does this tool work on mobile devices?

Yes. The tool is fully responsive and works on any modern browser on iPhone, iPad, Android phones and tablets. The interface adapts to your screen size automatically.

Related Tools

Time Zone Converter Date Calculator Timer & Stopwatch