FreeOnlineQR

Timestamp Converter

Convert a Unix timestamp into a date you can read, or a date back into the number your logs and APIs use. Timestamps count from midnight UTC on 1 January 1970, and the usual confusion is whether a number is in seconds or milliseconds — this page detects that from the size of the number and tells you which it assumed, so a log line is never read as a date 47,000 years in the future.

Seconds or milliseconds since 1 January 1970 UTC.

Interpreted as UTC, so the answer doesn't shift with whoever is reading the page.

Result

Read as seconds — detected from the size of the number. Every line is UTC, so it reads the same wherever you are.

Nothing is uploaded — this tool runs inside your browser, so your files never leave your device.

Help us improve

Why use this tool

  • Converts in both directions — timestamp to date, date to timestamp
  • Detects seconds versus milliseconds, and says which it used
  • Shows ISO 8601, a readable UTC date and the day of the week
  • Everything is UTC, so the answer doesn't change with who is reading it

How it works

  1. 1Choose which direction you're converting.
  2. 2Type the timestamp, or pick a date and a UTC time.
  3. 3Read the result — ISO 8601, plain date, and both seconds and milliseconds.

Timestamp Converter — frequently asked questions

By its length. A current timestamp in seconds is 10 digits; in milliseconds it is 13. Anything above about 100,000,000,000 is milliseconds, because as seconds it would be the year 5138 — that is precisely the rule this page applies when the unit is left on automatic.

Explore the other tools

Same deal everywhere on the site — free, no sign-up, and no watermark on anything you download.

Or see every tool on one page.