Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds, UTC and local time, with relative time display.
About Unix Timestamp Converter
Convert between Unix timestamps and human-readable dates instantly. Whether you're debugging logs, parsing API responses, or working with databases, this tool handles seconds and milliseconds automatically, shows UTC and local time, and computes relative time from now.
Auto-Detect Precision
Automatically detects whether the input is in seconds or milliseconds. If the number exceeds 1e11, it's treated as milliseconds — no manual switching needed.
UTC & Local Time
Displays both UTC and your local timezone. Perfect for coordinating across time zones or verifying server timestamps against your local clock.
Relative Time
See how long ago or how far in the future a timestamp is — "3 days ago", "in 2 hours", "just now", "1 year ago". Human-readable at a glance.
Bidirectional
Convert timestamps to dates and dates back to timestamps. Build a date from year/month/day/hour/minute/second and get the Unix timestamp instantly.
How It Works
- Enter a timestamp — Paste or type a Unix timestamp (e.g., 1722268800). The tool auto-detects seconds vs milliseconds.
- View all formats — Instantly see UTC date/time, local date/time, ISO 8601 string, day of the week, and relative time.
- Switch to Date mode — Click "Date to Timestamp" to go the other direction. Set year, month, day, hour, minute, second.
- Copy the result — Both seconds and millisecond timestamps are shown. Use "Now" to get the current moment.