Utilo

Unix Timestamp Converter

Convert a Unix timestamp (unixtimestamp) in seconds or milliseconds to a date, and a date back to epoch time. Free, instant, and private in your browser.

What this timestamp converter does

Unix time counts seconds since 1 January 1970 00:00:00 UTC. It is how databases, logs, APIs and file systems store moments without worrying about time zones. This converter shows the current Unix time live, turns any timestamp in seconds or milliseconds into UTC, local, ISO 8601 and relative time, and converts a calendar date back into a timestamp.

How to use it

  1. Read or copy the current Unix time at the top, in seconds or milliseconds.
  2. Paste a timestamp into Timestamp → Date. Values with more than 11 digits are treated as milliseconds automatically.
  3. Copy whichever representation you need: UTC string, localised date, ISO 8601 or relative time.
  4. To go the other way, pick a date and time in Date → Timestamp; it is interpreted in your local time zone.

Practical examples

  • Reading logs: 1760000000 is 9 October 2025, 08:53:20 UTC. Converting it immediately shows whether an error happened before or after a deploy.
  • JavaScript vs. backend: Date.now() returns milliseconds (13 digits) while most Unix tools and JWTs use seconds (10 digits). Mixing them up produces dates in 1970 or the year 57,000.
  • Scheduling: find the timestamp for next Monday 09:00 local time to set an expiry or a cron job.
  • SQL queries: convert a date range into timestamps for a WHERE created_at BETWEEN ... clause.

Tips and edge cases

  • Unix time ignores leap seconds; every day is exactly 86,400 seconds.
  • Signed 32-bit timestamps overflow on 19 January 2038 at 03:14:07 UTC. Use 64-bit integers in new systems.
  • Negative timestamps represent dates before 1970 and are valid.
  • ISO 8601 strings ending in Z are UTC. Store and transmit UTC, and convert to local time only for display.
  • Daylight saving transitions mean some local times occur twice or not at all; timestamps avoid this ambiguity.

Frequently asked questions

Is a Unix timestamp the same everywhere in the world?

Yes. It counts from a fixed moment in UTC, so the same instant has the same timestamp in Tokyo and New York. Only the displayed local time differs.

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

Current timestamps in seconds have 10 digits, in milliseconds 13 digits. The converter detects this automatically.

What happens in 2038?

Systems that store time as a signed 32-bit integer will wrap around to 1901. Modern operating systems, languages and databases use 64-bit values and are not affected.

Which time zone does Date → Timestamp use?

Your browser's local time zone. The resulting timestamp is absolute and the ISO 8601 output shows the equivalent UTC time.

Yes. All processing happens directly in your browser using JavaScript, Web Workers and Web APIs. Nothing you type, paste or upload is sent to our servers.