Unix Timestamp Converter
Unix Timestamp Converter is a free tool that converts Unix timestamps in seconds or milliseconds into human-readable dates, and converts dates back into Unix time. Pick UTC or a common time zone, watch the live current timestamp, and paste a batch of values. It runs in your browser, so nothing you enter is uploaded.
Last updated
A Unix timestamp counts time since 1970-01-01 00:00:00 UTC. For example, 1700000000 seconds and 1700000000000 milliseconds are both 2023-11-14 22:13:20 UTC. Paste a value to see that moment in another time zone, type a date to get the timestamp, or convert a whole list. The current time updates live.
Auto-detect reads a number under 100,000,000,000 as seconds, and a larger number as milliseconds. The time zone applies to every result on this page. Unix time ignores leap seconds.
Current Unix time
This is the clock on this device, updated several times a second. It is not saved anywhere.
…
…
…
…
…
Timestamp to date
Paste one Unix timestamp. Commas and underscores are allowed, as in 1,700,000,000 or 1.7e9.
Date to timestamp
Use YYYY-MM-DD HH:mm:ss, or a US date such as 01/15/2024 3:30 PM. Add Z or an offset like -05:00 when the instant is already absolute. A date alone means midnight.
Batch paste
Paste up to 500 timestamps, one per line. Blank lines are skipped. Invalid lines stay in the table with a reason, so a bad value is never dropped quietly.
| Line | Input | Unit | Seconds | Milliseconds | UTC | In this time zone | Status |
|---|
Unix timestamp questions
What is a Unix timestamp?
A Unix timestamp is a count of seconds since 1970-01-01 00:00:00 UTC, the Unix epoch. Timestamp 0 is that moment. 1700000000 seconds is 2023-11-14 22:13:20 UTC. Negative numbers are times before 1970. The count ignores leap seconds, so every day is treated as exactly 86,400 seconds.
How do I convert a Unix timestamp to a human date?
Paste the number into Timestamp to date and choose a time zone. The page shows Unix seconds, Unix milliseconds, the UTC time, and the same moment as a calendar time in the zone you picked. Use the Copy button beside any value.
How do I convert a date to a Unix timestamp?
Type a date such as 2024-01-15 08:30:00 or 01/15/2024 8:30 AM. A date without a time means midnight in the selected time zone. If you include Z or an offset such as -05:00, that offset decides the instant and the time zone menu only changes how it is displayed. For a week of clock-in times, use the Time Card Calculator. To lay dates out visually, use the Timeline Maker.
What is the difference between Unix seconds and milliseconds?
Seconds are the original Unix time. Milliseconds are that number times 1,000, which is what JavaScript's Date.now() returns. Auto-detect treats an absolute value under 100,000,000,000 as seconds and a larger value as milliseconds, so 1700000000 and 1700000000000 are the same moment. Choose Seconds or Milliseconds when you need the other reading, such as a millisecond timestamp from early 1970, which is still a small number.
Which time zones can I convert to?
The menu lists UTC and common IANA time zones in the Americas, Europe, Africa, Asia, Australia and the Pacific, plus your browser's own zone when it is not already listed. Names and offsets come from the browser's Intl data, including daylight saving time. The converter does not call a time-zone service.
What happens if the timestamp or date is invalid?
The value stays on screen and the page says what is wrong. Letters, two numbers in one field, a clock time that never occurred, and dates that are not real days (such as 2023-02-29 or a leap second of :60) are marked invalid. A number outside about 271,821 BC to 275,760 AD is out of range. Those cases are not quietly rewritten into a nearby time.
Why does a time happen twice or not at all?
When daylight saving time starts, clocks move forward and skip an hour, so that local time never happened and there is no timestamp for it. When clocks move back, the same hour happens twice. This page lists the earlier instant first and shows the later one underneath. UTC, and zones such as Arizona that do not shift, have one instant for each clock time.
Does the year 2038 problem break this converter?
No. 2147483647 seconds is 2038-01-19 03:14:07 UTC, and 2147483648 is the next second. Some older systems store time in a signed 32-bit number and cannot go past that second. This page uses JavaScript numbers, so it can convert timestamps from about 271,821 BC through 275,760 AD.
Can I convert a list of timestamps at once?
Yes. Paste one timestamp per line, up to 500 lines. Blank lines are skipped. Each invalid line stays in the table with the reason, and Copy table copies every row, including the errors. A line that looks like a date is left invalid so it is not read as a huge timestamp.
Is the Unix timestamp converter private?
Yes. It is free and runs entirely in your browser. The numbers you paste are not uploaded, not saved, and not sent to an API. Refreshing the page clears them. The privacy policy describes the rest of the site.
Step-by-step instructions
- Choose a time zone. UTC is the zone Unix time itself uses.
- Leave the unit on Auto-detect, or force seconds or milliseconds.
- Paste a timestamp, type a date, or paste many timestamps, one per line.
- Read the UTC time and the local time, then copy the value you need.
- If a row says it is invalid, fix that line. The other rows still convert.