Free Tool

Epoch / Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and times, or convert dates to Unix timestamps. Shows GMT, local, and relative time.

Timestamp to Human date

Supports seconds, milliseconds, microseconds and nanoseconds

Human date to timestamp

What is a Unix timestamp?

A Unix (epoch) timestamp is the number of seconds elapsed since January 1, 1970 00:00:00 UTC. It is timezone-agnostic and used universally in databases, APIs, and log files.

Milliseconds vs seconds

Most Unix timestamps are in seconds (10 digits). JavaScript uses milliseconds (13 digits). This tool auto-detects both, plus microseconds and nanoseconds.

How to use

  1. Paste a Unix timestamp in the top section and click Convert — GMT, local, and relative time are shown.
  2. Or use the bottom section to pick a date and time to get its Unix timestamp.

All conversions happen in your browser — nothing is sent to any server.

Frequently Asked Questions

What formats does this support?
Seconds (10-digit), milliseconds (13-digit), microseconds (16-digit), and nanoseconds (19-digit) timestamps.
Why is my timestamp off by a few hours?
Timestamps are timezone-agnostic. The local time shown uses your browser's timezone. If you expect a different timezone, use the Timezone selector.