Useful Hacks

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates.

Processed locally in your browser. Nothing you enter is uploaded or stored.
  • Handles both seconds and milliseconds, and shows the result in local time and UTC.
  • Converts in both directions — timestamp to date, or date to timestamp.
  • Runs in your browser.

Why this is private

  • Processed locally in your browser. Nothing you enter is uploaded or stored.
  • Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
  • Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.

Overview

Converts a Unix timestamp (seconds or milliseconds since 1 Jan 1970 UTC) to a human-readable date, and back.

How to use it

  1. 1Enter a timestamp, or click "Now" to use the current time.
  2. 2The date is shown in your local timezone and UTC.
  3. 3Or enter a date to get its timestamp.

Formula

Timestamp to date

date = new Date(timestamp * 1000)

Multiply by 1000 when the timestamp is in seconds, not milliseconds.

Frequently asked questions

What people use it for

Read a timestamp from a log or databaseTurn `1735689600` into a readable date while debugging.
Check a JWT or cookie expiryConvert an `exp` value to see exactly when a token lapses.
Build a date filter for an APIGet the epoch value for a specific date to pass as a query parameter.
Confirm seconds vs millisecondsA 13-digit number is milliseconds; 10 digits is seconds — the tool shows which gives a sane date.

Related guides

Related tools

All developer tools

Ready to use Unix Timestamp Converter?

Unix Timestamp Converter

Search tools

Search for any tool by name, category or keyword