Unix Timestamp Converter — Epoch & Date Converter Online

Convert Unix timestamps to human-readable dates and dates to Unix time. Supports seconds, milliseconds, ISO 8601, timezones, and bulk conversion.

00:00:00
Local Time
—
Local Date
—
Unix (seconds)
—
Unix (milliseconds)
—
ISO 8601 / UTC
Unix Timestamp
Enter seconds, milliseconds, microseconds, or nanoseconds
Date & Time Input
Timezone
Relative Time
—
All Formats
Enter a timestamp or date above to see all formats here.
World Clock
Bulk Converter
Ready
Enter a timestamp to convert
—
Unix (s)
—
Unix (ms)
—
Year
—
Weekday
—
Week #
—
Day of year
Developer Guide

Unix Timestamp Converter — Epoch & Date Converter Online

Convert Unix and epoch timestamps to human-readable dates and times — and convert dates back to Unix time — directly in your browser. Supports seconds, milliseconds, microseconds, and nanoseconds, plus ISO 8601 input and output, timezone selection, relative time, and bulk conversion of multiple values at once. No signup, no data sent to any server.

What is a Unix timestamp?

A Unix timestamp (also called epoch time or Unix time) is an integer that represents the number of elapsed units since the Unix epoch: January 1, 1970 at 00:00:00 UTC. Seconds are the most common unit, but applications and APIs also use milliseconds, microseconds, and nanoseconds. Unix timestamps are timezone-independent — the same number always refers to the same moment in time, regardless of local timezone.

For example, the Unix timestamp 1721520000 corresponds to 2024-07-21 00:00:00 UTC. The same value shown in IST (UTC+5:30) would display as 2024-07-21 05:30:00.

How to convert a Unix timestamp online

  1. Enter the Unix timestamp in the input field and select the unit: seconds, milliseconds, microseconds, or nanoseconds.
  2. Click Convert or press Ctrl+Enter.
  3. Select a timezone to see the result in your required timezone.
  4. Copy the format you need — ISO 8601, UTC, local date, or Unix milliseconds.
  5. To convert a date to Unix time, use the Date & Time Input panel instead.

Supported timestamp formats

  • Unix seconds — 10-digit epoch time, the most common format.
  • Unix milliseconds — 13 digits, used by JavaScript Date.now() and most web APIs.
  • Microseconds — 16 digits, used in high-precision logging and databases.
  • Nanoseconds — 19 digits, used in system clocks and Go/Rust applications.
  • ISO 8601 — standard format like 2024-07-21T00:00:00Z.
  • UTC string — human-readable UTC date and time.
  • Local date — displayed in the selected timezone.
  • Relative time — e.g., "3 days ago" or "in 2 hours".

Common developer use cases

  • API debugging — decode timestamps returned by REST APIs or databases.
  • Log analysis — convert Unix timestamps in application logs to readable dates.
  • JavaScript dates — convert Date.now() milliseconds to human time.
  • Database values — decode epoch values stored in PostgreSQL, MySQL, or MongoDB.
  • Cron jobs — verify scheduled job timestamps and delays.
  • Timezone comparisons — see the same moment in multiple timezones at once.
  • Bulk testing — convert batches of timestamps from test data or CSV exports.

Unix seconds vs milliseconds — how to tell them apart

The easiest way to identify the unit: count the digits. A Unix seconds timestamp currently has 10 digits (e.g., 1721520000). A milliseconds timestamp has 13 digits (e.g., 1721520000000). Microseconds have 16 digits and nanoseconds have 19. This converter auto-detects the most likely unit based on the digit count, but you can override it manually.

Bulk timestamp conversion

The Bulk Converter panel accepts multiple timestamps or date strings, one per line, and converts all of them to the selected output format in one click. Supported output formats include ISO 8601, UTC string, Unix seconds, Unix milliseconds, and relative time. This is useful when processing API response logs, test datasets, or CSV exports that contain many timestamp values.

Frequently Asked Questions

How do I convert a Unix timestamp to a date?

Enter the Unix timestamp in the input field, select the unit (seconds or milliseconds), and click Convert. The tool shows the equivalent human-readable date in your selected timezone.

What is the difference between Unix seconds and milliseconds?

Unix timestamps in seconds are 10 digits. Milliseconds are 13 digits. JavaScript's Date.now() returns milliseconds. Many server-side systems use seconds. Select the correct unit in the converter to get the right result.

Can I convert a date to a Unix timestamp?

Yes. Use the Date & Time Input panel — enter any date and time, then click Convert to get the Unix timestamp in seconds, milliseconds, or any other unit.

What is an ISO 8601 timestamp?

ISO 8601 is an international date/time standard. A UTC example looks like 2024-07-21T00:00:00Z. The converter accepts ISO 8601 input and outputs ISO 8601 as one of its formats.

Can I convert multiple timestamps at once?

Yes. The Bulk Converter panel accepts one timestamp or date per line. Choose your output format and convert all values at once — useful for logs, test data, and CSV exports.

Does this tool send my timestamps to a server?

No. All conversion logic runs in your browser. Timestamp values are never uploaded to any server, making it safe to use with sensitive development data.

Conversion History

0 entries
No history yet.