loot.tools

Timestamp Converter

Convert Unix timestamps to readable dates in UTC and your local time, with the matching ISO 8601 string and how long ago it was. Auto-detects seconds or milliseconds.

Enter a Unix timestamp (seconds or milliseconds) to read it as a human-friendly date in UTC and your local time, plus how long ago it was. Use “Now” to insert the current time.

Input
Output
UTC
Local
Relative
ISO 8601
Epoch (seconds)
Epoch (milliseconds)

What is a Unix timestamp?

A Unix timestamp is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). It's a simple, timezone-independent way to represent a point in time as a single number. For example, 1700000000 is November 14, 2023. Many systems use millisecond timestamps (13 digits) instead of seconds (10 digits).

How to use this converter

Enter a Unix timestamp (seconds or milliseconds) to read it as a UTC date, your local date, and a relative time like "3 hours ago", alongside the ISO 8601 string and both epoch values. The tool auto-detects whether you've entered seconds or milliseconds based on the number of digits. Hit "Use current time" to drop in the current timestamp.

Where you'll encounter timestamps

API responses that include created_at or updated_at fields. Database records storing dates as integers. JWT tokens (the exp and iat claims are Unix timestamps in seconds). Log files. Cron job configurations. JavaScript's Date.now() returns milliseconds, while most server-side languages use seconds.