Security & devFreeNo signup

Unix Timestamp Converter

Free Unix timestamp converter. Convert epoch seconds or milliseconds to human dates, or convert a date/time to Unix time.

Last updated 14 October 2026

10-digit ≈ seconds, 13-digit ≈ milliseconds

—
—

Quick examples

Handy for logs, APIs, JWT exp claims, and database timestamps.

Seconds or milliseconds is guessed from the number of digits, at thirteen

You do not tell this tool which unit your timestamp is in. It counts the digits: thirteen or more is treated as milliseconds, twelve or fewer as seconds. Measured:

That last one is the heuristic failing honestly rather than quietly: a twelve-digit millisecond timestamp, which is any moment before 9 September 2001, is read as seconds and lands tens of thousands of years in the future. The absurd date is the signal. If you are working with historic millisecond timestamps, multiply by 1000 or add a zero so the digit count clears thirteen, or divide and use the seconds instead.

The results panel always shows both the seconds and the milliseconds figure, so once you have a date you can see which unit it decided on and check it against what you pasted.

The epoch is a fixed moment in UTC, and negative timestamps work

A Unix timestamp counts from 1 January 1970 at 00:00:00 UTC, which POSIX calls the Epoch. It is a count from a fixed instant, not a local time, so the same timestamp is the same moment everywhere in the world. Measured:

Negative support matters more than it sounds: plenty of systems store a birth date or an archive date as a negative timestamp, and plenty of converters reject them or return nonsense.

The 2038 limit is about 32-bit storage, not about this tool

Measured: 2147483647 gives 19 January 2038, and 2147483648, one second later, gives 19 January 2038 as well, correctly, a second further on. This tool has no trouble with either.

That number is the largest value a signed 32-bit integer can hold, and a system storing timestamps that way overflows to a negative number one second later, landing in 1901. The problem belongs to those systems, not to the arithmetic. If a timestamp you are investigating comes back as 1901 somewhere else and 2038 here, overflow in the other system is the likely explanation.

Four date formats are shown, and only two of them are the same everywhere

The results panel gives the same moment four ways, and the difference between them is the thing to understand:

So if a timestamp needs to travel, use the ISO line. The headline figure is there because it answers “when was this, for me”, which is usually the actual question.

Anything that is not a whole number is refused rather than rounded

The input must be digits, with an optional leading minus. Measured:

Refusing the fractional one is a defensible choice and it will catch you out, because several languages and databases hand out timestamps with a decimal point, and some log formats use fractional seconds as standard. Drop the fractional part and paste the whole number, or multiply by 1000 and paste that as milliseconds, which keeps three of the decimal places.

What this tool deliberately does not do

Nothing is uploaded. The conversion uses built-in browser date functions running on your device, and the timestamp never leaves it.

Sources

Every behaviour and every converted value on this page was measured against this tool as it is published, in a browser, on 14 October 2026. Where the page says what the tool does not do, that is a statement about this tool, not about Unix time in general.

Frequently asked questions

Do I need to say whether my timestamp is in seconds or milliseconds?

No, it is guessed from the digit count: thirteen or more is milliseconds, twelve or fewer is seconds. The results panel shows both figures, so you can see which it chose. Measured: a ten-digit number and the same moment as a thirteen-digit number both give 9 October 2026.

Why did my timestamp give a date in the year 33658?

You pasted a twelve-digit millisecond timestamp, which is any moment before September 2001, and twelve digits are read as seconds. Measured: 999999999999 gives a date in 33658. Add a zero so the digit count reaches thirteen, or divide by 1000 and paste the seconds.

Can it handle dates before 1970?

Yes. A negative timestamp counts backwards from the epoch, and measured, -86400 gives 31 December 1969. Many converters refuse these, which matters if you are working with stored birth dates or archive records.

What is the 2038 problem, and does it affect this tool?

It does not. 2147483647 is the largest value a signed 32-bit integer holds, and a system storing timestamps that way overflows to 1901 one second later. Measured here, 2147483647 and 2147483648 both give the correct January 2038 dates. If another system shows you 1901, that overflow is the likely cause.

Which of the four dates should I put in a bug report?

The ISO (UTC) line. It is the same for everyone, so it means the same thing to whoever reads it. The headline date and the local string are in your own browser’s time zone, which is right for reading and wrong for quoting.

Why will it not accept 1760000000.5?

The input has to be a whole number, so a timestamp with fractional seconds is refused as invalid rather than rounded. Several languages and log formats produce these. Drop the decimal part, or multiply by 1000 and paste the result as milliseconds to keep three of the places.

Can it convert between two named time zones?

No. It shows UTC and your own zone only. Time Zone Converter is the tool for moving a moment between two named zones.

Is my timestamp sent anywhere?

No. The conversion uses built-in browser date functions on your device and nothing leaves the page. Nothing is saved either, so refreshing clears it.

Related tools