Unix Timestamp Converter

Last updated: 2026-06-25

TL;DR

The Unix timestamp converter is a free tool that converts epoch (seconds/milliseconds) and dates both ways, with a Now button and UTC and local time display.

All conversions are handled by the browser's Date object, and your input is never sent to a server.

Timestamp → Date

Date → Timestamp

How to use

  1. Timestamp → Date — enter a Unix timestamp (seconds or milliseconds) to convert it to a human-readable date and time.
  2. Date → Timestamp — enter a date and time to show the Unix timestamp (seconds and milliseconds) for that moment.
  3. Now — click the Now button to fill in the current timestamp and date automatically.

Understanding the Unix timestamp

A Unix timestamp is an integer counting the seconds elapsed since the reference point (epoch) of January 1, 1970 00:00:00 UTC. Because it is a single number that does not depend on a time zone, it is widely used for log records, API responses and storing time in databases.

Timestamp units compared
UnitDigits (now)Example
Seconds (s)10 digits1717000000
Milliseconds (ms)13 digits1717000000000

A JWT's exp and iat claims are also Unix timestamps in seconds. To inspect a token, use the JWT decoder; to view a time value in another base, use the base converter.

Frequently asked questions (FAQ)

What is a Unix timestamp?

A Unix timestamp is an integer that represents the seconds elapsed since January 1, 1970 00:00:00 UTC (the Unix epoch). It is a widely used standard way to represent time in systems, logs and APIs.

How do I tell seconds from milliseconds?

A Unix timestamp is usually 10 digits (seconds), while JavaScript's Date.now() returns 13 digits (milliseconds). This tool auto-detects seconds vs milliseconds from the number of digits, but you can also choose the unit yourself.

Which time zone is the displayed time in?

The result shows both UTC time and your local time (the browser's time zone). The local time reflects whatever time zone your device is set to.

Does the conversion happen on a server?

No. All conversions are handled by the browser's JavaScript Date object, and your input is never sent to a server.

Last updated: 2026-06-25