Unix Timestamp Converter
Paste a timestamp or a date, or look at the current Unix time. It stays in your browser.
https://flxcode.com/unix-timestamp-converter/
Seconds, milliseconds, microseconds, nanoseconds, ISO 8601 or RFC 2822. The unit is detected from the digits.
Showing the current time. Type or paste something to convert it.
Now
Convert a list
| Input | Unit | Seconds | Milliseconds | ISO 8601 (UTC) | Time in zone |
|---|
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.
Problem or idea? Email us
Quick start
- The top shows the current Unix time in seconds and milliseconds. It stops while you point at it, so you can copy it.
- Paste a number, an ISO 8601 date, an RFC 2822 date or
2026-11-28 14:00. The table updates as you type. - For a date to epoch, pick a date in the picker, or type it. The first rows of the table are the epoch in seconds, milliseconds, microseconds and nanoseconds.
- Paste a list into Convert a list and copy the CSV.
What it reads
- Numbers: seconds, milliseconds, microseconds, nanoseconds, negative values, a fraction like
1700000000.123, and1_700_000_000or1,700,000,000. - ISO 8601:
2026-11-28T14:00:00Z, with offsets+01:00,+0100,+01, with 1 to 9 fraction digits, and the basic form20261128T140000Z. - RFC 2822, as in email headers:
Sat, 28 Nov 2026 14:00:00 +0100, and zone names like GMT, EST and PDT. - A plain date and time such as
2026-11-28 14:00, read in the zone you pick.
Years 1 to 9999 work. Nanoseconds are kept exactly, with no rounding to floating point.
What the epoch is
Unix time counts the seconds since 1970-01-01 00:00:00 UTC, the Epoch. POSIX defines it as a value that approximates the seconds elapsed since then, with every day counted as 86400 seconds.
Many languages count milliseconds instead (JavaScript Date.now(), Java System.currentTimeMillis()), and databases and tracing systems use microseconds or nanoseconds.
The same moment, 2023-11-14 22:13:20 UTC, is 1700000000 in seconds and 1700000000000 in milliseconds.
The year 2038
A signed 32-bit integer holds at most 2147483647 seconds, which is 2038-01-19 03:14:07 UTC. Old file formats, embedded devices and 32-bit programs that store time that way will wrap to 1901 one second later. An unsigned 32-bit counter lasts until 2106-02-07 06:28:15 UTC. Try both numbers in the box above.
Leap seconds
Unix time ignores them. The page accepts 23:59:60 in an ISO text and places it on the next second, because Unix time has no way to write it.
The difference is small for most work, but logs from two systems that handle a leap second in different ways can disagree by one second.
Limits
No daylight saving rules are guessed: zone data comes from your browser, so a very old or far future date uses the rules the browser has. No dates in other calendars.
Local formats like 11/28/2026 are not read, because the same text means different dates in different countries. Use year first.
Privacy
The conversion is done by JavaScript in your page. What you type or paste is not sent, stored or put in the address. The page remembers only the unit and the zone you chose, in this browser. We count events without cookies, like "list converted" (details), never the values.
FAQ
How does it know if my number is seconds or milliseconds?
By the number of digits. Up to 11 digits is read as seconds, 12 to 14 as milliseconds, 15 to 17 as microseconds and 18 or more as nanoseconds. Today that means 10 digits for seconds, 13 for milliseconds, 16 for microseconds and 19 for nanoseconds. The page says which one it picked, and the unit menu lets you force another.
What is the Year 2038 problem?
A signed 32-bit counter of seconds runs out at 2147483647, which is 19 January 2038 at 03:14:07 UTC. One second later it wraps to a negative number, which a 32-bit system reads as December 1901. Systems with a 64-bit time_t are not affected, and this page uses 64-bit values, so 2147483648 and beyond convert normally.
Does Unix time count leap seconds?
No. POSIX defines every day as exactly 86400 seconds, so a leap second is not counted. The second 23:59:60 does not exist in Unix time. Systems either repeat a second or spread the extra second over some hours. 27 leap seconds were added from 1972 to 2016, and IERS has announced none since, so Unix time is 27 seconds behind a plain count of elapsed seconds.
Which time zone does a date without a zone use?
The one chosen in the time zone menu, which starts as the zone of your device. A text with its own offset, like 2026-11-28T14:00:00+01:00 or ending in Z, uses that offset and ignores the menu. Unix time itself has no zone, it counts seconds from 1970-01-01 00:00 UTC.
Why does a time sometimes not exist or appear twice?
When clocks jump forward for daylight saving time, an hour of local time is skipped, and when they go back one hour happens twice. The page tells you when you typed such a time, moves a skipped time ahead, and shows the first of two.
What can I paste into the list?
One value per line, in any mix of the formats above, up to 10,000 lines. You get a table and a CSV with the detected unit, seconds, milliseconds, an ISO 8601 UTC time and the time in your chosen zone. Lines it cannot read are marked, not skipped.
More from FLXCode
- Time Zone ConverterTurn a time in one zone into the same moment in up to six others, with daylight saving handled and a meeting grid.
- Base64 Encode and DecodeEncode text or files to Base64 and decode it back. UTF-8 safe, URL-safe option, data: URIs. Nothing leaves your browser.
- JSON FormatterFormat, minify, sort and check JSON in your browser. Big numbers stay exact and errors show line and column.
- Password GeneratorMake a random password or passphrase in your browser. See the entropy and its formula. Nothing is sent.