Unix Timestamp Converter
Convert Unix timestamps to dates and back. Supports seconds and milliseconds.
What is a Unix timestamp?
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a simple, timezone-independent way to represent a point in time, widely used in databases, APIs, and log files.
Seconds vs. milliseconds
Unix timestamps come in two common precisions. A 10-digit number is usually in seconds (e.g. 1700000000), while a 13-digit number is in milliseconds (e.g. 1700000000000). JavaScript'sDate uses milliseconds; languages like PHP and Python often use seconds. This tool auto-detects which you entered based on length.
How to use this converter
- Timestamp → Date: paste a Unix timestamp to see UTC, ISO 8601, local time, and a relative description.
- Date → Timestamp: type a date (e.g.
2026-01-01 12:00:00) to get the Unix value in both seconds and milliseconds. - The current Unix timestamp at the top updates live every second.
Common uses
- Debugging timestamps stored in databases or logs.
- Setting expiry times for tokens (e.g. JWT
expclaims). - Comparing event times across systems and timezones.
Common timestamp conversions
Frequently asked questions
What timezone does the timestamp use?
A Unix timestamp itself is timezone-independent (it's an absolute point in UTC). This tool shows it in UTC, ISO 8601, and your browser's local timezone.
Does this tool send my data anywhere?
No. All conversion happens locally in your browser — nothing is sent to a server.