Timestamp Converter
Convert Unix timestamps into readable local and UTC dates, or convert a date and time back into seconds and milliseconds. The converter detects 10-digit second timestamps and 13-digit millisecond timestamps.
Timestamp converter tool
How to use this tool
To convert a timestamp to a date, paste a 10-digit Unix timestamp in seconds or a 13-digit timestamp in milliseconds, then run the conversion. The result shows the detected unit, local time, UTC time, seconds, and milliseconds.
To convert a date to a timestamp, choose a date and time in the date input. The result shows both seconds and milliseconds so you can use the value in APIs, logs, database fields, or analytics systems.
Example
The timestamp 1704067200 represents a seconds-based Unix timestamp. The same instant in milliseconds is 1704067200000. Many APIs use seconds, while JavaScript dates and browser timers usually use milliseconds.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp counts time from 1970-01-01 00:00:00 UTC. It is often stored as seconds or milliseconds.
How do I know if a timestamp is seconds or milliseconds?
A 10-digit value is commonly seconds. A 13-digit value is commonly milliseconds.
Why are local time and UTC different?
UTC is a global reference time. Local time applies your device timezone offset, which can change the displayed hour or date.
Privacy note
Your input is processed locally in your browser and is not uploaded to our server.