Timestamp Converter
Convert between Unix timestamps and human-readable dates, in your local timezone and UTC. Runs entirely in your browser — nothing is sent to any server.
Seconds or milliseconds since epoch — auto-detected from digit count.
Interpreted in your browser's local timezone.
What is a Unix timestamp?
A Unix timestamp counts seconds (or, in many APIs and JavaScript's own Date.now(), milliseconds) elapsed since 00:00:00 UTC on January 1st, 1970 — the "epoch". It's timezone-independent by definition, which is exactly why it's the default way most systems store and exchange a point in time internally, leaving the timezone-aware formatting for display. This tool converts freely between a Unix timestamp and a human-readable date, auto-detecting whether a timestamp is in seconds or milliseconds from its digit count (13 or more digits means milliseconds).
Examples
Convert a Unix timestamp to a date object natively in most languages:
new Date(unixSeconds * 1000)
Math.floor(Date.now() / 1000)from datetime import datetime, timezone
datetime.fromtimestamp(unix, timezone.utc)Instant.ofEpochSecond(unixSeconds)DateTimeOffset.FromUnixTimeSeconds(unixSeconds)time.Unix(unixSeconds, 0)date('Y-m-d H:i:s', $unixSeconds)SELECT TO_TIMESTAMP(unix_seconds); -- Postgres
SELECT FROM_UNIXTIME(unix_seconds); -- MySQLUse Cases
Debugging API responses
Paste a raw timestamp from a JSON response (created_at, exp, updated_at) to instantly see what date and time it actually represents.
Reading log timestamps
Server and application logs often store Unix time — convert one here to line it up against a specific event without doing the math by hand.
Scheduling and cron jobs
Work out the exact Unix timestamp a task should fire at, or double-check that a scheduled job's stored timestamp lands on the date you expect.
Comparing timezones
See a single instant expressed both in your local timezone and in UTC side by side, useful when coordinating with a team or server in a different timezone.