Epoch Converter

Convert epoch/Unix timestamps to ISO 8601, RFC 2822, UTC, local time, and more. Auto-detects seconds, milliseconds, and microseconds. Live current epoch display.

Last updated: June 1, 2026

Current Epoch (seconds)
1784670950
Current Epoch (milliseconds)
1784670950625
Auto-detects: 10 digits = seconds, 13 = milliseconds, 16+ = microseconds

Current Time in All Formats

FormatValue
Unix (seconds)1784670950
Unix (milliseconds)1784670950625
ISO 86012026-07-21T21:55:50.625Z
RFC 2822Tue, 21 Jul 2026 21:55:50 GMT
Local DateTuesday, July 21, 2026
Local Time09:55:50 PM
Day of Year202
Week Number30
Leap YearNo

What is Epoch Converter?

An epoch converter is a comprehensive timestamp tool that translates Unix epoch values (the number of seconds or milliseconds since January 1, 1970 UTC) into every common date format — ISO 8601, RFC 2822, UTC, local time, relative time ('3 hours ago'), day of year, and week number. It also converts dates back to epoch format in seconds, milliseconds, and microseconds. Epoch timestamps appear everywhere in programming: database records, API responses, log files, JWT tokens, and system events. This tool decodes them all instantly.

How It Works

Enter an epoch timestamp and the tool auto-detects its precision: 10 digits = seconds, 13 digits = milliseconds, 16+ digits = microseconds. It converts to a Date object and formats it in every useful representation simultaneously. Each format has a copy button for quick use. In reverse mode, select a date/time and get the corresponding epoch value in all three precisions. A live display shows the current epoch updating every second, useful as a quick reference when writing code that generates or consumes timestamps.

Common Use Cases

  • Decoding timestamps from API responses, database records, and log files into readable dates
  • Converting specific dates to epoch format for use in API queries and database filters
  • Debugging JWT token expiration (exp claim) and issued-at (iat) times
  • Setting cookie expiration, cache TTLs, and scheduler intervals using epoch values
  • Comparing timestamps from different systems that use different precision (seconds vs milliseconds)
  • Creating test data with specific timestamps for automated testing and fixture generation

Frequently Asked Questions

What is epoch time?

Epoch (or Unix) time is the number of seconds elapsed since January 1, 1970 00:00:00 UTC. It's widely used in programming and databases.

What's the difference between seconds, milliseconds, and microseconds?

Seconds are 10 digits (e.g., 1700000000), milliseconds are 13 digits (e.g., 1700000000000), and microseconds are 16 digits. This tool auto-detects all three.

What formats does this tool output?

ISO 8601, RFC 2822, UTC, local time, relative time (e.g., '3 hours ago'), day of year, week number, and more.

Related Tools

If you find Epoch Converter useful, you might also want to try these related tools from our Converters collection: