DevToolDeck
All tools

Unix Timestamp Converter

Epoch to date and back

Everything runs locally in your browser. Your data never leaves your device.

About this tool

Convert between Unix epoch timestamps and human-readable dates. Works with seconds or milliseconds and shows local time, UTC, and ISO 8601.

Built for log diving, API debugging, cron troubleshooting, and confirming expiry windows, without timezone guesswork.

How to use it

  1. Enter a Unix timestamp or pick a date/time.
  2. Confirm whether the value is in seconds or milliseconds.
  3. Review local, UTC, and ISO representations.
  4. Copy the format you need into logs, queries, or code.

Common use cases

  • Decode timestamps from server logs and analytics.
  • Convert expiry times for tokens and signed URLs.
  • Prepare ISO dates for APIs and databases.
  • Cross-check local vs UTC during incident response.

Frequently asked questions

Seconds or milliseconds?

Both are supported. 10-digit values are typically seconds; 13-digit values are usually milliseconds.

Is conversion private?

Yes. All conversion happens in your browser.

Which timezone is “local”?

Your browser’s current timezone setting.

Does it handle leap seconds?

It follows standard JavaScript Date behavior for everyday engineering use.

Can I convert relative times like “2 hours ago”?

This tool focuses on absolute epoch ↔ date conversion for precise values.