Timestamp Converter

Convert Unix timestamps to ISO 8601, local time, UTC, and relative time. Auto-detects seconds vs. milliseconds. Reverse mode for date to timestamp.

event_noteTimestamp to Date

calendar_monthDate to Timestamp

What is the Timestamp Converter?

A Unix timestamp is the number of seconds (or milliseconds) since midnight UTC on January 1, 1970. It's how computers store dates internally, and it shows up everywhere: log files, JWT exp claims, database timestamps, API responses. A timestamp converter turns that integer into something a human can read, and back again.

How to use the Timestamp Converter

  1. 1

    Paste a timestamp

    Drop the integer into the top field. The converter detects whether it's in seconds (10 digits) or milliseconds (13 digits) by magnitude.

  2. 2

    Read the four formats

    ISO 8601, local time, UTC, and a relative phrase ("3 hours ago", "in 2 days") that updates every second.

  3. 3

    Or go the other way

    Use the second card to pick a date and time, and copy the resulting Unix timestamp for use in API calls or queries.

  4. 4

    Grab the current timestamp

    The Current Timestamp button fills in the integer for right now, useful when you need a fresh value to test against.

Frequently Asked Questions

What is a Unix timestamp?

The number of seconds elapsed since midnight UTC on January 1, 1970 (the Unix epoch). It's how Linux, JavaScript, databases, and most APIs internally represent a point in time. Most languages also offer a millisecond version, which is the same number times 1000.

Does this tool handle millisecond timestamps?

Yes. Anything with 13 or more digits is treated as milliseconds; anything shorter is seconds. JavaScript's Date.now() returns milliseconds, while Python's time.time() and most database functions return seconds, so the autodetect saves you from converting manually.

What date formats are shown?

Four side by side: ISO 8601 (the machine-readable string with the offset), your browser's local time (with timezone name), UTC (good for log correlation), and a live relative phrase like "5 minutes ago" or "in 2 hours."

Related Tools