---
title: "Epoch timestamp converter"
description: "Convert Unix epoch seconds or milliseconds to local and ISO dates, or convert a date-time back locally."
---

> HTML: https://trendalyzer.app/tools/epoch-converter/
> Index: https://trendalyzer.app/llms.txt

# Epoch timestamp converter

An epoch timestamp converter translates between a human-readable date-time and the number of seconds or milliseconds since 1970-01-01 at 00:00:00 UTC. The tool accepts either common timestamp precision automatically, displays an ISO UTC value, and also shows the browser's local rendering when converting back. Date parsing and arithmetic use the device's JavaScript time implementation and never send the chosen moment or time zone to a server.

Readiness: experimental

Input types: local date and time, Unix timestamp

Output types: seconds, milliseconds, ISO date, local date

## Limits

- Dates are limited to the range supported by the browser Date implementation.

## Warnings

- A datetime-local input has no named time zone and uses the browser's current local zone.

## Worked example

Given: Unix 0 (1970-01-01T00:00:00Z)

Result: 0 seconds / 0 milliseconds; ISO 1970-01-01T00:00:00.000Z

## Steps

1. **Choose a direction** — Convert a local date-time to a Unix timestamp, or paste seconds/milliseconds back to a date.
2. **Enter the value** — Use the date picker for wall-clock input, or type a numeric epoch in the timestamp field.
3. **Read seconds, milliseconds, and ISO** — Both precisions and an ISO UTC string are shown so API payloads are easy to verify.

## Seconds versus milliseconds

Unix tools often disagree on precision. This result shows both values so API payloads can be checked without relying on digit counting alone. Epoch `0` is the classic UTC midnight of 1 January 1970.

## Local time caveat

The date picker represents the browser's current zone. Use the separate time-zone converter when a named IANA location and daylight-saving rules matter.

## FAQ



### How does the tool distinguish seconds from milliseconds?

Numeric magnitudes below one hundred billion are treated as seconds; larger values are treated as milliseconds.

### Which time zone does the date picker use?

datetime-local uses the browser's current local zone and has no named IANA ID. Use the time-zone converter when city rules matter.
