Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and times, and vice versa.
Did this tool work for you?
How to use this calculator
- 1
Choose the conversion direction.
- 2
Enter a Unix timestamp (like 1700000000) or a date string (like 2023-11-14T22:13:20).
- 3
The converted value appears immediately.
- 4
Use "Current timestamp" to get the exact current Unix time.
Frequently asked questions
How does the tool decide between seconds and milliseconds?
By size. A number whose absolute value is above 10,000,000,000 is read as milliseconds and anything smaller as seconds. In practice that means 10-digit values such as 1700000000 are seconds and 13-digit values such as 1700000000000 are milliseconds, and the result shows a "Detected unit" row so you can check. Microsecond values (16 digits) are not recognised: they are read as milliseconds and land in the year 55840.
What time zone is used when I type a date without an offset?
UTC. A value like 2023-11-14T22:13:20, with or without a space instead of the T, is treated as UTC and converts to 1700000000, and the result says "Interpreted as: UTC (no offset given)". If you add an offset, as in 2023-11-14T22:13:20+05:30, the offset is honoured and the timestamp becomes 1699980200. A date alone, such as 2024-02-29, means midnight UTC.
Which date formats are accepted in Date → Timestamp mode?
ISO 8601 style text such as 2023-11-14, 2023-11-14T22:13:20Z or 2023-11-14T22:13:20+05:30. Regional formats such as 14/11/2023 are rejected with an error, because day-month and month-day order cannot be told apart reliably. Other free-form text may be accepted or refused depending on your browser’s date parser, so stick to ISO 8601 when the result matters.
Can I convert 0 or a negative timestamp?
Yes. 0 gives Thu, 01 Jan 1970 00:00:00 GMT and -86400 gives Wed, 31 Dec 1969 00:00:00 GMT. Fractional seconds are fine too: 1700000000.5 shows as 2023-11-14T22:13:20.500Z, while the whole-second figure is rounded down to 1700000000.
Why does the Local Date & Time row differ from the UTC row?
The local row uses the time zone and language settings of the device you are viewing the page on, so it changes from person to person. The UTC and ISO 8601 rows are the same for everyone and are the ones to copy into logs, tickets or code.
What exactly happens at the 2038 limit?
A signed 32-bit counter tops out at 2147483647, which is 03:14:07 UTC on 19 January 2038. One second later, 2147483648, is 03:14:08 on the same day, and this converter shows that correctly because it uses larger numbers. The problem is in systems that store the value in 32 bits, not in the conversion. Paste a suspect value from a database column to see which dates are affected.
Does the converter account for leap seconds?
No. Unix time pretends every day has exactly 86,400 seconds, and so does this tool, so a timestamp is simply a count of those days from 1 January 1970 UTC. That is also why it cannot tell you the true elapsed time between two dates that span a leap second.
What does the Current timestamp mode read from?
Your device’s clock at the moment the page calculates. If your clock is wrong, the timestamp is wrong by the same amount. It shows seconds, milliseconds, UTC, local time and ISO 8601 together.
Converting Unix timestamps and ISO 8601 dates
Seconds, milliseconds and how they are told apart
A Unix timestamp counts the seconds since 00:00:00 UTC on 1 January 1970, with leap seconds ignored. JavaScript, Java and many databases count milliseconds instead, so the same instant can appear as a 10-digit or a 13-digit number. This converter reads any value above 10,000,000,000 as milliseconds and anything smaller as seconds, and tells you which it chose. The table shows how typical inputs are treated.
| Input | Read as | UTC result |
|---|---|---|
| 0 | seconds | 1970-01-01T00:00:00Z |
| -86400 | seconds | 1969-12-31T00:00:00Z |
| 1700000000 | seconds | 2023-11-14T22:13:20Z |
| 1700000000000 | milliseconds | 2023-11-14T22:13:20Z |
| 1700000000000000 | milliseconds (misread microseconds) | year 55840 |
Worked examples
Entering 1700000000 returns Tue, 14 Nov 2023 22:13:20 GMT and the ISO string 2023-11-14T22:13:20.000Z. Entering 1700000000000 returns the same moment with the unit shown as milliseconds. In the other direction, 2023-11-14T22:13:20 gives 1700000000, while 2023-11-14T22:13:20+05:30 gives 1699980200 because that clock reading is 16:43:20 UTC. The date 2024-02-29 gives 1709164800, and 2038-01-19 03:14:07 gives 2147483647, the largest signed 32-bit value.
How date text is interpreted
Date-time text without an offset is treated as UTC so that the same input gives the same number on every machine. Text with Z or an offset such as +05:30 is converted exactly as written, and a bare date means midnight UTC. ISO 8601 is the format to use; RFC 3339 is a stricter profile of it that most APIs follow. Day-first and month-first formats like 14/11/2023 are rejected on purpose, because 03/04/2024 means different days in different countries.
The 2038 limit and wider ranges
Systems that keep a timestamp in a signed 32-bit integer run out at 2147483647, which is 19 January 2038 at 03:14:07 UTC. Entering 2147483648 here shows 03:14:08 the same day, so you can see what such a system would fail to represent. The converter itself is not limited that way: 9999999999 shows Sat, 20 Nov 2286 17:46:39 GMT. Negative values reach back before 1970.
What this tool does not do
It has no time zone picker, so the only zones shown are UTC, your device’s local zone and any offset you type. It does not understand microseconds or nanoseconds, does not describe relative time such as "three days ago", and does not count leap seconds. Fractional seconds are accepted, but the seconds figure always rounds down. The Current timestamp mode depends entirely on your device clock being right.
Learn more from an authoritative source:
MDN Web DocsJWT Decoder
Decode and inspect JWT (JSON Web Token) headers and payloads without verifying the signature.
Cron Expression Generator
Generate and explain cron expressions — pick a preset or write your own.
Slug Generator
Convert any title or phrase into a clean URL slug — lowercase, hyphenated, SEO-friendly.
DNS Lookup
Look up any DNS record type (A, AAAA, MX, NS, CNAME, TXT, SOA) for any domain — powered by Cloudflare DNS.
MX Lookup
Check the mail exchange (MX) records for any domain to see which mail servers receive email for it.
NS Lookup
Find the authoritative nameservers (NS records) for any domain to see who controls its DNS.
Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →