Step 1
Open [Unix Timestamp Converter](/tools/unix-timestamp-converter).
Loading workspace...
Preparing your tools
Guide
Convert Unix seconds or milliseconds to dates, enter ISO 8601 with timezone offsets, and avoid DST and unit mistakes.
Unix timestamps encode moments as counts from the Unix epoch at 1970-01-01 00:00:00 UTC. APIs may use seconds while JavaScript often uses milliseconds. Unix Timestamp Converter helps inspect numeric timestamps and convert supported ISO calendar input into an epoch value.
The current browser code detects seconds versus milliseconds using a magnitude threshold, and it accepts date-only input or ISO 8601 datetimes with an explicit timezone offset. This avoids guessing the timezone for ambiguous free-form date strings.
Open [Unix Timestamp Converter](/tools/unix-timestamp-converter).
Paste a known numeric epoch, such as `0`, and confirm that it corresponds to the epoch in UTC.
Try a timestamp from a log and verify whether your source documents seconds or milliseconds.
Review the ISO UTC output alongside any local time presentation.
Copy the appropriate unit into your application, without silently changing its timezone context.
0, and confirm that it corresponds to the epoch in UTC.A ten-digit epoch is commonly measured in seconds in contemporary systems, while thirteen-digit timestamps are often milliseconds. But counting digits is not a universal standard for historical, future or negative values; check the source contract.
For deterministic input, enter a date such as 2026-11-17 or an ISO timestamp with Z or an explicit offset, for example 2026-11-17T09:30:00+01:00. The date-only form is interpreted as UTC midnight by the current implementation. An offset datetime identifies a specific instant.
A local clock time without an offset is ambiguous during daylight-saving transitions. The converter intentionally prefers explicit timezone information rather than guessing. If a business event happened in a named timezone such as Europe/Tirane, use the correct offset for that specific date.
An accidental multiplication or division by 1000 can move a log timestamp to a nonsensical year. The converter's automatic unit detection is a convenience with defined limits, not a substitute for an API schema. For a system that explicitly specifies milliseconds, select that unit or validate it independently.
JavaScript dates also have a supported numerical range. Very large values are rejected rather than producing arbitrary timestamps. Fractional seconds may be represented with milliseconds precision, and some conversions floor the resulting whole-second value.
If a timestamp appears thousands of years away, check its unit. If the hour differs by one, check UTC versus local timezone and daylight saving. If a date string is rejected, use ISO 8601 with a timezone offset rather than a regional format such as 11/17/2026.
Continue your workflow with these matching tools.
Related, practical walkthroughs for the tools used in this guide.
Indent JavaScript snippets using a lightweight browser formatter and verify syntax, strings and template literals before deployment.
Read the guide →
Pretty-print JSON with browser parsing, inspect objects and arrays, and understand number precision and schema limitations.
Read the guide →
Parse and compact JSON without breaking spaces in strings, and check signed payloads and large numeric identifiers.
Read the guide →
Upload your file and apply these settings in under a minute.