Convert Unix Timestamp to Date (and Back)

Paste a Unix timestamp, the number of seconds since 1 January 1970 UTC, to see the date and time it represents, or switch modes to turn a date into a timestamp. Choose local time or UTC. It's handy for reading logs, databases and API responses.

This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.

How do I convert a Unix timestamp?

1. Choose 'Unix to date' or 'Date to Unix'. 2. Paste one value, or several values one per line. 3. Choose local time or UTC, and whether to add labels. 4. Copy the result.

Seconds vs milliseconds

Unix time is usually counted in seconds (10 digits for current dates). JavaScript and many APIs use milliseconds (13 digits). If you get a date far in the future, divide by 1000.

Local time or UTC?

Servers usually log in UTC. When you compare a log entry with something on your own clock, switch to local time. When you share a time with someone in another country, UTC avoids confusion.

Frequently asked questions

What is a Unix timestamp?

The number of seconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds.

Why is my converted date in 1970?

The value was probably empty, zero, or in a different unit.

Can I convert many timestamps at once?

Yes. Put one per line.

What is the year 2038 problem?

Systems that store Unix time as a signed 32-bit integer overflow on 19 January 2038. Modern 64-bit systems are not affected.

Español: Convertir timestamp Unix a fecha (y al revés)

Português: Converter timestamp Unix em data (e vice-versa)

More Time Tools