Skip to main content
DigiToolBay
Developer ToolsClient-Side Browser Processing

Unix Timestamp Converter

Convert Unix seconds or milliseconds to UTC, ISO-8601, and local time—or dates back to epoch values.

Loading Unix Timestamp Converter...

Runs locally using browser Date and Intl APIs.

By DigiToolBay Editorial TeamPublished & verified:

About Unix Timestamp Converter: Guide & Practical Notes

API responses mix 10-digit Unix seconds (`1764160000`) with 13-digit JavaScript milliseconds (`1764160000000`), leaving engineers squinting at raw numbers to tell when a JWT expires or a log event fired.

Displays a live ticking Unix epoch clock, auto-detects seconds vs. milliseconds vs. microseconds, converts numeric timestamps into ISO-8601 UTC and device local time, and converts calendar dates back to Unix epoch values.

How to Use Unix Timestamp Converter Step by Step

  1. Paste any Unix timestamp (10-digit seconds, 13-digit milliseconds, or 16-digit microseconds) into Unix Timestamp.
  2. Or select a calendar date and time in the right-hand picker and click Convert Date → Epoch.
  3. Inspect UTC, ISO-8601, and local clock output or copy the result.

Worked Example

Convert a 10-digit Unix timestamp.

Inputs: 1764160000

Result: Detected unit: seconds | ISO-8601 UTC: 2025-11-26T12:26:40.000Z

Values under 1e11 are treated as seconds since 1970-01-01T00:00:00Z; values ≥ 1e11 parse as milliseconds.

POSIX Epoch Definition & 2038 Context

Unix time counts elapsed seconds since `1970-01-01T00:00:00Z` UTC (ignoring leap seconds per POSIX convention). JavaScript `Date` stores milliseconds safely up to ±8.64×10¹⁵ ms—far past the Year 2038 32-bit signed integer rollover (`2,147,483,647`).

Common Real-World Uses

  • Decoding `exp`, `iat`, and `nbf` claims from OAuth/JWT tokens
  • Translating database epoch columns into human-readable UTC timestamps
  • Generating future epoch cutoffs for cache TTLs or API queries

Common Mistakes to Avoid

  • Passing seconds into JavaScript `new Date(sec)` instead of `new Date(sec * 1000)` (landing in January 1970!).
  • Assuming Unix timestamps carry a time zone—Unix epoch is always anchored to UTC.

Supported Formats, Scope & Limitations

Auto-detection treats magnitudes ≥ 1e14 as microseconds and ≥ 1e11 as milliseconds; timestamps very close to 1970-01-01 in ms may need manual unit scaling.

Privacy & Local Processing

All conversions execute locally in your browser.

Frequently Asked Questions

How do I quickly tell seconds from milliseconds?

Modern seconds timestamps have 10 digits (e.g., `176...`), while millisecond timestamps have 13 digits (`176...000`).

Can I convert negative timestamps before 1970?

Yes—negative numbers map cleanly to pre-1970 dates.

Need to compare exact times across New York, London, and India? Open the Time Zone Converter.