Unix Timestamp Converter

Convert Unix timestamps to human-readable dates, calculate time differences, and batch convert. Supports all IANA timezones, seconds/ms/µs/ns auto-detection, and shareable links.

Current Unix Timestamp
Seconds --
Milliseconds --
--
Unix = (Date − 1970-01-01T00:00:00Z) ÷ 1000 Date = new Date(unix × 1000) Epoch age = now ÷ 86 400 days
Enter Timestamp

Converted Date
ISO 8601 --
US Format --
EU Format --
RFC 2822 --
Relative --
Day of Week --
Week No. --
Quarter --
Day of Year --
Unix Hex --
Select Date & Time
Unix Timestamp
Seconds --
Milliseconds --
Selected Format --
Point A
Point B
Time Difference
Enter two timestamps or dates above
--
Total Seconds
--
Minutes
--
Hours
--
Days
--
Weeks
--
Business Days
--
% of Year --
Formula --
Paste Timestamps (one per line)

Tip: use label: timestamp syntax to label rows

Results
Timezone
--
UTC Offset
--
DST Active
--
Epoch Age
--
100% Private. All conversions happen in your browser using native JavaScript Date and Intl APIs. Nothing is sent to any server.

How to Use

1

Enter a Timestamp or Date

Paste a Unix timestamp (seconds, ms, µs, or ns) into Tab 1, or pick a date and time in Tab 2. The converter auto-detects the precision from the number of digits.

2

Choose Timezone & Format

Select your target timezone from 400+ IANA zones and pick an output format: ISO 8601, RFC 2822, US, EU, or relative time. Your preference is saved automatically.

3

Share, Copy, or Batch Convert

Use the Share URL button to create a shareable link. Use the Time Diff tab to compare two moments. Use Batch to convert many timestamps at once and download as CSV.

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp (also called Epoch time or POSIX time) is the number of seconds elapsed since January 1, 1970 00:00:00 UTC. It provides a timezone-independent way to represent a moment in time, widely used in programming, databases, and APIs.

How does auto-detection of seconds, milliseconds, microseconds, and nanoseconds work?

The converter checks the magnitude of your input: fewer than 13 digits → seconds; 13–15 digits → milliseconds; 16–18 digits → microseconds; 19+ digits → nanoseconds. For example, 1710500000 is seconds, 1710500000000 is milliseconds. The detected unit is shown in color below the input.

Is my data sent to a server?

No. All conversions use JavaScript's built-in Date object and Intl APIs. Everything runs locally in your browser. No data is transmitted anywhere.

What timezones are supported?

All IANA timezones recognized by your browser are listed in the dropdown, typically 400+ entries including America/New_York, Europe/London, Asia/Tokyo, Pacific/Auckland, and many more. Your selected timezone is remembered between sessions.

Can I convert negative timestamps (before 1970)?

Yes. Negative Unix timestamps represent dates before January 1, 1970. For example, -86400 represents December 31, 1969. The converter handles these correctly, including the Unix Hex display which will show a negative hex value.