Epoch Converter

Unix timestamp to date and back.

Updated
Loading toolโ€ฆ

Unix timestamp to date and back.

How to use Epoch Converter

  1. Paste a Unix timestamp to get a readable date
  2. Or enter a date to get the epoch number back
  3. Read or copy the converted value instantly
Try next โ†’Age CalculatorAge from a birth date.

About Epoch Converter

Epoch timestamps show up all over software, server logs, API responses, database rows, as a plain number like 1704067200, and this converter turns that number into a date and time you can actually read. It also works the other way: type a calendar date and get the matching epoch back, so you can build a query or check a value without doing the math by hand.

Two things trip people up, and the tool is built around both. First, some systems count seconds since January 1, 1970 while others count milliseconds, which are a thousand times larger; if a converted date lands in the wrong decade, that mismatch is usually why. Second, epoch time is anchored to UTC, so the converter uses UTC as the reference point rather than guessing your local zone. Linux and Unix share the exact same epoch, so a number you get from `date +%s` reads the same way here as anywhere else.

Everything runs entirely in your browser. The timestamps and dates you enter are processed on your own device and never uploaded to a server, which matters when the values come out of production logs or private records. It is free, needs no account, and has no limit on how many conversions you run.

Frequently asked questions

How do I convert an epoch timestamp to a date?
Paste the epoch number into the tool and it shows the date and time that number represents. The result updates as you type, so you can drop in a value straight from a log or API response and read it immediately.
How do I convert a date back into an epoch number?
Enter a calendar date and time and the converter returns the matching Unix epoch value. This is the quick way to produce a timestamp for a database query or a test without calculating the seconds yourself.
What is the difference between seconds and milliseconds?
A Unix epoch counts the seconds since January 1, 1970, but many systems store it in milliseconds, which is a thousand times larger. If a converted date looks wildly off, check whether your number is in seconds or milliseconds.
Which time zone does it use?
Epoch timestamps are counted in UTC, so that is the reference point behind every conversion. A raw epoch number carries no time-zone information of its own, so if you need the exact moment somewhere else, apply that offset yourself.
How do I get the UTC date from an epoch timestamp?
Because epoch time is already measured in UTC, the date and time shown here is the UTC moment for the number you enter, with no local-zone adjustment applied. That makes it a reliable way to compare timestamps from servers in different regions.
Is Linux epoch time the same as Unix epoch?
Yes. Linux, macOS, and other Unix-like systems all use the same epoch that starts on January 1, 1970, so a number from a command like `date +%s` converts here exactly as any Unix timestamp does. There is no separate Linux format to worry about.
Why does my converted date show 1970?
A date near January 1, 1970 usually means the number is very small, such as 0 or a value with too few digits. It can also happen if a millisecond value was read as seconds, so double-check the length of your number.
How do I use it?
Paste a Unix epoch number to see the date and time it represents, or enter a date to get the epoch number back. The result updates as you go, and you can copy it out.
Do the timestamps I enter get uploaded anywhere?
No. The converter runs entirely in your browser, so everything you type is processed on your own device. Nothing is sent to or stored on a server.
Is it free, and do I need an account?
Yes, it is free, and there is no account or sign-up. You can convert as many timestamps as you like, with no usage limits and nothing to install.