Unix Timestamp Converter
Generators & TimeUnix epoch converter (seconds/ms auto-detect) and 5-field Cron builder with human explanations & next runs.
100% client-side — files and inputs never leave your browser.
1796410421
- ISO 8601 (UTC)
- 2026-12-04T18:53:41.000Z
- RFC / UTC
- Fri, 04 Dec 2026 18:53:41 GMT
- Local Time
- 12/4/26, 6:53:41 PM
- Brasília (BRT)
- 12/4/26, 3:53:41 PM
- Epoch (seconds)
- 1796410421
- Epoch (milliseconds)
- 1796410421000
- Relative
- just now
About this tool and how it works
Converting Unix timestamps
A Unix timestamp counts the time since 1970-01-01 00:00:00 UTC (the "epoch"). Paste a number and the converter shows the date in ISO 8601, UTC, your local time zone, and as a relative time ("3 days ago"). It works the other way too: paste a date such as 2026-03-15T14:30:00Z to get its epoch value.
Seconds or milliseconds?
Unix tools, PHP, Python's time.time(), and JWTs use seconds (10 digits today, e.g. 1767225600). JavaScript's Date.now() and Java use milliseconds (13 digits). The converter detects the unit automatically: values of 100 billion or more are treated as milliseconds. A date in 1970 or in the year 50,000 means the unit was mixed up.
Time zones
Timestamps are always UTC; time zones only apply when displaying them. Store and transmit UTC (timestamps or ISO strings ending in Z) and convert to local time at the edge, in the user's browser. Dates without an offset, like 2026-03-15 14:30, are interpreted in your local zone, which is a frequent source of off-by-hours bugs between servers.
Handy code snippets
- JavaScript:
Math.floor(Date.now() / 1000) - Python:
int(time.time()) - PostgreSQL:
extract(epoch from now())/to_timestamp(1767225600) - Shell:
date +%s
The year 2038
Systems that store seconds in a signed 32-bit integer overflow on 2038-01-19 03:14:07 UTC. Use 64-bit integers for new schemas.
Frequently asked questions
Why does my timestamp convert to January 1970?
A millisecond value was probably divided by 1000 twice, or a seconds value was passed to a function expecting milliseconds. Check the unit the converter detected.
Does the converter handle negative timestamps?
Yes. Negative values represent dates before 1970 and are converted normally.
Do leap seconds affect Unix time?
No. Unix time ignores leap seconds, so every day is exactly 86,400 seconds, which keeps arithmetic simple.
Other tools
Bulk-generate UUID v4, sortable UUID v7, ULID, and NanoID identifiers.
Generate cryptographically strong passwords & passphrases with entropy bits.
Generate placeholder paragraphs, sentences, and words for mockups.
Build cron schedules visually with plain-English explanations and next runs.
Create direct wa.me links with pre-filled messages and downloadable PNG QR codes.
Merge, split, compress, rotate pages, and convert between PDF and images 100% locally.
Shrink and convert JPG, PNG, and WebP images locally in your browser without uploading.
Inspect hidden GPS coordinates, author, company, revisions, and XMP metadata locally in your browser.
Convert length, weight, temperature, volume, area, speed, data size, and time instantly.