Unix Timestamp Converter
Convert Unix timestamps in seconds, milliseconds, microseconds or nanoseconds to dates in any time zone, and dates back to epoch time.
Runs in your browser. Nothing is uploaded.
Paste a timestamp in seconds, milliseconds, microseconds or nanoseconds.
Pick a date and time, and the zone it is in.
How to use the Unix Timestamp Converter
- Paste a timestamp into Unix timestamp. The unit (seconds, milliseconds, microseconds or nanoseconds) is detected from the number of digits, or you can pick it yourself.
- Read the date in UTC, in your local time, as ISO 8601 and as a relative time such as "3 days ago".
- To go the other way, pick a date, time and time zone under Date → timestamp.
- Press Use current time to fill both sides with now, or copy the live counter at the top.
What a Unix timestamp is
A Unix timestamp, also called epoch time or POSIX time, is the number of seconds that have passed since 00:00:00 UTC on 1 January 1970. It is the simplest way for computers to store a moment in time: one number, no time zone, no daylight saving rules, no date format to argue about. That is why you find it in log files, databases, JSON APIs, JWT tokens, file systems and analytics exports.
The catch is that humans can’t read it. 1793350800 means nothing at a glance, but it is
30 October 2026 at 09:00 UTC. This converter turns those numbers into readable dates and back.
Seconds, milliseconds and smaller
Different systems count in different units. Unix shells, PHP and Python’s time.time() use seconds.
JavaScript’s Date.now() and Java’s System.currentTimeMillis() use milliseconds. Some databases
and tracing tools use microseconds, and Go and high-resolution timers can produce nanoseconds. Each
step adds three digits, so the length of the number usually tells you the unit. The tool detects it
automatically and shows which unit it assumed, so a millisecond value is never mistaken for a date
fifty thousand years in the future.
Time zones and display
Because a timestamp has no time zone, the same value is shown differently around the world. The converter always shows UTC and your browser’s local time side by side, along with ISO 8601 and RFC 2822 forms that you can paste into code or emails. When converting a date to a timestamp, choose the zone the date was written in. The tool applies that zone’s offset, including daylight saving time on that date, before working out the number.
Things to watch for
Negative timestamps are valid and mean dates before 1970. Very large values may be past the 32-bit limit in 2038, which still affects older embedded systems and some database column types, so the tool flags them. And if a converted date lands in 1970, the original was probably in a smaller unit than you thought, or was zero because a field was empty.
Everything runs locally in your browser. The timestamps you paste stay on your device.
Frequently asked questions
How does the tool know whether my timestamp is in seconds or milliseconds?
By its length. Present-day times are 10 digits in seconds, 13 in milliseconds, 16 in microseconds and 19 in nanoseconds. If your value is unusual, for example a date far in the past, choose the unit by hand.
Does a Unix timestamp have a time zone?
No. It counts seconds since 1 January 1970 at 00:00 UTC, so the same number means the same instant everywhere. Only the way it is displayed depends on a time zone.
What is the year 2038 problem?
Systems that store seconds in a signed 32-bit integer can count only up to 2,147,483,647, which is 19 January 2038 at 03:14:07 UTC. After that the value overflows. The tool warns you when a timestamp is past that point.
Are leap seconds included?
No. Unix time treats every day as exactly 86,400 seconds, as do JavaScript and almost all software, so results match what your systems report.
Is anything sent to a server?
No. All conversions happen in your browser using its built-in date functions.
Tutorials
How to read Unix timestamps in log files
Turn epoch seconds or milliseconds from logs and API responses into readable dates in your time zone, and spot unit mistakes.