Epoch Converter

Convert between epoch timestamps and human-readable dates

Timestamp to Date

Date to Timestamp

About Epoch Converter

Epoch time (also called Unix time) is a way to represent dates as a single number: the count of seconds since January 1, 1970, at 00:00:00 UTC. This converter handles both directions of conversion.

Use the top section to paste a timestamp and see it as a readable date in UTC, local time, ISO 8601, and RFC 2822 formats. Use the bottom section to select a date and get its epoch timestamp in seconds or milliseconds.

The tool supports seconds, milliseconds, microseconds, and nanoseconds, making it useful for any programming language or system that uses epoch time.

How It Works

  • JavaScript uses milliseconds, while many APIs use seconds
  • Python, Go, and Ruby typically work with seconds
  • Databases like MySQL and PostgreSQL store timestamps in seconds
  • This tool auto-detects the format based on digit count