Unix Timestamp Converter

Convert Unix timestamps to dates and back. Enter a timestamp or pick a date and time to see ISO 8601, RFC 2822 and other formats instantly.

All calculations happen locally in your browser. Nothing leaves your device.

UTC
Local
ISO 8601
UTC
RFC 2822
UTC
Unix (seconds)
Unix (milliseconds)

What Is a Unix Timestamp?

A Unix timestamp is a single number representing a moment in time: the count of seconds (or milliseconds) since the Unix epoch. Because it is just arithmetic on one value, timestamps compare, sort and diff trivially, which is why virtually every API, database and log format stores them this way. The only catch is that they are meaningless to humans at a glance — which is exactly what this tool converts.

The 1970 epoch
The origin of the count is 00:00:00 UTC on January 1, 1970. Values for dates before that day are negative. The epoch was fixed by the original Unix implementations and became a de-facto standard for computing; the ISO calendar and other systems keep their own origins, but Unix time is the one you see in the wild.
Seconds vs milliseconds
The original convention counts seconds — a 2026 timestamp looks like 1758614400 (10 digits). JavaScript's Date, Java, Python's time.time_ns() and most databases work in milliseconds (13 digits, 1,000× larger) to keep sub-second precision. When a number is "ten times too big", it is almost certainly milliseconds; this tool accepts both — the 13-digit input is detected automatically.
Time zones: it is all UTC
A timestamp does not carry a time zone; it is one instant on the timeline. ISO 8601 output in this tool is therefore written in UTC with a trailing Z, which removes all ambiguity. The calendar date and time you see in the input fields are rendered in your device's local time zone, since that is how you will reason about them.

Frequently Asked Questions

What is the Unix epoch?

The Unix epoch is 00:00:00 UTC on January 1, 1970. A Unix timestamp is simply the number of seconds elapsed since that moment, which is why the value for any date in 1970 or earlier is negative. Most APIs and system logs use this convention.

What is the difference between seconds and milliseconds?

Classic Unix timestamps count seconds, so a typical 2026 value has 10 digits (around 1.78 billion). Millisecond timestamps — used by JavaScript's Date, Java and many databases — are 13 digits because they are exactly 1,000 times larger. If a number looks ten times too big, it is probably in milliseconds.

How are time zones handled?

A Unix timestamp is a single instant on the timeline, independent of any time zone. ISO 8601 output here is in UTC (with a Z suffix) so it is unambiguous, while the date and time fields are interpreted in your device's local time zone for the reverse conversion.

Is there a limit to how far timestamps can count?

The famous 32-bit problem is already behind us: 32-bit counters overflowed on January 19, 2038, which pushed most modern software to 64-bit timestamps. In 64-bit seconds, positive values cover dates until around the year 292 billion, so you will not run out of range any time soon.

Where do I use Unix timestamps?

You will meet them in API responses, log files, database fields (created_at/updated_at), cookie and JWT expiry fields, and in cron or cache TTL settings. This tool lets you translate between those machine-friendly numbers and the calendar dates a human actually understands.

Debugging a live payload? Shift an instant forward or back in the Date Adder and dig the timestamps out of the query string with the URL Parser.