Home / Date & Time Tools / Unix Timestamp

Unix Timestamp Converter

Convert any Unix timestamp or epoch time into a readable date and time — and turn dates back into timestamps. Seconds or milliseconds, handled automatically.

—

Why Use This Tool?

Unix timestamps are everywhere — database rows, API responses, log files, JWT tokens — and they all look like meaningless numbers. This converter turns any epoch timestamp into a human-readable date and time instantly, and goes the other way too when you need to store or send a timestamp.

It detects seconds versus milliseconds automatically, shows the result in both UTC and your local time zone, and a live counter keeps the current timestamp on screen while you work. Everything runs locally, so even internal log timestamps stay on your machine.

How It Works

  1. Paste a timestamp to decode it, or pick a date and time to encode one.
  2. Seconds and milliseconds are detected automatically — no switch to flip.
  3. Read the UTC, local, and ISO 8601 results, or copy the generated timestamp.

Frequently Asked Questions

How do I convert a date to a Unix timestamp?

Use the second converter on this page: pick your date and time, and it returns the Unix timestamp in both seconds and milliseconds. The input is interpreted in your local time zone.

What is Unix epoch time?

Epoch time is the number of seconds since January 1, 1970, 00:00:00 UTC — the zero point every modern system agrees on. Before 1970 the count is negative.

Is a Unix timestamp in seconds or milliseconds?

Traditionally seconds; JavaScript, Java, and many APIs use milliseconds (13 digits instead of 10). This tool detects which one you pasted and converts accordingly.

Tips & Things to Watch

  • 10-digit numbers are seconds; 13-digit numbers are milliseconds — the tool auto-detects either.
  • Timestamps are always UTC under the hood, so results are timezone-safe.
  • For log archaeology, convert the timestamp and check the day of week — weekends explain a lot.