Timestamp Converter

Convert Unix timestamps to dates and dates to timestamps, in seconds or ms

  • 100% Free
  • Files stay private
  • Works in your browser
Try it now·Timestamp Converter

Current Unix time

—

Timezone
Unit

Unix time counts seconds since 1970-01-01 00:00:00 UTC. All conversions run in your browser; “now” and relative times use your device clock.

How it works

  1. Pick a direction

    Choose Epoch → Date to read a Unix timestamp, or Date → Epoch to turn a calendar date and time into one.

  2. Enter a value

    Type a Unix timestamp and pick Seconds or Milliseconds, or choose a Date & time. Set the Timezone to Local or UTC.

  3. Copy any format

    The result shows the full date, a relative time such as 5 days ago and a Formats list with ISO 8601 and Unix seconds. Press Copy on any row.

Convert Unix timestamps to readable dates and back again in both directions, with instant seconds and milliseconds output, local or UTC time, and a live current-epoch clock.

What is Timestamp Converter?

A Unix timestamp is the number of seconds elapsed since 1 January 1970 at 00:00:00 UTC, the reference point most systems use to store time as a single integer. This converter translates that number into a full human-readable date, and turns any calendar date and time back into its epoch value, so you can move between machine and human formats without doing the maths yourself.

Who Benefits from This Tool

  • Backend developers reading epoch values straight out of database rows and logs.
  • API developers checking iat, exp, and other timestamp fields in requests and tokens.
  • Support and ops engineers correlating log entries recorded in Unix time.
  • Data analysts converting exported timestamp columns into dates for reporting.
  • QA testers crafting precise date-time values for scheduling and expiry tests.

Key Features

  • Two-way conversion: switch between Epoch to Date and Date to Epoch with one tap.
  • Seconds or milliseconds: tell the tool which unit your timestamp uses so it reads correctly.
  • Local and UTC: view or enter times in your own timezone or in UTC, clearly labelled.
  • Live current epoch: a ticking display shows the current Unix time, with a “Use now” shortcut.
  • Multiple output formats: ISO 8601, RFC/UTC string, human date-time, plus Unix seconds and milliseconds.
  • Relative time: shows how far the moment is from now, like “3 hours ago” or “in 2 days”.
  • Copy any value: each formatted output has its own copy button for quick reuse.

How to Use

  1. Choose a direction: Epoch → Date to decode a number, or Date → Epoch to encode one.
  2. Pick your timezone, Local or UTC, so the result is interpreted correctly.
  3. Enter a Unix timestamp (and set seconds or milliseconds), or pick a date and time.
  4. Read the headline date, relative time, and the full list of formatted outputs.
  5. Copy the format you need, or click Use now to load the current moment.

Common Use Cases

  • Decoding a timestamp from a log line to see exactly when an event occurred.
  • Checking whether a token's expiry claim is in the past or future.
  • Converting a human date into epoch seconds for an API query parameter.
  • Confirming that a scheduled job's stored time matches the intended local time.
  • Translating a milliseconds timestamp from JavaScript into a readable date.

Tips and Best Practices

  • Double-check the unit: JavaScript's Date.now() returns milliseconds, while most Unix APIs use seconds.
  • Store and compare timestamps in UTC to avoid daylight-saving and timezone bugs.
  • Use the ISO 8601 output when you need an unambiguous, sortable string for logs or APIs.
  • The relative-time readout is a fast sanity check that you decoded the right value.
  • When entering a date, confirm the Local/UTC toggle matches how the source stored it.

Limitations and Notes

All conversions run entirely in your browser, and the current time and relative distances are read from your device clock, so an incorrect system clock will shift “now” and relative results. The tool works in seconds and milliseconds; it does not accept microsecond or nanosecond input. Local-time results depend on your operating system's timezone settings, and historical timezone rules are applied as your browser knows them.

FAQs

It's the number of seconds since 1 January 1970 00:00:00 UTC, known as the epoch. It gives every moment a single integer value that's easy for computers to store and compare.

Match the source. A 10-digit number is almost always seconds; a 13-digit number is almost always milliseconds. JavaScript timestamps are typically milliseconds.

UTC is the global reference time with no offset. Local applies your device's timezone. Use the toggle so the tool interprets and displays the moment the way you intend.

No. Every conversion is calculated locally in your browser. Nothing you enter is uploaded or stored remotely.

The current Unix time display ticks once per second so you always see the live value. Click “Use now” to freeze the present moment into the input.

Yes. Negative timestamps represent moments before the epoch, and the converter handles them within the standard representable date range.

More Development Tools

Other tools in Development Tools.

All Development Tools