Unix Timestamp Converter
Convert Unix timestamps to human-readable dates — in UTC and your local timezone — or turn a date back into epoch time.
Timestamp → date
Date → timestamp
How it works
Unix time counts the seconds elapsed since 00:00:00 UTC on 1 January 1970 (the epoch) — a single number that unambiguously identifies a moment, which is why databases, APIs, and log files love it. Human dates, by contrast, depend on timezones: the same instant is a different clock time in Chicago than in London. This converter shows both: the UTC rendering, which is identical everywhere on Earth, and your browser's local rendering. Values with 13 or more digits are treated as milliseconds (the unit JavaScript's Date uses internally); anything smaller is read as seconds. Going the other way, pick a local date and time and get the epoch seconds back — handy for building API queries and expiry timestamps.
How to use
- Paste a Unix timestamp — 10 digits for seconds, 13 digits for milliseconds — into the timestamp box.
- Read the matching date and time in both UTC and your local timezone.
- To go the other way, pick a date and time and read the epoch value it converts to.
- Click "Use current time" to capture this exact moment as a timestamp.
Frequently asked questions
What is Unix time?
The number of seconds elapsed since 00:00:00 UTC on 1 January 1970, known as the epoch. A timestamp of 0 is that exact moment; 1700000000 lands in November 2023.
Seconds or milliseconds?
Ten-digit values are seconds; thirteen-digit values are milliseconds — the unit JavaScript's Date.now() returns. The tool accepts both and converts accordingly, which covers timestamps copied from APIs and from browser code alike.
Why do databases and APIs use timestamps?
One plain number identifies a moment with no timezone ambiguity — easy to store, sort, and compare across systems worldwide. Human dates are for display; epoch time is for machinery.
Why show both UTC and local time?
They are the same instant read two ways: UTC is the unambiguous reference, and local time is what the clock on your wall said. The gap between them is your timezone offset, which is exactly what makes raw timestamps confusing without a converter.
What is the Year 2038 problem?
On 19 January 2038, 32-bit signed Unix time overflows at 2,147,483,647 seconds. Modern 64-bit systems are unaffected, but old embedded devices and file formats may glitch — one reason new code stores 64-bit timestamps.