Unix Timestamp Converter

Convert Unix timestamps and dates between readable and Unix formats.

Current timestamp

Calculated locally using your device's clock.

Unix timestamp → readable date

Converted date will appear here.

Readable date → Unix timestamp

Converted timestamp will appear here.

Dates without a timezone offset are interpreted in your browser's local timezone.

What is the Unix epoch?

The Unix epoch is the reference point January 1, 1970, 00:00:00 UTC. Unix timestamps count elapsed seconds (or milliseconds) from that moment, which makes them easy to store, compare and sort as plain numbers.

When should I use seconds vs milliseconds?

Many backend systems and databases (like PostgreSQL or Unix system calls) use seconds, while JavaScript's Date.now() and many web APIs use milliseconds. Check which your system expects before converting.

Frequently asked questions

What is a Unix timestamp?+

A Unix timestamp is the number of seconds (or milliseconds) that have elapsed since January 1, 1970, 00:00:00 UTC, commonly known as the Unix epoch.

Seconds or milliseconds — how do I know which one I have?+

A 10-digit number is typically seconds (covers dates up to the year 2286), while a 13-digit number is typically milliseconds. Use the unit toggle to switch between them.

Does this tool account for time zones?+

Yes. Results show both your local time (based on your browser's timezone) and UTC, so you can see the value both ways.

Is this calculated on a server?+

No. All conversions use your browser's built-in Date object and run entirely on your device.

Related tools