background image

Free Developer Tool - runs 100% in your browser

Unix Timestamp Converter

Current Unix timestamp

Scroll down to learn more about this tool

Convert Unix timestamps to dates - and back

This Unix timestamp converter (epoch converter) translates between machine time and human time in both directions. Paste an epoch value in seconds or milliseconds - the tool detects which automatically - and see the date in your local timezone, UTC and ISO 8601 format, plus a relative "time ago" description. Or pick a date to get its epoch seconds and milliseconds.

What is Unix time?

Unix time counts the seconds elapsed since January 1, 1970, 00:00:00 UTC - the "Unix epoch". It's the backbone of computing time: file modification stamps, JWT exp claims, databasecreated_at columns, log lines, cache TTLs and API timestamps all speak epoch. A single integer with no timezone ambiguity makes arithmetic trivial: tomorrow is just now + 86400.

Seconds vs milliseconds

Unix convention uses seconds (10 digits today), while JavaScript's Date.now() and Java'sSystem.currentTimeMillis() use milliseconds (13 digits). Mixing them up is a classic bug - interpreting milliseconds as seconds lands you in the year 56,000+. This converter checks the magnitude and labels which unit it assumed.

Common epoch values

  • 0 - the epoch itself: Jan 1, 1970 UTC.
  • 86400 - one day of seconds.
  • 2147483647 - Jan 19, 2038: the 32-bit signed integer overflow ("Year 2038 problem").

Everything computes locally in your browser. Debugging tokens with epoch claims? TheJWT decoder translates exp and iat for you.

More free developer tools