Use this free Unix timestamp converter to turn epoch time into a readable date, or a date into a Unix timestamp. Paste a timestamp in seconds, milliseconds, microseconds, or nanoseconds, and the tool detects the unit for you. Each result shows UTC, your local time, ISO 8601, and how long ago or how far away the moment is, and you can copy any value in one click.

A Unix timestamp is the same everywhere on Earth. Only the way you display it changes with the time zone.

How to use the timestamp converter

  • Pick a direction: Timestamp to date, or Date to timestamp.
  • Enter a value: paste a timestamp, or choose a date and time. Press “Use now” to load the current moment.
  • Check the unit or zone: leave the unit on Auto, or set it yourself. For dates, choose whether the time you entered is local or UTC.
  • Copy the result: copy a single value from the table, or copy everything at once.

Timestamp units at a glance

UnitExampleCommon in
Seconds1767225600Unix, PHP, Python, databases, JWT
Milliseconds1767225600000JavaScript, Java, many APIs
Microseconds1767225600000000PostgreSQL, Python datetime
Nanoseconds1767225600000000000Go, logging and tracing systems

Things to know about Unix time

  • It starts at the epoch: 0 means 00:00:00 UTC on January 1, 1970.
  • It has no time zone: the timestamp is always counted from UTC.
  • Negative values are valid: they represent dates before 1970.
  • Leap seconds are ignored: every Unix day is exactly 86,400 seconds.
  • 32-bit storage runs out in 2038: signed 32-bit timestamps overflow after 2147483647.
Store and send timestamps in UTC, and convert to local time only when you show them to a person.

Worked examples

Read a timestamp from a log

Paste 1767225600 and click Convert. The tool detects seconds and shows 2026-01-01T00:00:00.000Z in ISO 8601, plus the same moment in your local time.

Fix a date that shows 1970

If a date displays as January 1970, a millisecond value was probably read as seconds, or the other way around. Paste the number here and Auto shows which unit it really is.

Create a timestamp for a deadline

Switch to Date to timestamp, choose the date and time, and pick Local time or UTC. Copy the seconds or milliseconds value straight into your code or API request.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp, also called epoch time, is the number of seconds since 00:00:00 UTC on January 1, 1970. It is the same everywhere in the world, regardless of time zone.

Is this timestamp converter free?

Yes. You can convert timestamps and dates without creating an account, and every conversion runs in your browser.

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

Count the digits. Current timestamps have 10 digits in seconds, 13 in milliseconds, 16 in microseconds, and 19 in nanoseconds. The converter detects the unit automatically.

Does a Unix timestamp include a time zone?

No. A Unix timestamp always counts from UTC. Time zones only matter when you display it as a date, so the same timestamp shows a different local time in each zone.

Can I convert dates before 1970?

Yes. Dates before January 1, 1970 have negative Unix timestamps, and the converter supports them in both directions.

What is the Year 2038 problem?

Systems that store Unix time as a signed 32-bit number overflow on January 19, 2038 at 03:14:07 UTC. Using 64-bit timestamps avoids the problem.

Share this article