Skip to content
T
Tools.Town
Free Online Tools for Everyone
Product Updates

Unix Timestamp Converter

Introducing the Unix Timestamp Converter — Epoch to Date & Back

Convert Unix timestamps to human-readable dates and back. Auto-detects seconds vs milliseconds. ISO 8601, UTC, local time, relative time, week number. Free.

Tools.Town Team 25 June 2026 2 min read

The new Unix Timestamp Converter converts Unix timestamps to human-readable dates (and back), with automatic seconds/milliseconds detection, UTC offset support, and relative time.

Three modes

Timestamp → Date — paste a Unix timestamp (seconds or milliseconds — auto-detected). Get ISO 8601, UTC string, local string, date components, ISO week number, and relative time (“3 days ago”).

Date → Timestamp — paste an ISO 8601 string or YYYY-MM-DD HH:MM:SS. Get the Unix timestamp in both seconds and milliseconds.

Current Time — live view of the current Unix timestamp, updating in real time.

Auto-detection

The converter uses a simple rule: 10-digit values are seconds, 13-digit values are milliseconds. JavaScript’s Date.now() is milliseconds; server logs and most POSIX tools are seconds. The converter handles both without manual mode-switching.

UTC offsets

The UTC offset dropdown covers every half-hour step from UTC−12:00 to UTC+14:00. Set UTC+05:30 for IST to see your local time without relying on browser timezone settings.

Everything at once

One paste gives you: Unix seconds, Unix milliseconds, ISO 8601, UTC string, local string, day of week, week number, and relative time. Copy any field individually.

Try it

Open the Unix Timestamp Converter. For format reference and use cases, read the guide.

Frequently Asked Questions

What's the difference between this and the Epoch Converter?
The Unix Timestamp Converter adds bidirectional conversion (date string → timestamp), UTC offset support, relative time strings, and a detailed date-components panel. Epoch Converter is simpler and focused on the basic seconds→date conversion.
How does it auto-detect seconds vs milliseconds?
Values below 10,000,000,000 (10 digits) are treated as seconds; values above are treated as milliseconds. JavaScript's Date.now() returns 13-digit milliseconds; POSIX/Unix utilities return 10-digit seconds.

Explore more on Tools.Town Blog

Finance guides, tool launches, and engineering stories — updated weekly.

All Posts