tuliq
Runs in your browser

Unix Timestamp Converter

Convert a Unix timestamp to a human-readable date, or a date to its Unix timestamp, in both seconds and milliseconds. See relative time ("3 hours ago"), ISO 8601, UTC, and your local timezone all at once, plus a live-updating current timestamp. Runs entirely client-side using native Date and Intl APIs — nothing is uploaded.

Current Unix timestamp

1790398897

Timestamp → Date

Date → Timestamp

Seconds
1790398897
Milliseconds
1790398897000

About this tool

This tool converts between a Unix timestamp and a human-readable date, in both directions. A Unix timestamp counts seconds (or, just as commonly, milliseconds — APIs disagree, which is a frequent source of off-by-1000x bugs) since January 1, 1970 UTC, and it shows up constantly in logs, API responses, database columns, and JWT claims, always as a bare number with no timezone or format information attached. Paste one in and see it as relative time ("3 hours ago"), ISO 8601, UTC, and your own local timezone all at once — or go the other direction and pick a date/time to get its timestamp in both seconds and milliseconds. The current timestamp is also shown live at the top, updating every second, handy as a quick reference or for copying "now" into a query. It runs entirely client-side using your browser's native Date and Intl APIs — nothing is uploaded, and nothing about it is retained once you leave the page.

What you can do

  • See the current Unix timestamp, updating live
  • Convert a timestamp to a date, or a date to a timestamp — both directions
  • Relative time ("3 hours ago"), ISO 8601, UTC, and your local time, all at once
  • Nothing is uploaded — every conversion happens locally in your browser

How to use

Step 1

Paste a timestamp, or pick a date

Works in either direction — enter a Unix timestamp to get a date, or pick a date to get its timestamp.

Step 2

Pick seconds or milliseconds

APIs disagree on which one they use — this tool handles both, so you don't have to do the ×1000 or ÷1000 by hand.

Step 3

Read the result

See it as relative time, ISO 8601, UTC, and your local timezone, all at once.

Example

The timestamp 1704067200 (seconds) converts to:

ISO 8601

2024-01-01T00:00:00.000Z

exactly midnight UTC on January 1, 2024 — this tool shows that alongside the UTC string, your own local time, and a relative description, so you never have to do the seconds-since-1970 math by hand or guess which unit an API actually used.

How your data is handled

This tool is labeled 🟢 Browser: every conversion uses your browser's native Date and Intl.RelativeTimeFormat APIs — nothing is uploaded to a server, and nothing about it is retained once you leave the page.

Frequently asked questions

How do I know if a timestamp is in seconds or milliseconds?+

As a rough check: a current-ish timestamp in seconds is 10 digits (e.g. 1704067200); the same moment in milliseconds is 13 digits (1704067200000). If switching the unit toggle makes the resulting date jump to the 1970s or the far future, you've got the wrong one selected.

Why does the current timestamp keep changing?+

It updates once per second to always show the actual current time — useful as a live reference, or for copying "right now" directly into a query or test fixture.

What does "relative time" mean?+

A human-friendly description like "3 hours ago" or "in 2 days", computed from the difference between the timestamp and the current time — the same phrasing you'd see in a chat app or social media timestamp.

Does this account for timezones?+

A Unix timestamp itself has no timezone — it's just seconds since a fixed UTC instant. This tool shows that instant as UTC and separately as your browser's own local timezone, so you can see both without doing the offset math yourself.

Is anything I enter here uploaded?+

No — every conversion happens directly in your browser using native JavaScript date APIs. Nothing is uploaded, logged, or retained anywhere.

Related tools