Unix Timestamp Converter
Convert epoch timestamps in seconds, milliseconds, microseconds or nanoseconds to readable dates in any time zone — and turn dates back into timestamps.
Current time
- Unix seconds
- —
- UTC
- —
- UTC
- —
Detected seconds. · UTC offset in UTC: +00:00
Conversions
- Date in UTC
Tuesday, November 14, 2023 at 10:13:20 PM UTC - ISO 8601 (UTC)
2023-11-14T22:13:20.000Z - RFC 7231 / HTTP date
Tue, 14 Nov 2023 22:13:20 GMT - Unix (seconds)
1700000000 - Unix (milliseconds)
1700000000000 - Unix (microseconds)
1700000000000000 - Unix (nanoseconds)
1700000000000000000
When you need a timestamp converter
Unix time counts seconds since 1 January 1970 00:00:00 UTC. It is compact, sortable and free of time-zone ambiguity, so it shows up everywhere: database columns, log lines, the exp and iat claims of a JWT, cache headers, Kafka messages and cloud billing exports. The catch is that nobody can read 1773140400 at a glance, and different systems use different units — JavaScript's Date.now() returns milliseconds, Python's time.time() seconds, Go's UnixNano() nanoseconds.
This converter turns any of those numbers into a readable date in the time zone you care about, and goes the other way when you need a timestamp for a query, a test fixture or an API call.
How to use it
- The Current time panel shows the live Unix time; Copy current timestamp copies it in seconds.
- Choose a direction: Timestamp → Date or Date → Timestamp.
- Paste a value into Unix timestamp (leave Unit on Auto-detect) or type into Date and time. You can also use the Pick a date calendar or Use now.
- Select the Time zone. It defaults to your browser's zone and lists every IANA zone your browser knows.
- Copy any row from the Conversions table.
Worked example
Enter 1700000000 with the time zone set to America/New_York. The tool reports "Detected seconds" and shows:
Date in America/New_York Tuesday, November 14, 2023 at 5:13:20 PM EST ISO 8601 (America/New_York offset) 2023-11-14T17:13:20.000-05:00 ISO 8601 (UTC) 2023-11-14T22:13:20.000Z RFC 7231 / HTTP date Tue, 14 Nov 2023 22:13:20 GMT Unix (milliseconds) 1700000000000
In the other direction, typing 2026-03-10 12:00 with Europe/Madrid selected is read as noon in Madrid (UTC+01:00 in March), which gives 1773140400 seconds. Typing 2026-03-10T12:00:00Z instead gives a different value, because the Z pins it to UTC.
What each output means
- Date in <zone> — the moment as a person in that zone would read it, including daylight saving time.
- ISO 8601 (offset) — the same local time with its UTC offset, suitable for APIs that accept RFC 3339.
- ISO 8601 (UTC) — the canonical form ending in
Z, whattoISOString()returns. - RFC 7231 / HTTP date — the format used by
Date,ExpiresandLast-Modifiedheaders. - Unix seconds / milliseconds / microseconds / nanoseconds — the same instant in each unit. Fractions below a millisecond are kept when you enter them.
- Relative — how far the moment is from now, such as "3 hours ago" or "in 2 days"; it updates with the live clock.
Limitations
Auto-detection assumes the value is a reasonably modern date: a seconds value above 100 billion (beyond the year 5138) is treated as milliseconds. For deliberately extreme dates, set the unit manually. Nanosecond input is handled as a JavaScript number, so digits beyond about 15–16 significant figures are rounded; millisecond precision is always preserved. Unix time ignores leap seconds, as do all browsers. Time-zone rules come from your browser's copy of the IANA database, and during a daylight-saving gap or overlap a plain local time resolves to the later offset.
Tips and common mistakes
- Off by a factor of 1000? A date in January 1970 almost always means milliseconds were read as seconds, and a date thousands of years ahead means the opposite.
- Store UTC, display local. Keep timestamps or ISO strings with
Zin storage and convert only when showing them to users. - Strings without offsets are ambiguous.
new Date("2026-03-10 12:00")is parsed in the machine's local zone, so the same code gives different results on different servers. - Checking token expiry? The JWT decoder converts
expandiatfor you, and the cron expression builder shows when a schedule will next run.
Frequently Asked Questions
What is a Unix timestamp?
A Unix timestamp is the number of seconds elapsed since 1 January 1970 00:00:00 UTC, the Unix epoch, ignoring leap seconds. It has no time zone, which is why it is the standard way to store and compare moments in databases, logs, APIs and JWT tokens.
How do I know if a timestamp is in seconds or milliseconds?
Look at the number of digits: present-day timestamps have 10 digits in seconds, 13 in milliseconds, 16 in microseconds and 19 in nanoseconds. The converter auto-detects the unit by magnitude, and you can force a specific unit with the Unit selector if the guess is wrong.
Which time zone is used when I enter a date without an offset?
A plain date such as 2026-03-10 12:00 is treated as wall-clock time in the time zone selected in the Time zone menu, which defaults to your browser's zone. If the text includes Z, an offset like +02:00 or GMT, that offset is used instead.
What is the year 2038 problem?
Systems that store Unix time as a signed 32-bit integer overflow after 2147483647, which is 19 January 2038 at 03:14:07 UTC. 64-bit timestamps, which modern languages and databases use, do not have this limit.
What range of dates can be converted?
Anything a JavaScript Date can hold: up to 8.64 × 10^15 milliseconds before or after 1970, roughly ±275,760 years. Values outside that range show an error instead of an invalid date. ISO 8601 output is shown for years 0000 to 9999.
Is my data sent to a server?
No. Conversions use your browser's built-in Date and Intl APIs, and the time zone list comes from your browser. Nothing you enter leaves your device.
Related tools
- UUID GeneratorGenerate RFC 4122 compliant UUIDs (v1, v4, v5) in bulk. Export as JSON, CSV, or plain text.
- Lorem Ipsum GeneratorGenerate Lorem Ipsum placeholder text in paragraphs, sentences, or words with optional HTML output.
- QR Code GeneratorGenerate customizable QR codes for URLs, text, emails, WiFi, vCards, and phone numbers.
- QR Code ScannerScan QR codes with your camera or from an image file directly in the browser. Copy the result, open safe links and see the decoded content type.
- Regex TesterTest, debug, and visualize regular expressions against sample text in real time with match highlighting.
- SQL Formatter & BeautifierFormat and beautify SQL queries with proper indentation, keyword capitalization, and syntax highlighting.
Found a bug or a wrong result? Report it.