Home › Developer Tools › Unix Timestamp Converter
⏲

Unix Timestamp Converter

Convert epoch timestamps to readable dates, or dates to Unix time — seconds, milliseconds and more.

Your data stays on your device. This tool processes everything directly in your browser. Nothing you enter is sent to our servers.

Current Unix time (seconds) —
Milliseconds —

Timestamp → date

Paste a Unix timestamp. The unit is detected automatically.

Date → timestamp

Pick a date and time to get its Unix timestamp.

How it works

  1. Paste a Unix timestamp — seconds, milliseconds, microseconds or nanoseconds.
  2. The unit is detected automatically; change it if needed.
  3. Read the date in your local time, UTC, ISO 8601 and RFC 2822, and copy any format.
  4. To go the other way, pick a date and time to get its Unix timestamp.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp (epoch time) counts the seconds since 00:00:00 UTC on 1 January 1970. It is the same everywhere in the world, which makes it ideal for storing and comparing times in software.

How do I know if my timestamp is in seconds or milliseconds?

Count the digits: current times are 10 digits in seconds and 13 digits in milliseconds (JavaScript's Date.now()). 16 and 19 digits mean micro- and nanoseconds. The converter detects this for you.

Why does my converted time look a few hours off?

Timestamps are always UTC. The "Your time" row applies your device's time zone, so it will differ from the UTC row by your offset — both describe the same moment.

What is the year 2038 problem?

Systems that store Unix time as a signed 32-bit number overflow on 19 January 2038 at 03:14:07 UTC. Modern systems use 64-bit timestamps, which this converter supports far beyond that date.

Convert Unix time to a readable date

Logs, databases and APIs often store time as a Unix timestamp such as 1767225600. It is easy for computers but hard for people to read. Paste a timestamp to see the exact date and time in your time zone and in UTC, along with standard formats you can copy into code or documentation.

Seconds, milliseconds and more

  • Seconds (10 digits) — Unix, PHP time(), Python time.time(), most databases.
  • Milliseconds (13 digits) — JavaScript Date.now(), Java System.currentTimeMillis().
  • Microseconds (16 digits) and nanoseconds (19 digits) — high-precision logging and tracing systems.

Date formats included

ISO 8601 (2026-01-01T00:00:00.000Z) is the best choice for APIs and JSON. RFC 2822 (Thu, 01 Jan 2026 00:00:00 +0000) appears in email headers and HTTP. The UTC and local versions help when reading logs from servers in other regions.

Converting a date to a timestamp

Choose a date and time and decide whether it is in your local time zone or UTC. The tool returns the timestamp in seconds and milliseconds, ready to paste into a query, cron job or test.

Keyboard shortcuts

/
Search all tools
?
Show this help
Esc
Close search or dialogs
Ctrl + Enter
Run the tool's main action (Format, Generate, Calculate…)
Ctrl + K
Clear the tool's input

Tool shortcuts work while you're using a tool, including inside its text boxes.