Unix Timestamp Converter
Your data never leaves your browserConvert Unix timestamps to human-readable dates, or dates to timestamps. Supports seconds and milliseconds.
Share this tool
Found it useful? Help a fellow developer discover it.
Convert Unix timestamps to human-readable dates, or dates to timestamps. Supports seconds and milliseconds.
Share this tool
Found it useful? Help a fellow developer discover it.
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC, the Unix epoch. It is the most common way to represent a point in time in software because it is a single integer with no timezone ambiguity. Every programming language, database, and operating system can convert it to a human-readable date in any timezone.
JavaScript's Date.now() returns milliseconds, not seconds, which is a common source of bugs. This converter supports both. 10-digit numbers are treated as seconds; 13-digit numbers are milliseconds.
| Format | Example |
|---|---|
| ISO 8601 (UTC) | 2024-01-15T14:30:00.000Z |
| ISO 8601 (with offset) | 2024-01-15T14:30:00+05:30 |
| ISO 8601 (date only) | 2024-01-15 |
| RFC 2822 | Mon, 15 Jan 2024 14:30:00 GMT |
| Locale string | January 15, 2024 14:30:00 |
Select the Timestamp to Date direction, choose Seconds or Milliseconds depending on your timestamp length (10 digits for seconds, 13 for milliseconds), paste your timestamp into the input, and the results appear instantly. ISO 8601, UTC, local time, and relative time are all shown simultaneously so you can copy whichever format you need.
Click the Now button to populate the input with the current Unix timestamp in seconds. The output updates to show today's date and time across all formats. Refresh or click Now again to get a fresh timestamp. The current time is read from your device clock and converted entirely in your browser.
A 10-digit Unix timestamp represents seconds since the epoch. JavaScript's Date.now() and many modern APIs return milliseconds, a 13-digit number that is 1000 times larger. Use the Milliseconds option in this converter when you have a 13-digit value.
32-bit signed integers overflow at 2,147,483,647, which corresponds to January 19, 2038. Systems that store timestamps as 32-bit integers, including older C code and some databases, will break at that point. Most modern systems use 64-bit integers, which will not overflow for billions of years.
The ISO 8601 and UTC fields always show the time in UTC. The Local field shows the time in your browser's detected time zone. If you see a discrepancy, check whether your input is in seconds or milliseconds. That mismatch is the most common source of confusion.
No. All conversion logic runs entirely in your browser using JavaScript's built-in Date API. Nothing is sent to a server.
The converter accepts any string that JavaScript's Date constructor can parse: ISO 8601 (recommended), RFC 2822, and many locale-aware strings. ISO 8601 with an explicit timezone such as 2024-01-15T14:30:00Z is the most reliable format across all browsers.
Select the Date to Timestamp direction, type or paste a date string in the input field (ISO 8601 format is most reliable, for example 2024-06-15T09:00:00Z), and the Unix timestamp in both seconds and milliseconds appears in the output immediately.
UUID / ULID Generator
Generate RFC-4122 UUIDs (v1, v4, v5) and ULIDs instantly.
Cron Expression Builder
Build and validate cron expressions with a human-readable description.
Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal.
JSON ↔ TOON
Convert JSON to TOON (Token-Oriented Object Notation) to reduce LLM prompt token usage by ~40%. Lossless and bidirectional.