Time keeper

Unix timestamp converter

Inspect timestamps in local time and UTC with an instant conversion.

Privacy built inYour work stays with you

Timestamp → date

Seconds and 13-digit millisecond timestamps are detected automatically.

UTC
Monday, January 1, 2024 at 12:00:00 AM UTC
Your local time
Monday, January 1, 2024 at 12:00:00 AM UTC
ISO 8601
2024-01-01T00:00:00.000Z

Date → timestamp

The entered date and time are interpreted in your device’s local time zone.

Unix seconds
1704067200
Unix milliseconds
1704067200000
UTC offset
UTC+0.00

Your work stays private in your browser while you use this tool.

In short

What does unix timestamp converter do?

The Unix timestamp converter turns an epoch number into ISO, UTC, and device-local date/time views, or converts a browser-local date and time into Unix seconds and milliseconds. Numeric inputs longer than 10 characters are interpreted as milliseconds.

Input
A timestamp or calendar date and time.
Result
Unix seconds, milliseconds, local time, and UTC.
Price
Free
Account
Not required
A quick, useful guide

How to use unix timestamp converter

01

Add your input

A timestamp or calendar date and time.

02

Choose your settings

Inspect timestamps in local time and UTC with an instant conversion.

03

Save or copy

Unix seconds, milliseconds, local time, and UTC.

A practical tip

Ten-digit timestamps are usually seconds; thirteen-digit timestamps are usually milliseconds.

Practical uses

When to use unix timestamp converter

Translate a 10-digit timestamp from an API log into a readable UTC date.

Create epoch seconds for a scheduled job from a local date and time.

Compare an event's ISO instant with how it appears in the current device time zone.

Worked example

A concrete unix timestamp converter example

Input
1704067200
Settings
Timestamp to date
Result
2024-01-01T00:00:00.000Z (January 1, 2024 at 00:00:00 UTC).
What to expect

How it works

Timestamp mode converts the number to milliseconds—multiplying inputs of 10 or fewer characters by 1,000—then creates a JavaScript Date. Date mode interprets the datetime-local field in the browser's local zone and returns floor(milliseconds ÷ 1,000) plus the exact millisecond value.

Know before using

Limits and edge cases

  • Seconds versus milliseconds is inferred from trimmed character count, not magnitude. Unusual 11-digit second timestamps, short millisecond values, negative values, or scientific notation can be classified unexpectedly.
  • Date-to-timestamp input has no explicit time-zone selector and follows the device's local zone. As with JavaScript Date and POSIX-style time, leap seconds are not represented.
References

Standards and sources

Common questions

Unix timestamp converter FAQ

Is unix timestamp converter free to use?

Yes. Unix timestamp converter is free to use.

Does unix timestamp converter keep my work private?

Yes. Your work stays private while you use the tool — nothing you enter is uploaded.

How does the tool decide between seconds and milliseconds?

After surrounding spaces are removed, a timestamp with more than 10 characters is treated as milliseconds; otherwise it is treated as seconds.

Why does date-to-timestamp change on a device in another time zone?

The datetime-local input has no zone or offset. The browser interprets it in that device's local time zone before calculating the universal epoch value.