Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and back, free and in your browser.

Convert a date to a timestamp

How to use

  1. 1Enter a Unix timestamp and choose seconds or milliseconds to see the matching date.
  2. 2Or pick a date and time and click Convert to get its Unix timestamp.
  3. 3Use the Now button to fill in the current timestamp.

Features

  • Convert timestamp to local time and UTC
  • Convert a date and time to a timestamp
  • Seconds or milliseconds support

Supported formats

Unix timestampISO 8601 date

Privacy

Conversion happens locally in your browser and is never sent to our server.

About this tool

Unix time counts seconds (or milliseconds) elapsed since January 1, 1970 UTC — a single number with no timezone baked in, which is exactly why it's the default way computers store and exchange timestamps internally. This tool translates that number into a human-readable date in both your local timezone and UTC, and converts the other direction too, since reading a raw timestamp out of a log file or database row is otherwise guesswork. Most useful for debugging APIs, inspecting log timestamps, or checking exactly when a database record was created.

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 UTC.

How do I get the current timestamp?

Click the Now button to fill in the current Unix timestamp in your selected unit.

Is my data sent to a server?

No, all conversion happens locally in your browser using standard JavaScript Date APIs.

Why do timestamps sometimes come in seconds and sometimes milliseconds?

Unix time was originally defined in seconds, which is still what most server-side languages and databases use by default. JavaScript's own Date.now() returns milliseconds, which is why APIs built around JavaScript often use the millisecond convention instead — always check which one a system expects before converting.