Unix Timestamp Converter

Convert Unix timestamps to readable dates and back, with the unit detected for you.

  • Runs in your browser
  • Nothing is uploaded
  • Results update as you type

Now: — s · — ms

Without Z or an offset like +01:00, the date is read in your time zone.

Enter a Unix timestamp or a date. Everything runs in your browser.

How to use this tool

  1. Paste a Unix timestamp, or select Use now.
  2. Check the detected unit, and override it if needed.
  3. Read the UTC, local, ISO 8601 and relative results.
  4. To go the other way, type a date and copy the seconds or milliseconds.

Quick answers

What is a Unix timestamp?

A Unix timestamp counts the seconds since 1 January 1970 00:00:00 UTC. Many systems store it in milliseconds instead, which adds three digits.

How do I know if a timestamp is in seconds or milliseconds?

Count the digits: current dates have 10 digits in seconds and 13 in milliseconds. This converter detects the unit automatically and lets you override it.

Does this converter use my time zone?

It shows UTC and your browser time zone side by side. Dates you type without an offset are read in your time zone; add Z or an offset like +01:00 to be explicit.

Common use cases

  • Read timestamps from logs
  • Check JWT expiry times
  • Write epoch values for queries and fixtures

What this tool does

  • Detect whether a timestamp is in seconds, milliseconds, microseconds or nanoseconds
  • Show UTC, your local time with its offset, ISO 8601 and relative time
  • Convert a date and time, with or without an offset, to Unix seconds and milliseconds
  • Keep a live clock of the current Unix time

Examples

Decode a log timestamp

Paste 1700000000 or 1700000000000 from a log line and see the exact moment in UTC and in your time zone.

Build a query boundary

Type 2024-02-29T00:00:00Z and copy the seconds or milliseconds value for a database filter or API parameter.

Common issues

  • Unix time in seconds has 10 digits today; milliseconds have 13. Mixing them gives dates in 1970 or far in the future.
  • A date without Z or an offset is read in the local time zone of the browser.
  • Negative timestamps are dates before 1 January 1970.

Privacy and security

Everything runs in your browser. Your data never leaves your device. The tool logic runs locally and does not send your input, output, files, or generated values to analytics.

FAQ

Is anything sent to a server?

No. All conversions run in your browser.

Which units are supported?

Seconds, milliseconds, microseconds and nanoseconds, detected by length or chosen by hand.

Can it read dates before 1970?

Yes. Negative timestamps convert to dates before 1 January 1970.

Can I see the time inside a UUID v7?

Yes. Validate a UUID v7 in the UUID tool to see its embedded creation time.