Skip to content
PrivBay

Epoch converter for Unix timestamps

Translate a Unix timestamp to a date or enter a UTC date and time to get Unix seconds and milliseconds.

Convert from
Timestamp unit

Seconds accept up to three decimal places. Milliseconds must be a whole number.

Ready. This runs on your device.

How to convert Unix timestamps and UTC dates

  1. Choose Unix timestamp or UTC date and time under Convert from.
  2. For Unix timestamp, choose Seconds or Milliseconds and enter the value. For UTC date and time, enter an ISO date and time.
  3. Read Seconds, Milliseconds, UTC ISO 8601 and Local time. Select Copy result beside the value you need.

Convert Unix seconds or milliseconds with a Unix timestamp converter

Unix epoch time counts elapsed time since 1970-01-01T00:00:00.000Z (midnight UTC on January 1, 1970), ignoring leap seconds. Because APIs, databases and log files use either 10-digit Unix seconds or 13-digit milliseconds, this Unix timestamp converter and epoch converter lets you select the exact unit instead of guessing from digit length. Negative numbers represent dates before 1970:

Representation Example value for 2026-11-01T05:30:00.000Z Precision
Unix seconds 1793511000 Whole seconds, or up to 3 decimal places (1793511000.123)
Unix milliseconds 1793511000000 Whole milliseconds (Date.now() in JavaScript)
UTC ISO 8601 2026-11-01T05:30:00.000Z Unambiguous UTC calendar date and time

Convert a UTC ISO date and time back to epoch numbers

Select UTC date and time and enter an ISO 8601 timestamp such as 2026-11-01T05:30:00.000Z (with or without the trailing Z). The tool outputs both Unix seconds and Unix milliseconds side by side so you can copy whichever format your SQL query, JWT exp claim or log filter expects.

Compare UTC with local time and other time zones

Alongside UTC ISO 8601, the local time row formats the same instant in your device’s current time zone and displays the active UTC offset. For example, in New York on November 1, 2026, 05:30 UTC and 06:30 UTC both show 01:30 on a wall clock, distinguished by UTC−04:00 vs UTC−05:00. Use the time zone converter when starting from a local meeting time across multiple cities, or the number base converter if your timestamp is stored as a hexadecimal integer.

To read the timestamps directly from a signed token, use the JWT decoder.

Frequently asked questions

What does a timestamp of zero mean?

It is 1970-01-01T00:00:00.000Z, the start of the Unix epoch.

Can I enter negative values?

Yes. Negative values represent instants before the Unix epoch. For example, −1 second is 1969-12-31T23:59:59.000Z.

Can I enter fractional seconds?

Yes. Seconds accept up to three decimal places, and milliseconds must be a whole number.

Which time zone does the date input use?

It is interpreted as UTC, with or without a final Z. Local time is displayed separately using your device time zone.

How do I handle an ambiguous local time?

Use Time Zone Converter to pick the correct UTC offset for a repeated local time before converting the UTC value here.

Last updated November 11, 2026