1. Home
  2. Coding Tools
  3. Unix Timestamp Converter

Unix Timestamp Converter

Convert Unix epoch timestamps (seconds or milliseconds) to human-readable dates in local time and UTC, and convert any date back to a timestamp.

0Current Unix time (seconds)
0Milliseconds

Timestamp → Date

Date → Timestamp

Runs locally in your browser. Your files and data are never uploaded or stored.

About the Unix Timestamp Converter

A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have passed since January 1, 1970 at 00:00:00 UTC. It is how computers, databases, APIs and log files commonly store dates, because a single number is easy to compare and independent of time zones.

The Unix Timestamp Converter shows the current timestamp live and converts in both directions. Paste a timestamp to see the date in your local time zone, in UTC, in ISO 8601 format and as a relative time like "3 days ago". It automatically detects whether the value is in seconds or milliseconds (as used by JavaScript and Java). Pick a date and time to get its timestamp for use in code, SQL queries or API requests.

How to use the Unix Timestamp Converter

  1. See the current Unix time at the top, updating every second.
  2. Paste a timestamp to convert it to a readable date.
  3. Or pick a date and time to get its Unix timestamp.
  4. Copy the values you need.

Frequently asked questions

Seconds or milliseconds: how do I know?

Current timestamps in seconds have 10 digits, while milliseconds have 13 digits. The converter detects this automatically.

What is the year 2038 problem?

Systems that store Unix time as a signed 32-bit integer will overflow on January 19, 2038. Modern systems use 64-bit values to avoid this.

Does a Unix timestamp include a time zone?

No. It always represents a moment in UTC; time zones only matter when displaying it as a local date.