FileToolHub

Convert Unix timestamps to dates online

Unix timestamps (seconds since 1970) are everywhere in logs, APIs, and databases but aren't human-readable on their own. Enter a timestamp to see the date, or enter a date to get its timestamp — both update instantly. Everything runs in your browser using JavaScript's Date object; nothing you enter is sent anywhere.

Seconds or milliseconds

This is the first thing to check when a converted date looks absurd. Unix time is classically counted in seconds, but JavaScript, Java, and many APIs use milliseconds. A millisecond value interpreted as seconds lands roughly fifty thousand years in the future, which is the obvious symptom. The practical rule: a current timestamp in seconds is ten digits, in milliseconds it is thirteen. Divide by 1000 if you have the longer one.

Why UTC is shown

Dates are displayed in UTC using ISO 8601 format, which removes ambiguity. A timestamp is an absolute moment; rendering it in a local timezone means the same number displays differently for different people, which causes real confusion when debugging logs across a team. For Indian Standard Time, add 5 hours 30 minutes to the UTC value shown.

Reading in the other direction

Entering a date gives you its timestamp, which is useful for building API queries and database filters. Dates without an explicit timezone are interpreted using your browser's local timezone, so appending Z to your input forces UTC and removes the ambiguity. If a query returns records offset by a few hours from what you expected, this is almost always why.

Frequently asked questions

Is this seconds or milliseconds?
This tool uses Unix seconds (the more common convention for timestamps). If your value is in milliseconds, divide by 1000 first.
What timezone is the date shown in?
Dates are shown in UTC (ISO 8601 format) to avoid ambiguity across timezones.
Can I get the current timestamp?
Yes, the "Now" button fills in the current Unix timestamp.
Is my data sent anywhere?
No, conversion happens locally in your browser. Nothing is transmitted.
My timestamp converts to the year 55000. What is wrong?
It is in milliseconds but was read as seconds. Divide by 1000 — current timestamps are 10 digits in seconds and 13 in milliseconds.
How do I get Indian Standard Time?
Add 5 hours 30 minutes to the UTC value shown, since IST is UTC+5:30 with no daylight saving.

Related tools