Unix Timestamp Converter

Convert between Unix timestamps (seconds or milliseconds) and readable dates. Paste a timestamp or date string, or leave empty for the current time.

  • Runs entirely in your browser
  • No data stored or sent to a server
  • Free forever — no signup
  • Instant conversion

Input and Output

Use the interactive encoder and decoder on this page to process your text.

Learn more about Unix timestamps

How to Convert Unix Timestamps

Timestamp Conversion

Unix Timestamps Explained

A Unix timestamp counts seconds (or milliseconds) since January 1, 1970 00:00:00 UTC (the Unix epoch). APIs, databases, and logs commonly use timestamps for unambiguous time storage.

Seconds vs Milliseconds

JavaScript uses milliseconds (Date.now()), while many backends use seconds. Values above 1e12 are treated as milliseconds; values around 1e9–1e10 are treated as seconds.

Common Use Cases

  • Converting log timestamps to readable dates
  • Debugging JWT exp and iat claims
  • Checking MongoDB ObjectId embedded timestamps
  • Verifying API response date fields

Frequently asked questions

What timestamp format should I paste?

Paste Unix seconds (e.g. 1720000000), milliseconds (e.g. 1720000000000), or any parseable date string. Leave empty to use the current time.

What timezone is used?

ISO 8601 output is always UTC. The local time line uses your browser timezone.