Unix Timestamp in your browser, no signup

Unix Timestamp in your browser, no signup

By Hami Tech·January 10, 2026·Updated January 19, 2026·4 min read

A Unix timestamp represents a point in time as the number of seconds since January 1, 1970 (the "Unix epoch") - widely used in programming and databases because it's a simple, unambiguous number rather than a formatted date string. This tool converts between Unix timestamps and human-readable dates in either direction.

Date maths goes wrong when time zones, leap years or "today" vs a chosen date get mixed up. Set the inputs deliberately, then trust the output.

Unix Timestamp is a good fit when developers debugging an API response that returns raw epoch values.

In plain English

Unix Timestamp is built around a few practical wins, not a long feature list:

  • Converts in both directions without switching modes.
  • Shows local time and UTC side by side, which is where most timezone bugs are actually spotted.
  • Handles both seconds and milliseconds explicitly rather than guessing.
  • Gives ISO 8601 output, the format most APIs and databases expect.
  • Shows relative time, so you can tell at a glance whether a timestamp is in the past or the future.

How to run it

  1. Pick a direction. Convert a timestamp into a date, or a date into a timestamp. Both are on the page at once.
  2. Enter your value. Paste a timestamp such as 1704067200, or choose a date and time.
  3. Choose seconds or milliseconds. Unix timestamps are normally seconds. JavaScript uses milliseconds, which is why a value can come out 1,000x wrong if the unit is set incorrectly.
  4. Set the timezone. Results are shown in your local time and in UTC, so you can see both without converting by hand.
  5. Read every format. ISO 8601, local time, UTC and a human-readable relative time ("3 days ago") are all produced at once.

Real situations

  • Developers debugging an API response that returns raw epoch values.
  • Checking whether a token or cache entry has already expired.
  • Reading timestamps out of a database export or a log file.
  • Converting a date into a timestamp for a query parameter or a test fixture.
  • Confirming that a scheduled job fired at the time you expected.

Small habits that help

  • If your converted date lands in 1970, the value was almost certainly milliseconds interpreted as seconds. Switch the unit.
  • Store timestamps in UTC and convert only for display. It removes an entire category of daylight-saving bugs.
  • ISO 8601 is the safest format for passing dates between systems - it is unambiguous about both the timezone and the field order.
  • A negative timestamp is valid and means a date before 1970.

Skip these

  • Mixing seconds and milliseconds. A JavaScript Date.now() value is 1,000x a standard Unix timestamp.
  • Assuming a timestamp carries a timezone. It does not - it is always an instant in UTC, and the timezone only affects how you display it.
  • Using a 32-bit integer for timestamps. Those overflow in January 2038, which is a real constraint in older systems.
  • Comparing timestamps from different units without normalising them first.

Does anything leave your device?

Unix Timestamp runs in your browser. The file or text you paste stays on your device. There is no account, and nothing is stored on a ToolBox server for this job.

If this is one step in a longer job, these usually come after it:

FAQ

What is a Unix timestamp?

The number of seconds that have elapsed since 1 January 1970 at 00:00:00 UTC, known as the Unix epoch. It is a single number that represents an exact instant, which is why databases and APIs prefer it over formatted dates.

How do I convert a Unix timestamp to a date?

Paste the number into the timestamp field above and the date appears immediately in local time, UTC and ISO 8601 format. Make sure the seconds/milliseconds toggle matches your value.

Why does my timestamp convert to 1970?

Almost always a unit mismatch. Your value is in milliseconds but is being read as seconds, so it lands only a few hours after the epoch. Switch the toggle to milliseconds.

What is the difference between seconds and milliseconds?

A standard Unix timestamp counts seconds, giving a 10-digit number today. JavaScript's Date.now() returns milliseconds, giving 13 digits. If your number has 13 digits, it is milliseconds.

Does a Unix timestamp include a timezone?

No. It always represents an instant in UTC. Timezones only matter when you format it for display, which is why this tool shows both your local time and UTC.

What is ISO 8601 format?

An international standard for writing dates and times, such as 2026-01-01T00:00:00Z. It is unambiguous about field order and timezone, making it the safest format to exchange between systems.

What is the year 2038 problem?

Systems storing timestamps in a signed 32-bit integer overflow on 19 January 2038, wrapping to a negative number and appearing as 1901. Modern systems use 64-bit values, which pushes the limit far beyond any practical concern.

Can a timestamp be negative?

Yes. Negative values represent dates before 1 January 1970. Some older systems and libraries handle these poorly, so test if you rely on them.

Open the Unix Timestamp when you are ready. It is free, and you do not need an account.