Timestamp Converter
Convert Unix timestamps to dates and back
10-digit = seconds ยท 13-digit = milliseconds
๐ Browse More Tools
Complete Guide: Timestamp Converter
Everything you need to know about using this tool effectively
The Timestamp Converter transforms Unix timestamps (seconds since January 1, 1970) to human-readable dates and converts dates back to timestamps. It supports both second and millisecond precision. The output shows the date in UTC and your local time zone. All processing happens in the browser.
This tool uses JavaScript's Date object to convert between Unix timestamps and formatted date strings. Unix timestamps count the number of seconds (or milliseconds) since the Unix epoch (1970-01-01 00:00:00 UTC). The tool auto-detects whether input is in seconds or milliseconds based on the number of digits.
Reading database timestamps
Convert a Unix timestamp from a database log entry to a readable date.
Debugging API responses
Convert a timestamp in an API response to understand when the data was created.
Generating timestamps for code
Convert a date to a Unix timestamp for use in code or configuration.
Analyzing server logs
Convert epoch timestamps from server logs to readable dates for analysis.
Enter a timestamp or date
Type a Unix timestamp (e.g., 1700000000) or a date string.
View the conversion
The tool shows the equivalent in both formats, in UTC and local time.
Copy the result
Copy the timestamp or date string you need.
A 10-digit timestamp is in seconds. A 13-digit timestamp is in milliseconds.
The Unix epoch is January 1, 1970 00:00:00 UTC.
Negative timestamps represent dates before 1970.
The tool shows the current timestamp as a reference.
What is a Unix timestamp?
A Unix timestamp is the number of seconds since January 1, 1970 00:00:00 UTC (the Unix epoch). It is used by most programming languages and databases to represent dates.
How do I know if a timestamp is in seconds or milliseconds?
A 10-digit number is in seconds. A 13-digit number is in milliseconds. The tool auto-detects based on the number of digits.
Is my data sent to a server?
No. All conversion happens in your browser. Nothing is transmitted.
Can I convert dates to timestamps?
Yes. Enter a date string and the tool produces the corresponding Unix timestamp.
Does it show both UTC and local time?
Yes. The output includes the date in both UTC and your local time zone.