Epoch / Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa.
The current Unix epoch time is
1779565004
Timestamp to Date
Date to Timestamp
Also accepts YYYY/MM/DD and other standard formats if typed manually (type="text").
About Unix epoch time
Unix epoch time (also called POSIX time or "epoch seconds") counts the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC, ignoring leap seconds. It is the most common way to represent timestamps in databases, log files, file systems, network protocols, and APIs because it is timezone-free, sortable, and easy to compare.
This converter handles seconds, milliseconds, microseconds and nanoseconds so you can decode timestamps from any source — Postgres, Linux stat, JavaScript Date.now(), Kafka message timestamps, and the exp/iatclaims in a JWT — into a human-readable date and time, in either UTC or your local timezone.
How to use
- Paste an integer timestamp into the input. The tool auto-detects whether it is seconds, milliseconds, microseconds or nanoseconds based on the magnitude.
- Read the human-readable result in both UTC and your local timezone.
- Use the reverse direction to convert a date-time back to epoch in any of the supported precisions.
- Copy the value you need with one click.
Common use cases
- Reading timestamps in raw log files or audit trails.
- Building time-bounded queries against a Postgres table that stores Unix timestamps.
- Debugging cache expirations and JWT exp claims.
- Cross-referencing events across services that use different time units.
Frequently asked questions
What time zone is epoch time in?
Why is JavaScript timestamps so much larger than the ones in my database?
What about the Year 2038 problem?
Does this account for leap seconds?
Advertisement