Unix Timestamp Converter
Convert between Unix timestamps (epoch seconds or milliseconds) and human-readable dates. Two-way, with local time, UTC, ISO 8601, and relative output.
Timestamp → Date
Local time
UTC
ISO 8601
RFC 2822
Relative
Date → Timestamp
Unix seconds
Unix milliseconds
ISO 8601 (UTC)
UTC string
What is a Unix timestamp?
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since the Unix epoch: 1970-01-01 00:00:00 UTC, ignoring leap seconds. It's the universal way to represent a moment in time in APIs, databases, and log files, because it's a single integer with no timezone ambiguity.
Seconds vs milliseconds
Classic Unix uses seconds (10 digits today). JavaScript, Java, and many modern APIs use milliseconds (13 digits). Some systems use microseconds (16 digits) or nanoseconds (19 digits). This tool auto-detects based on the magnitude of the input — no manual toggle needed.
How to use
- Timestamp → Date — paste a number, see it in local time, UTC, ISO 8601, RFC 2822, and relative form.
- Date → Timestamp — pick a date/time, see it as seconds and milliseconds.
- Use current time buttons snap either side to "now."
- The top banner shows the current Unix timestamp ticking live.
Common uses
- Decoding
iat/expclaims in JWTs and OAuth tokens - Parsing log line timestamps
- Debugging scheduled jobs and cron triggers
- Reading database
created_atcolumns stored as epoch - Generating deterministic "ordered" IDs
Privacy
Everything is computed locally in your browser using the built-in Date object. Your inputs are never transmitted.
