Unix Timestamp Converter
Convert a unix (epoch) timestamp into a readable UTC and local date — or turn any date and time into a unix timestamp. Seconds vs. milliseconds are detected automatically, and everything runs right in your browser, so nothing you type is ever sent to a server.
Timestamp → date
| UTC | |
|---|---|
| Local | |
| ISO 8601 | |
| Relative |
Date → timestamp
| Seconds | |
|---|---|
| Milliseconds | |
| UTC |
How to use it
- To read a timestamp, paste a unix value into the Timestamp → date box, or press Now to load the current moment. The tool detects seconds vs. milliseconds and shows the UTC date, your local date and the ISO 8601 string.
- To create a timestamp, pick a date and time in the Date → timestamp box (or press Now) and read off the value in seconds and milliseconds.
- Use the Copy buttons to put any result on your clipboard for use in code, a database query or an API call.
Why use it
Epoch time is everywhere — log files, JWT expiry claims, database columns, REST and SERP API responses — but it is unreadable at a glance, and the seconds-vs.-milliseconds ambiguity is a common source of bugs. This converter gives you both directions instantly and offline, with UTC and local time side by side so you can sanity-check a value without spinning up a script or trusting a third-party server with your data.
Frequently asked questions
What is a unix timestamp?
A unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a single integer that represents a precise moment in time independently of any time zone, which makes it the standard way to store and exchange dates in databases, logs and APIs.
What is the difference between seconds and milliseconds?
Classic unix timestamps count whole seconds (for example 1700000000 = 10 digits around the year 2023), while many systems — notably JavaScript and many web APIs — count milliseconds, so the same moment becomes 1700000000000 (13 digits). This tool auto-detects which one you pasted by its length: roughly 10 digits is treated as seconds, 13 digits as milliseconds.
Why does the tool show UTC and local time?
A unix timestamp itself has no time zone — it always refers to the same instant. To make it readable the converter shows it two ways: in UTC (Coordinated Universal Time, the global reference) and in your local time using your browser settings, plus an ISO 8601 string. Comparing the two helps avoid the off-by-a-few-hours mistakes that come from mixing time zones.