Unix Timestamp Converter

Bidirectional Unix timestamp converter with a live ticking epoch clock. Automatically detects 10-digit seconds and 13-digit milliseconds to display Coordinated Universal Time (UTC), Local Browser Time, ISO 8601 Extended Format, and Relative Elapsed Time, or converts any selected local calendar date and time into Unix seconds and milliseconds.

Unix Timestamp Converter

Convert Unix epoch timestamps (seconds & milliseconds) to human-readable dates and vice-versa.

Current Unix Epoch Time
1795461375

Elapsed seconds since Jan 01 1970 00:00:00 (UTC)

Convert Timestamp to Date

10-Digit (Seconds)
Coordinated Universal TimeMon, 23 Nov 2026 19:16:15 GMT
Local Browser TimeMon Nov 23 2026 19:16:15 GMT+0000 (Coordinated Universal Time)
ISO 8601 Extended Format2026-11-23T19:16:15.000Z
Relative Elapsed Timenow

Convert Date to Timestamp

Seconds (Standard Unix Epoch)1795461360

Used in Python, Linux, PHP, MySQL, and Nginx

Milliseconds (JavaScript Date.now())1795461360000

Used in JavaScript, Node.js, and Java System.currentTimeMillis()

Seconds vs. Milliseconds in Software Development

Standard Unix systems, Linux kernel calls, and backend languages (Python, PHP, Go, C) store timestamps in 10-digit seconds. Web browsers, JavaScript (Date.now()), and Java use 13-digit milliseconds. If your timestamp has 10 digits, multiply by 1,000 for JavaScript; if it has 13 digits, divide by 1,000 for Unix APIs.

Advertisement

How to Use Unix Timestamp Converter

Watch the top **Current Unix Epoch Time** banner tick every second (with one-click **Copy Epoch Seconds** and **Copy Milliseconds** buttons), or use the two-column converter below. In **Convert Timestamp to Date** on the left, enter any numeric timestamp (or click `Now (Seconds)`, `Now (Milliseconds)`, `1,700,000,000 (Nov 2023)`, or `Year 2030 (1893456000)`): values up to 11 digits (`≤ 99,999,999,999`) are parsed as **10-Digit (Seconds)** (`ts × 1000`), while values above 11 digits are automatically detected as **13-Digit (Milliseconds)**, displaying **Coordinated Universal Time** (`toUTCString()`), **Local Browser Time**, **ISO 8601 Extended Format** (`toISOString()`), and **Relative Elapsed Time**. In **Convert Date to Timestamp** on the right, pick a date and time in **Select Local Calendar Date & Time** to copy both **Seconds (Standard Unix Epoch)** and **Milliseconds (JavaScript `Date.now()`)**. Need to count days or business days between two calendar dates? Use our Date Difference Calculator or Age Calculator.

  1. 1

    Copy Current Live Unix Epoch Time

    Use the top dark banner to view the live ticking Unix timestamp and click Copy Epoch Seconds or Copy Milliseconds.

  2. 2

    Enter a 10-Digit (Sec) or 13-Digit (ms) Timestamp

    Paste any Unix timestamp into Convert Timestamp to Date (the tool auto-detects seconds vs. milliseconds).

  3. 3

    Copy UTC, Local Browser Time, or ISO 8601

    Read and copy Coordinated Universal Time, Local Browser Time, ISO 8601 Extended Format, and Relative Elapsed Time.

  4. 4

    Convert a Calendar Date & Time to Epoch

    Pick any date and minute in Select Local Calendar Date & Time on the right to copy Seconds and Milliseconds.

Worked Input & Output Example

Converting Unix Timestamp 1700000000 (Seconds) & 1700000000000 (Milliseconds)

Timestamps above 99,999,999,999 (>11 digits) are automatically parsed as milliseconds; 10-digit values are multiplied by 1,000.

1. Timestamp Preset Input
1700000000 (10-Digit Seconds) | 1700000000000 (13-Digit ms)

Built-in "1,700,000,000 (Nov 2023)" preset button in Convert Timestamp to Date.

2. Auto-Unit Detection & Formatting

isMs = tsNum > 99999999999 → new Date(isMs ? tsNum : tsNum * 1000) → UTC, Local, and ISO 8601 strings.

Client-side calculation
3. Decoded Date Formats
UTC: Tue, 14 Nov 2023 22:13:20 GMT | ISO: 2023-11-14T22:13:20.000Z

Also displays Local Browser Time and Relative Elapsed Time (e.g., "X days ago").

Epoch Origin (0)1970-01-01 00:00ZUTC Unix epoch baseline
10-Digit FormatSeconds (POSIX)Python, Linux, PHP, MySQL, JWT
13-Digit FormatMilliseconds (ms)JavaScript Date.now() & Java
Output FormatsUTC, Local & ISOPlus Relative Elapsed Time

Related Free Tools

Explore more browser-based tools in Daily & Text Utilities or browse the complete All Tools Directory.