Unix Timestamp Converter

Enter a Unix timestamp (seconds or milliseconds) to get the date, or enter a date to get the timestamp. All in local time or UTC.

Timestamp <-> Date

How it works

We use JavaScript Date: new Date(ms) or getTime(). Timestamps > 1e12 are treated as milliseconds.

When to use it

Use this when you need a quick result without installing software or creating an account.

Frequently asked questions

Seconds or milliseconds?

We auto-detect: if value &gt; 1e12 we treat as ms, else as seconds.