Unix Timestamp Converter

Convert Unix timestamps to dates and back.

Current Unix time

Timestamp to date

Interpret as
Local time
UTC
ISO 8601
Day of week

Enter a Unix timestamp above to see the date.

Date to timestamp

Seconds
Milliseconds

Pick a date and time to get its timestamp.

Free online Unix timestamp converter

A Unix timestamp — also called epoch time — counts the seconds since midnight UTC on 1 January 1970. It's the universal language that databases, log files, and APIs use to store a precise moment without worrying about time zones. This converter turns any epoch value into a readable date in both your local time and UTC, and turns a calendar date back into a timestamp in seconds or milliseconds. Everything happens live in your browser as you type.

How to convert a Unix timestamp to a date

  1. Paste your Unix timestamp into the Timestamp to date box.
  2. Leave the unit on Auto — 13-digit values are read as milliseconds and shorter ones as seconds — or force Seconds / Milliseconds.
  3. Read the result in local time, UTC, ISO 8601, and see the day of the week.
  4. To go the other way, set a date in the Date to timestamp panel and copy the seconds or milliseconds value.

Seconds vs milliseconds

Classic Unix time is measured in whole seconds, so a current value has ten digits. Many modern platforms — including JavaScript's Date.now() — use milliseconds instead, giving a thirteen-digit number. Mixing the two is a common bug that places a date in 1970 or far in the future, so double-check the unit whenever a converted date looks wrong.

Related date and number tools

Working out how long ago a timestamp was? Try the age calculator to measure the gap between two dates in years, months, and days. If you need to inspect the raw hexadecimal form of an epoch value, the number base converter switches between decimal, binary, and hex. Like every tool here, both run entirely client-side with nothing sent to a server.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp (also called epoch time or Unix 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 compact, timezone-independent way to represent a moment in time, which is why it is used throughout databases, log files, APIs, and programming languages.

Are timestamps in seconds or milliseconds?

Both are common. Classic Unix time is measured in seconds (a 10-digit number today), while JavaScript, Java, and many APIs use milliseconds (a 13-digit number). This converter auto-detects the unit — 13 or more digits are treated as milliseconds — and you can override it manually with the Seconds or Milliseconds option.

How do I convert a Unix timestamp to a human-readable date?

Paste the timestamp into the "Timestamp to date" box. The tool instantly shows the date in your local time zone and in UTC, the ISO 8601 string, and the day of the week. Everything updates live as you type — no button needed.

What time zone does the converter use?

The "Local time" result uses your device's current time zone, while the "UTC" result and ISO 8601 string are always in Coordinated Universal Time. The "Date to timestamp" input reads your entered date as local time before converting it to epoch time.

Is my data sent to a server?

No. Every conversion runs entirely in your browser with JavaScript. No timestamps or dates are uploaded, stored, or logged, so the tool is safe to use with sensitive log data.

What is the year 2038 problem?

Systems that store Unix time in a signed 32-bit integer can only count up to 03:14:07 UTC on 19 January 2038, after which the value overflows. Modern platforms use 64-bit integers to avoid this. This browser-based converter uses JavaScript numbers, so it handles dates far beyond 2038.