Epoch Converter
Convert Unix epoch timestamps to human-readable dates and back. Supports seconds, milliseconds, ISO 8601, RFC 2822, and local time formats.
Built by Michael Lip
Frequently Asked Questions
What is a Unix epoch timestamp?
A Unix epoch timestamp is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. It is widely used in programming, databases, and APIs to represent points in time as a single integer.
How do I convert an epoch timestamp to a date?
Paste your epoch value into the input field and click Convert. The tool auto-detects whether your value is in seconds (10 digits) or milliseconds (13 digits) and displays the result in UTC, local time, ISO 8601, and RFC 2822 formats.
What is the difference between seconds and milliseconds timestamps?
Seconds timestamps have 10 digits (e.g., 1712000000) while milliseconds timestamps have 13 digits (e.g., 1712000000000). JavaScript uses milliseconds, Python and most Unix systems use seconds.
Can this tool handle negative epoch values?
Yes. Negative epoch values represent dates before January 1, 1970. For example, -86400 corresponds to December 31, 1969. The converter handles these correctly.
How It Works
This tool runs entirely in your browser using vanilla JavaScript. No data is sent to any server. All conversions and calculations happen locally on your device, ensuring complete privacy.
EpochPilot uses the browser's built-in Intl.DateTimeFormat API and the IANA timezone database provided by your operating system. This means timezone conversions are always accurate, including Daylight Saving Time transitions.
Related Tools
Privacy
Everything runs locally in your browser. No timestamps, dates, or personal data are transmitted to any server. The source code is open on GitHub.
Contact
EpochPilot is built and maintained by Michael Lip. For questions or feedback, email [email protected].