Unix Timestamp Converter

Free online epoch converter and Unix timestamp tool. Convert timestamps to dates in any timezone, dates to timestamps, in seconds or milliseconds. Includes JWT expiry calculator and shareable URLs.

Timestamp to Date

Date to Timestamp

Unix Timestamp (s)

1704067200

Unix Timestamp (ms)

1704067200000

Timestamp Arithmetic

Add or subtract time from any timestamp. Calculate JWT expiry, cache TTL, session timeouts and scheduled job windows. Works with both seconds and milliseconds.

Use negative values to go back in time.

Unix Timestamp (s)

0

Unix Timestamp (ms)

0

GMT / UTC

Thu, 01 Jan 1970 00:00:00 GMT

ISO 8601

1970-01-01T00:00:00.000Z

About this tool

Convert Unix timestamps to human-readable dates in any timezone, or convert any date back to a timestamp. Seconds and milliseconds are detected automatically. Use the arithmetic section to compute JWT expiry, cache TTL or session windows, and share any timestamp via URL in one click.

Features

Auto-detection of timestamp precision (seconds or milliseconds)
Timezone-aware display across 30+ timezones worldwide
Timestamp arithmetic: add or subtract days, hours, minutes and seconds
Output in multiple formats: UTC, local time, ISO 8601, SQL and relative
Convert any date back to Unix Epoch in seconds or milliseconds
Shareable URLs — send a timestamp to a colleague in one click

Main Applications

  • API DebuggingDecode timestamps from API responses and server logs instantly to understand event timelines.
  • JWT ExpiryCalculate token expiration times precisely using the arithmetic calculator to avoid auth issues.
  • Database WorkConvert between SQL datetime strings and Unix timestamps for queries and migrations.
  • SchedulingPlan future events and cron jobs by computing exact timestamps for any timezone.
  • Log AnalysisCorrelate events across distributed systems by converting log timestamps to a common reference.
  • Team CollaborationShare timestamp links so colleagues in different timezones see the correct local time.

How to Use This Tool

1

Enter or check a timestamp

Paste a Unix timestamp in the Timestamp to Date field — seconds and milliseconds are detected automatically.

2

Choose a timezone

Select your preferred timezone to see the converted date in that region.

3

Use the arithmetic section

Enter a base timestamp and add or subtract days, hours, minutes or seconds to compute a future or past timestamp.

Questions and Answers

What is a Unix timestamp?

A Unix timestamp is the number of seconds elapsed since 1 January 1970 00:00:00 UTC (the Unix Epoch), not counting leap seconds. It is the standard time representation used by most operating systems, databases and APIs.

What is the difference between seconds and milliseconds timestamps?

A 10-digit timestamp is in seconds; a 13-digit timestamp is in milliseconds. This tool detects the precision automatically, but you can always check the label shown below the input field.

Does this tool handle dates before 1970?

Yes. Negative timestamps represent dates before the Unix Epoch. For example, -86400 corresponds to 31 December 1969 at 00:00:00 UTC.

See also