Skip to content
ToolboxHere home

Unix timestamp converter

See the current Unix time and copy it, turn any timestamp into a readable date in your zone, in UTC and in a zone you choose, or turn a date into a timestamp. Seconds, milliseconds, microseconds and nanoseconds are told apart by their length.

  • Nothing you type leaves your device
  • 100% free
  • No sign-up
  • Instant results
Unix Timestamp ConverterThe current Unix time ticking, any timestamp to a date in your zone, UTC and another, and a date back to a timestamp.Starting… the tool runs entirely in your browser and needs JavaScript.

How to use Unix Timestamp Converter

  1. Copy the current epoch at the top; switch between seconds and milliseconds.
  2. Paste a timestamp: the page reads 10 digits as seconds, 13 as milliseconds, and shows the date in your zone, UTC and the zone you pick, as ISO 8601 and RFC 2822, and as "3 days ago".
  3. Type a date the other way (2026-09-27 15:00, 27 Sep 2026, or ISO with an offset) to get its timestamp.
  4. Copy the same instant as JavaScript, Python, SQL, Go, Java or shell code.

Why use Unix Timestamp Converter

Unit by length

No unit menu to get wrong: 10 digits are seconds, 13 milliseconds (JavaScript, Java), 16 microseconds, 19 nanoseconds (Go).

Three zones at once

Your zone, UTC and any other, with summer time from the browser's own rules, so a log line and a meeting time line up.

Dates in

ISO 8601 with or without an offset, "2026-09-27 15:00", "27 Sep 2026": read in the zone you chose, with a note saying how.

Code snippets

The instant as new Date(), datetime.fromtimestamp, to_timestamp, time.Unix and more, ready to paste.

About this tool

Unix time counts seconds since 1 January 1970 UTC and is how systems store and exchange moments: logs, tokens (a JWT's exp), databases, APIs. It is the same number everywhere; only the date it is displayed as depends on the time zone, which is the source of most confusion. JavaScript and Java count in milliseconds, so the same instant is a 13-digit number there and a 10-digit one in Python or a shell.

This converter reads the unit from the length, shows the moment in your zone, UTC and a zone you pick, and converts dates back with a note saying which zone it assumed. The 32-bit limit of 19 January 2038 is one tap away for testing. Everything runs in your browser.

Frequently asked questions

What is the current Unix timestamp?

It is shown at the top and updates every second; tap Copy. Switch the unit to milliseconds for JavaScript.

Is my timestamp in seconds or milliseconds?

Count the digits: 1700000000 (10) is seconds, 1700000000000 (13) is milliseconds. The page reads it by length and says so.

Why does the date differ from my server's log?

The server probably prints UTC while you are looking at your local zone. Pick UTC in "Show times in" to compare.

What happens in 2038?

32-bit signed counters of seconds overflow on 19 January 2038 at 03:14:07 UTC. 64-bit systems and milliseconds in JavaScript are not affected.

Which zone does a typed date use?

A date with an offset (Z or +03:00) is read as written; a date without one is read in the zone you chose in "Show times in", and the note under the box says so.

Related tools