Processed locally

Unix Timestamp to Date Online

Convert Unix timestamps to UTC, browser-local, and ISO 8601 dates with automatic seconds, milliseconds, microseconds, and nanoseconds detection.

What this tool does

Unix Timestamp to Date converts epoch values in seconds, milliseconds, microseconds, or nanoseconds into UTC, browser-local, and ISO 8601 dates. Auto detection is deterministic and can be overridden, while reverse conversion, batch processing, comparison, and precision diagnostics remain available as secondary workflows.

How to use

Follow the core workflow below. Use “Show in tool” to locate the real control in the live tool above.

  1. Enter a Unix timestamp

    Add a plain integer or fractional value to Unix timestamp. Use Now or Sample only when you need a known starting point.

    Unix timestampNowSample
  2. Confirm or change the detected unit

    Keep Auto detect unit for an undocumented value, or select Seconds, Milliseconds, Microseconds, or Nanoseconds when the source contract is known.

    Auto detect unitSecondsMilliseconds
  3. Compare UTC, local and ISO results

    Review Conversion result to compare UTC, Browser local, and ISO 8601 for the same epoch instant, then check the detected unit and timezone labels.

    UTCBrowser localISO 8601
  4. Copy the representation you need

    Copy the specific display or canonical Unix unit required by your API, log, test, or code path. More canonical units remain available without crowding the primary result.

    CopyUnix secondsUnix milliseconds
  5. Enter a date and time

    Open Date → Unix and enter the calendar date and time that should be converted into an epoch value. Milliseconds can be included when the source contains them.

    Date → UnixDate and time
  6. Choose how to interpret the date

    Select UTC when the input already describes universal time, or Browser local time when it should be interpreted using the browser timezone.

    Interpret asUTCBrowser local time
  7. Convert the date to Unix time

    Run Convert date after confirming the value and timezone interpretation. The conversion produces seconds, milliseconds, and the normalized ISO instant.

    Convert date
  8. Review and copy the Unix result

    Check the seconds, milliseconds, and ISO 8601 outputs, then copy an individual value or prepare the reverse-conversion context.

    SecondsMillisecondsISO 8601Copy
  9. Add timestamps for batch conversion

    Open Batch and paste up to 1,000 timestamp values with one value per line. Seconds, milliseconds, microseconds, and nanoseconds can be mixed in the same list.

    BatchUnix timestamps
  10. Convert the complete batch

    Run Convert batch to process every non-empty line. Invalid values remain visible as errors without preventing valid rows from being converted.

    Convert batchClear
  11. Review units, dates, and row status

    Inspect the result table to confirm each original value, detected unit, UTC date, ISO 8601 value, and conversion status.

    OriginalUnitUTCISO 8601Status
  12. Copy or download the batch result

    Copy the complete table, download it as CSV, or prepare summary-only AI-ready context after reviewing the converted rows.

    Copy tableDownload CSVPrepare AI-ready context
  13. Enter timestamps A and B

    Open Compare and provide the two epoch values whose exact temporal difference you need to measure.

    CompareTimestamp ATimestamp B
  14. Confirm the unit of each timestamp

    Keep Auto detect when the source units are undocumented, or explicitly select the unit for A and B when their contracts are known.

    Unit AUnit BAuto detect
  15. Run the timestamp comparison

    Select Compare timestamps after checking both values and units. The tool normalizes both inputs before calculating their exact delta.

    Compare timestamps
  16. Review the direction and exact delta

    Confirm whether A precedes or follows B, compare their ISO instants, and inspect the delta in seconds, milliseconds, and nanoseconds before preparing context.

    A → BDelta secondsDelta millisecondsDelta nanoseconds
Success

You can now convert a timestamp, reverse a date into Unix time, process a batch, compare two instants, and export the representation you need.

Copy a resultDownload CSVPrepare AI-ready context

Examples

Inspect an API or log timestamp

Convert an issued-at, created-at, or event value and compare its UTC and browser-local representations.

Catch the JavaScript seconds pitfall

Check whether a 10-digit value needs to be multiplied by 1,000 before it is passed to the JavaScript Date constructor.

Compare expiry and issued-at

Use Compare to measure the deterministic delta between two timestamps even when their source units differ.

Decode a pre-1970 value

Convert a negative timestamp such as -1 to verify an instant immediately before the Unix epoch.

Common errors

  • Seconds are passed directly to a JavaScript Date constructor that expects milliseconds.
  • UTC and browser-local displays are treated as different instants instead of different timezone representations.
  • A large microsecond or nanosecond integer is converted to Number and loses precision.
  • An out-of-range value is forced into a date instead of checking the source unit.
  • Changing the timezone label is assumed to change the underlying Unix epoch instant.

AI workflow

Use Prepare AI-ready context to preview an agent-neutral local export that separates timestamp facts, deterministic diagnostics, and limitations. Single and compare modes include the relevant values and precision warnings; batch mode includes summary counts only. Nothing is sent to an external AI service.

Learn with this tool

Understand the concept, inspect a testable example, then open it in the tool above.

Systems & DevOpsYear 2038 Problem Explained: Unix Time, 32-Bit Overflow, and Y2K38

Frequently asked questions about Unix Timestamp to Date