Skip to content
LineOtter

Unix timestamp converter

Paste a timestamp from a log, database or API to see when it was, or paste a date to get its Unix time. Seconds and milliseconds are detected automatically.

Runs in your browser. Nothing is uploaded.

Loading tool…

How to use

  1. Paste a Unix timestamp or a date, or press Now.
  2. Check how it was read (seconds, milliseconds or date).
  3. Copy the format you need.

Common uses

  • Read when an event happened from a timestamp in a log file, database row or API response.
  • Get the Unix time for a date to use in a query, URL parameter or test.
  • Check whether a value is in seconds or milliseconds when two systems disagree.

Example

Input
1700000000
Result
2023-11-14T22:13:20.000Z

Read as Unix seconds.

Good to know

  • Seconds or milliseconds: 12 or more digits are read as milliseconds, fewer as seconds.
  • Spotting the unit: current dates are 10 digits in seconds (such as 1767225600) and 13 digits in milliseconds. Unix time is used by Linux, databases, JavaScript and most APIs.
  • Also accepted: decimals, and negative numbers for dates before 1970.
  • Dates: 2026-03-01T12:00:00Z style works everywhere. A date without a time zone is read as your local time.
  • Results: Unix seconds, milliseconds, ISO 8601, UTC, and your own time zone.
  • Leap seconds: ignored, as in almost every system that uses Unix time.

Questions

Why is my timestamp in the year 55,000?

It is probably in milliseconds but was read as seconds somewhere else. This tool detects the unit by length and tells you which it used.

What is the Year 2038 problem?

Some old systems store Unix time as a signed 32-bit number of seconds, which runs out on 19 January 2038. This converter uses JavaScript dates, which cover far beyond that.

Which time zone is used?

Both: the result shows UTC and your device's own time zone, named next to the value.

Can I enter a date without a time?

Yes, such as 2026-03-01. Browsers read a date-only ISO value as midnight UTC.