Skip to content

Developer Tools

Unix Timestamp Converter

Convert a Unix timestamp to a human-readable UTC, local and ISO date — and convert any date back to a Unix timestamp in seconds or milliseconds. Shows the current epoch time live.

Developer Tools · Unix Timestamp ConverterRuns in your browser

Current Unix time

1793636004

Read as seconds (10 digits).

UTC

Mon, 02 Nov 2026 16:13:24 GMT

Your local time

11/2/2026, 4:13:24 PM

ISO 8601

2026-11-02T16:13:24.000Z

How to convert between Unix time and a date

  1. Check the Current Unix time at the top. It counts up once a second and is shown in seconds, the unit most servers and APIs use.
  2. To read a timestamp, paste it into the first box. The box is pre-filled with the moment the page loaded, so you can see the three output formats before you type anything.
  3. Read the result in UTC, in your local time and as an ISO 8601 string, with a short note above them saying whether the number was read as seconds or milliseconds. All three update as you type.
  4. To go the other way, choose a date and time with the Date → Unix timestamp picker. The seconds value is highlighted and the millisecond value sits next to it.

How the tool decides between seconds and milliseconds

The rule counts digits: a whole number with 13 or more digits is read as milliseconds, and a whole number with up to 12 digits is read as seconds and multiplied by 1,000. Both 1750000000 (ten digits) and 1750000000000 (thirteen digits) therefore land on the same instant, Sunday 15 June 2025 at 15:06:40 UTC, and the note above the results tells you which unit was assumed.

A decimal point marks a seconds value with a fraction: 1750000000.5 is read as seconds, and the half second shows up in the ISO line as 2025-06-15T15:06:40.500Z. A plain 12-digit number such as 100000000000 stays seconds, which puts it in the year 5138, so a millisecond value must carry its full thirteen digits. Negative numbers work and go back before 1970: -1 is 31 December 1969 at 23:59:59 UTC, and the minus sign is not counted as a digit.

The three output formats explained

Because the local line depends on your device settings, two people pasting the same number can see different wall-clock times while the UTC and ISO lines stay identical. There is no zone selector, so to see the time in another zone use the ISO value with a time zone converter.

LabelShown for 1750000000How it is produced
UTCSun, 15 Jun 2025 15:06:40 GMTThe browser's toUTCString, the same layout HTTP Date headers use
Your local time6/15/2025, 3:06:40 PM in a US-English browser set to UTCtoLocaleString, so the layout follows your browser language and the zone follows your operating system
ISO 86012025-06-15T15:06:40.000ZtoISOString, always in UTC with three decimal places for milliseconds

Date to timestamp: which zone the picker uses

The date picker is a plain datetime-local field, which has no zone of its own. The browser interprets what you choose in your device's current zone and the tool divides the resulting milliseconds by 1,000, rounding down. Choosing 15 June 2025 at 15:06 on a computer set to London (British Summer Time, UTC+1) gives 1749996360, while the same choice in New York (UTC−4) gives 1750014360, a difference of five hours. If you need the timestamp of a UTC wall-clock time, shift the time you enter by your own offset, or temporarily change the computer's zone.

Most browsers let the picker select minutes only, so the seconds value usually ends in a multiple of 60 and the millisecond value ends in 000.

Landmark values worth recognising

Timestamp (seconds)UTC date and timeWhy it matters
01 Jan 1970 00:00:00The Unix epoch itself
10000000009 Sep 2001 01:46:40First ten-digit timestamp
170000000014 Nov 2023 22:13:20A quick sanity check for recent logs
200000000018 May 2033 03:33:20Timestamps starting with 2 are still a few years away
214748364719 Jan 2038 03:14:07Largest value a signed 32-bit integer can hold
41024448001 Jan 2100 00:00:00Common far-future expiry in test data

Spotting the unit in the wild

  • Ten digits means seconds, which is what JWT exp and iat claims, Python's time.time() (as a float), PHP's time() and most REST APIs use.
  • Thirteen digits means milliseconds, as produced by JavaScript's Date.now() and Java's System.currentTimeMillis().
  • Sixteen digits are microseconds and nineteen digits are nanoseconds (Go, Kafka, some database drivers). The tool treats both as milliseconds, which yields a date tens of thousands of years away or an out-of-range error, so divide by 1,000 or 1,000,000 first.
  • Unix time ignores leap seconds: every day is exactly 86,400 seconds, so the count is a few dozen seconds short of a strict atomic count since 1970.

When a red message appears instead of a date

If the box contains anything that is not a plain number, including commas, units, exponent notation or an ISO date, a red line under the box lists the three shapes it accepts: seconds with up to 12 digits, milliseconds with 13 or more, or seconds with a decimal fraction. A second message covers numbers that parse but fall outside the range a JavaScript Date can represent, about 8.64 × 10^15 milliseconds either side of 1970, roughly 275,000 years; it repeats which unit the value was read as, so a nanosecond timestamp is easy to recognise. Strip any formatting and make sure the number is in seconds or milliseconds.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp (epoch time) is the number of seconds since 1 January 1970 UTC. It's a simple, timezone-independent way for computers to store a moment in time.

Does it support milliseconds?

Yes. A whole number with 13 or more digits is treated as milliseconds, up to 12 digits as seconds, and a decimal such as 1750000000.5 as seconds with a fraction. The date-to-timestamp side shows both seconds and milliseconds.

How is a timestamp with a decimal point handled?

It is read as seconds with a fraction. 1750000000.5 gives the same 2025 date as 1750000000, and the ISO line shows the extra half second as .500Z. The fraction is kept down to the millisecond.

Can I get the timestamp for a time in another zone?

Not directly. The picker uses your device's zone. Adjust the time you enter by the difference between the two zones, or change your system zone before picking.

What does the red message under the timestamp box mean?

The box only accepts a bare number. Formatted text, a date string or exponent notation triggers a message listing the accepted shapes, and a number beyond the JavaScript Date range gets a separate out-of-range message.

How do I convert a microsecond or nanosecond timestamp?

Divide it first: by 1,000 for microseconds or 1,000,000 for nanoseconds to reach milliseconds, then paste the 13-digit result.

Explore

113 tools. Zero uploads. One place.

Every tool opens instantly, works on your phone and keeps your files on your device.

Unix Timestamp Converter guides