KitBench

Unix Timestamp Converter

Convert Epoch timestamps (seconds or milliseconds) to ISO 8601 UTC and local time, and vice versa.

Privacy Notice: Runs locally in your browser without uploading files to external servers or requiring an account.

Interactive Browser Workspace

Loading the interactive Unix Timestamp Converter workspace. Enable JavaScript in your browser to run calculations and conversions locally.

How to Use Unix Timestamp Converter

  1. Enter a Unix timestamp (seconds or milliseconds) or click Use Current Time.
  2. Or pick a date and time to generate its corresponding Epoch timestamp.

Methodology & Accuracy

Auto-detects 10-digit seconds vs 13-digit milliseconds (or lets you override) and formats via `Date.toISOString()` and UTC strings.

Examples

  • `1700000000` equals `2023-11-14T22:13:20.000Z`.

Scope & Limitations

  • JavaScript `Date` supports timestamps within +/- 8,640,000,000,000,000 milliseconds of the 1970 epoch.

Frequently Asked Questions

How does Auto mode tell seconds from milliseconds?

Values with absolute magnitude >= 100,000,000,000 (11+ digits) are treated as milliseconds.

Does the converter show both UTC and my local timezone?

Yes. Converting a Unix epoch displays the exact UTC ISO-8601 timestamp alongside your browser local date and time for quick debugging.

Can I convert a human-readable date back into a Unix timestamp?

Yes. Enter a date and time to generate both 10-digit seconds and 13-digit milliseconds Unix epoch values.

Related Tools