Unix Timestamp Converter

Current Unix Timestamp

Timestamp → Date

Date → Timestamp

Seconds
Milliseconds
UTC

What is this tool?

Use this Unix timestamp converter to translate epoch time into readable dates, or convert a local date and time into Unix seconds and milliseconds. The page also shows the current Unix timestamp, so you can copy the current epoch value without opening a terminal.

Unix time counts elapsed time from 1970-01-01 00:00:00 UTC. It is often used in APIs, logs, databases, cache headers, job schedulers, analytics events, and signed payloads. This tool shows UTC and your browser’s local time side by side so you can spot time zone mistakes quickly.

Common use cases

Reading log values

Paste a timestamp from logs or JSON and view the UTC and local date/time.

Creating test data

Pick a local date and time to get Unix seconds and milliseconds for fixtures or API examples.

Checking seconds vs milliseconds

Use Auto when you are not sure whether a timestamp is in seconds or milliseconds.

Comparing UTC and local time

Use the UTC output when working with API contracts, then compare it with the local output to explain the same instant to a user or teammate.

How to Use

  1. Copy the current timestamp if you need the current Unix time in seconds.
  2. To convert a timestamp, paste an integer into Timestamp -> Date.
  3. Choose Auto, Seconds, or Milliseconds.
  4. To convert a date, choose a value in Date -> Timestamp.
  5. Use the copy buttons next to values you want to reuse.

Notes / Limitations

Date input uses the browser’s local time zone. This tool does not provide a time zone selector on the timestamp page.

  • Auto-detection treats large values as milliseconds and smaller values as seconds.
  • Timestamp input must be an integer.
  • UTC output is shown separately from the browser’s local date/time.
  • Leap seconds and historical calendar rules are handled by the browser’s JavaScript date implementation.

Privacy / local processing

Timestamp conversion runs in the browser with JavaScript date APIs. The timestamp tool code does not send your entered values to a server.