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.
Elapsed seconds since Jan 01 1970 00:00:00 (UTC)
Convert Timestamp to Date
10-Digit (Seconds)Convert Date to Timestamp
Used in Python, Linux, PHP, MySQL, and Nginx
Used in JavaScript, Node.js, and Java System.currentTimeMillis()
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.
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
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
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
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
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.
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.
Built-in "1,700,000,000 (Nov 2023)" preset button in Convert Timestamp to Date.
isMs = tsNum > 99999999999 → new Date(isMs ? tsNum : tsNum * 1000) → UTC, Local, and ISO 8601 strings.
Also displays Local Browser Time and Relative Elapsed Time (e.g., "X days ago").
Related Free Tools
Explore more browser-based tools in Daily & Text Utilities or browse the complete All Tools Directory.
Count calendar days, working business days, weekends, custom holidays, and exact years, months, and days between two dates.
Format, beautify, validate, and minify JSON online with 2-space or 4-space indentation, syntax error alerts, copy, and .json download.
Generate RFC 4122 Version 4 UUIDs (GUIDs) in batches of 1, 5, 10, or 25 with uppercase and hyphen formatting toggles.
Calculate exact chronological age in years, months, and days between a Date of Birth and any target date, with next birthday countdown, total days, weeks, hours, birth weekday, and zodiac sign.