Ad Space (header)

Timestamp Converter

Convert between Unix timestamps and human-readable dates. Auto-detects seconds vs milliseconds.

Current Unix time:0

About This Tool

Unix timestamps are the backbone of time representation in computing. Whether you are debugging an API that returns epoch seconds, analyzing log files with millisecond timestamps, or coordinating events across time zones, converting between human-readable dates and Unix time is a daily task.

This converter auto-detects whether the input is in seconds or milliseconds and displays the result in multiple formats: local time, UTC, ISO 8601, and relative time. You can also convert in the other direction by entering a date string.

The "Now" button captures the current timestamp for quick reference, which is especially useful when you need to compare log entries or set expiration times in JWTs, cache headers, or database records.

Frequently Asked Questions

What is a Unix timestamp?
A Unix timestamp (also called Epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC, not counting leap seconds. It is the most common way to represent time in APIs and databases.
What is the difference between seconds and milliseconds?
Unix timestamps are traditionally in seconds (10 digits, e.g. 1700000000). Many languages like JavaScript use milliseconds (13 digits, e.g. 1700000000000). This tool auto-detects the format.
What timezone is shown?
Both your local timezone and UTC are displayed. The ISO 8601 output includes the full timezone offset.
Can I convert a date string to a timestamp?
Yes. Enter a date string like "2024-01-15 10:30:00" in the input and click Convert. Most common date formats are recognized.