Time

Convert Unix timestamps to human-readable dates and back. Supports seconds and milliseconds. Shows ISO 8601, RFC 2822, and relative time. Free, instant.

A free online Unix timestamp converter that turns epoch timestamps into human-readable dates and back, entirely in your browser. Paste a timestamp from a log line or database and instantly see it as an ISO 8601 date, an RFC 2822 string, a relative time like "3 hours ago", and a custom format you define. It accepts both seconds and milliseconds, and can hand you the current epoch time in either unit when you need one. This is the everyday companion for reading machine timestamps: no more counting digits to guess whether a value is in seconds or milliseconds, or doing epoch math by hand.

Common uses

  • Convert a Unix timestamp from a log line into a readable date.
  • Get the current epoch time in seconds or milliseconds.
  • Format a timestamp with a custom pattern such as YYYY-MM-DD HH:mm:ss.
  • Turn a database epoch column value into a date you can reason about.
  • Produce an ISO 8601 string from an epoch value for use in an API.

Frequently asked questions

Does it handle both seconds and milliseconds?

Yes. It accepts Unix timestamps in seconds or milliseconds and shows the equivalent date in several formats.

What output formats are shown?

ISO 8601, RFC 2822, relative time (e.g. "3 hours ago"), and a configurable custom format.

How can I tell if a timestamp is in seconds or milliseconds?

A seconds timestamp for a recent date has 10 digits; a milliseconds timestamp has 13. The converter accepts either and shows the resulting date so you can confirm.

What is a Unix timestamp?

It is the number of seconds (or milliseconds) elapsed since 1 January 1970 UTC, a compact, timezone-independent way to store a moment in time.

Is my data sent to a server?

No. All conversion runs in your browser, so the timestamps you enter stay on your device.

All processing is local — your data never leaves your browser.