Skip to content

Unix Timestamp Converter

Convert between Unix epoch time and human dates.

Seconds or milliseconds — detected automatically.

Interpreted in your local timezone.

Enter a Unix timestamp (in seconds or milliseconds) to see it as a readable UTC and local date, or enter a date to get its epoch value. Unix time counts the seconds since 1 January 1970 UTC and is the format most APIs and databases store time in.

The converter detects whether your number is in seconds or milliseconds by its length, and shows both UTC and your local timezone so there is no ambiguity. It all runs in your browser.

Frequently asked questions

Is a Unix timestamp in seconds or milliseconds?

Unix time is defined in seconds, but many systems (including JavaScript’s Date.now) use milliseconds. A seconds timestamp is ~10 digits today; a milliseconds one is ~13. This tool detects the difference by length.

What timezone is a Unix timestamp in?

None — it is an absolute count of seconds since the 1970 epoch in UTC. It only gains a timezone when you format it for display, which is why this tool shows both UTC and your local time.