Epoch Time Converter

Convert a Unix timestamp to a readable date, and a date back to a timestamp. See the result in your local time, in UTC, and in any timezone, with both seconds and milliseconds. Everything runs in your browser, so your data stays on your device.

Current Unix time
1789392838
Monday, September 14, 2026 at 1:33:58 PM UTC
Seconds, milliseconds, microseconds, or nanoseconds

What is epoch time?

Epoch time, also called Unix time, is the number of seconds since midnight UTC on January 1, 1970. That starting point is known as the epoch. Storing a moment as one plain number keeps it simple to compare, sort, and pass between systems, which is why it turns up in server logs, databases, tokens, and APIs. This tool turns that number into a date you can read, and turns a date back into a timestamp.

Why use our epoch converter

  • ·Free. No signup, no paywall, no limits.
  • ·Runs in your browser. Nothing gets uploaded, your data stays with you.
  • ·Both directions. Timestamp to date and date to timestamp in the same place.
  • ·Seconds and milliseconds. Reads and shows both, so you copy whichever you need.
  • ·Any timezone. See the same moment in UTC, your local time, or anywhere else.

What it does

Timestamp to date

Enter a Unix timestamp and see the full date and time. The result is shown in your local timezone, in UTC, as an ISO 8601 string, and as a relative time like 2 hours ago.

Input1785508200ResultJul 31, 2026, 2:30 PM UTC

Date to timestamp

Pick a date and time and get the matching Unix timestamp in both seconds and milliseconds. The date is read in whichever timezone you choose.

Input2026-07-31 14:30Result1785508200

Auto unit detection

The tool reads your number as seconds, milliseconds, microseconds, or nanoseconds based on how many digits it has, so you can paste any of them without converting first.

Input1785508200000Resultread as milliseconds

Timezone picker

Choose any timezone to read and display dates in. It defaults to your own timezone, and Daylight Saving Time is handled for you.

InputAmerica/New_YorkResultshifts with DST

Seconds, milliseconds, and digit counts

Not every timestamp counts the same unit. The most common ones count seconds, but many systems count milliseconds, and a few count even smaller units. You can usually tell them apart by how many digits they have. This tool checks the digit count for you and reads the number the right way.

UnitDigits todayExample
Seconds101785508200
Milliseconds131785508200000
Microseconds161785508200000000
Nanoseconds191785508200000000000

Seconds timestamps are the classic Unix format. Milliseconds are common in JavaScript and many web APIs, since that is what Date.now returns. The result always shows both seconds and milliseconds, so you can copy the one your code expects.

When to use an epoch converter

Timestamps show up any time a system needs to record when something happened. Here are the most common reasons people convert them:

  • ·Reading log files. Turn the raw timestamp on a log line into a date you can read.
  • ·Checking a token. See when a JWT or session was issued or when it expires.
  • ·Testing an API. Build the exact timestamp a request needs, or decode one it returned.
  • ·Querying a database. Get the timestamp for a date so you can filter rows by time.
  • ·Comparing across timezones. See the same instant in UTC and in another timezone side by side.

Frequently asked questions

What is epoch time?
Epoch time, also called Unix time or a Unix timestamp, is the number of seconds that have passed since midnight UTC on January 1, 1970. That moment is called the epoch. It is a simple way to store a point in time as a single number, which is why it shows up in logs, databases, and APIs.
How do I convert a timestamp to a date?
Make sure Timestamp to date is selected, then type or paste your Unix timestamp into the box. The date appears right away in your local time, in UTC, as an ISO 8601 string, and as a relative time. Click the copy button next to any value to copy it.
How do I convert a date to a timestamp?
Click Date to timestamp, then pick a date and time in the picker. The matching Unix timestamp appears in both seconds and milliseconds. Use the timezone selector to change which timezone the date is read in.
Does it handle milliseconds?
Yes. The tool looks at how many digits your number has and reads it as seconds, milliseconds, microseconds, or nanoseconds. A 10-digit number is treated as seconds and a 13-digit number as milliseconds. It always shows the result in both seconds and milliseconds so you can copy whichever you need.
What is the difference between seconds and milliseconds timestamps?
A seconds timestamp counts whole seconds since 1970, so it is usually 10 digits today. A milliseconds timestamp counts thousandths of a second, so it is about 13 digits. JavaScript and many APIs use milliseconds, while Unix tools and databases often use seconds. This tool shows both.
How does the timezone setting work?
A Unix timestamp is the same instant everywhere, so it does not carry a timezone. The timezone setting only changes how that instant is displayed and how a date you enter is read. Pick your own timezone to see local times, or any other timezone to see the same moment there. Daylight Saving Time is applied automatically.
Is my data safe and private?
Yes. Every conversion runs locally in your browser, so nothing is uploaded to a server. Once the page has loaded you can even use it offline.