Epoch Converter.
Convert in either direction: a Unix epoch (seconds or milliseconds) to a datetime, or a date and time back to an epoch.
Input
Output
Pick a direction and enter a value on the left.
About this tool.
Pick a direction with the toggle (or hit Flip). 'Epoch → Datetime' takes a strict numeric input and a sec/ms unit toggle, then renders ISO 8601, UTC, RFC 2822, local time, weekday, and a relative time. 'Datetime → Epoch' uses native date and time pickers with a Local/UTC interpretation toggle, and returns the epoch in seconds, milliseconds, and fractional seconds plus the normalised ISO and UTC strings. Both directions catch impossible dates and out-of-range numbers.
Privacy.
Runs in your browserEverything is computed in your browser via the built-in Date API. Local interpretation uses your system timezone, which is never sent over the network.
Disclaimer. Provided as-is, with no warranty of any kind. Always check critical results before acting on them. I accept no liability for inaccuracies, bugs, or any loss or damages arising from use of these tools.
Spotted a bug or want to suggest an improvement?Let me know
More tools.
All tools- Unix Timestamp ConverterConvert between Unix timestamps and human-readable dates. Auto-detects seconds vs milliseconds.
- .env ComparatorSpot missing, extra or changed keys between two env files, all inside your browser.
- CIDR / Subnet CalculatorBreak a CIDR into its network, broadcast, range, masks, and a coloured binary view.