Epoch Converter
Convert between Unix timestamps and human-readable dates.
About Epoch Converter
The Epoch Converter translates between Unix timestamps — the number of seconds or milliseconds elapsed since the Unix epoch (January 1, 1970 00:00:00 UTC) — and human-readable ISO 8601, RFC 2822, and locale-formatted dates across any timezone. Unix timestamps are the universal time representation used in databases, JWT expiration claims, log files, Linux and macOS filesystems, and virtually every programming language standard library. This tool handles both 10-digit second-precision and 13-digit millisecond-precision timestamps with automatic detection.
How to Use
Enter a Unix timestamp — seconds or milliseconds, auto-detected — to see the corresponding UTC date, local date, and dates in multiple named timezones simultaneously. Alternatively, use the date-time picker or type an ISO 8601 string to convert it to its epoch value. The result includes the epoch in both seconds and milliseconds, plus a relative time label like '3 hours ago' or 'in 2 days' for quick context.
Common Use Cases
- API developers converting raw Unix timestamps from REST API JSON responses into readable datetime strings to debug scheduling, expiry, or time-window logic
- Database administrators writing time-range queries against POSIX timestamp columns by converting human-readable date bounds like 'start of Q1 2026' to epoch integers
- DevOps engineers correlating log entries across services that use different timestamp formats by converting all timestamps to a common epoch representation
- Security developers verifying JWT exp, iat, and nbf claim values by converting the numeric epoch to a human-readable date to confirm token lifetimes are configured correctly
- Frontend developers calculating relative time labels like 'posted 5 minutes ago' by subtracting a stored epoch from the current timestamp with millisecond precision