T

Text Machine

Powerful text tools, in your browser

Unix Timestamp Converter

Turn a Unix timestamp (epoch) into a readable date — in your local time, UTC, and ISO 8601 — or convert any date back into a timestamp. Works in seconds or milliseconds.

Current Unix time

Milliseconds:

ISO 8601:

Timestamp to date

Paste an epoch value. Use the toggle if your timestamp is in milliseconds.

Date to timestamp

Pick a date and time to get its Unix timestamp.

How to use Unix Timestamp Converter

  1. 1

    Enter a timestamp

    Paste or type a Unix timestamp into the “Timestamp to date” field, and switch the Seconds / Milliseconds toggle to match your value.

  2. 2

    Read the date

    See the moment in your local time zone, in UTC, as an ISO 8601 string, and as a relative time such as “3 hours ago.”

  3. 3

    Convert a date back

    Use the “Date to timestamp” picker to choose any date and time and get its epoch value in seconds and milliseconds.

  4. 4

    Copy the result

    Click copy on any value to put it on your clipboard, ready to drop into code, a database query, or an API request.

Frequently asked questions

What is a Unix timestamp?
A Unix timestamp, also called epoch time, is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a compact, time-zone-independent way to represent a moment in time, used widely in programming, databases, and APIs.
Is my timestamp in seconds or milliseconds?
Unix timestamps are traditionally measured in seconds, which is 10 digits for current dates. JavaScript and many APIs use milliseconds, which is 13 digits. If your number is roughly 1,000 times larger than expected, it is almost certainly in milliseconds — switch the toggle to convert it correctly.
What time zone does the converter use?
The “Your local time” result uses your device’s time zone, while the UTC and ISO 8601 results are always in Coordinated Universal Time. The Unix timestamp itself has no time zone — it represents the same instant everywhere on Earth.
What is the Year 2038 problem?
Systems that store Unix time in a signed 32-bit integer can only count up to 03:14:07 UTC on 19 January 2038, after which the value overflows. Modern 64-bit systems, and this tool, use larger numbers and are not affected.
Is my data sent to a server?
No. Every conversion runs entirely in your browser using built-in date functions. Nothing you enter is uploaded, logged, or stored, so the tool works offline and keeps your data completely private.

Related tools

Keep going with these handy tools

JSON to CSV Converter

JSON to YAML Converter

Binary ↔ Decimal Converter

Decimal ↔ Binary Converter

CSV to JSON Converter

Text to Binary Converter