Batch Unix Epoch Timestamp Converter

Convert entire lists of Unix timestamps to readable dates — or back. No limits, nothing to install.

#InputDateEpoch (s)Epoch (ms)
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/batch-epoch-converter" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/batch-epoch-converter" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Batch Unix Epoch Timestamp Converter</a></div>

What is a Unix timestamp?

A Unix timestamp (epoch) counts the number of seconds — or milliseconds — since January 1, 1970 00:00:00 UTC. Databases, logs, APIs and file systems store times this way because a single number is compact and timezone-free. But 1700000000 means nothing to a human, which is where this converter comes in.

Seconds or milliseconds?

Classic Unix time uses seconds (10 digits). Modern JavaScript Date.now(), most Node.js and Java timestamps use milliseconds (13 digits). This tool auto-detects the format from the length of the number, so you can paste a mixed list and it still works.

How to use it

This batch mode saves you from opening a single-value converter 50 times when debugging log files, database dumps or API responses.

Edge cases and hard limits

Each line is inspected for length and digits: ten digits are read as seconds, thirteen as milliseconds and sixteen as microseconds, then formatDate() renders the value as both ISO 8601 and local time. In the other direction, a date you paste produces a timestamp in the precision you choose, so log lines and database columns can be aligned without manual arithmetic.

Formats, sizes and other limits

Unit detection is by digit count, which is a heuristic: a ten-digit millisecond value from 1970 or a non-standard length will be misread, and there is no way to override it per line. Timezones follow the browser, so comparing against a UTC server log needs care. Microseconds are truncated to milliseconds because JavaScript's precision stops there.

Privacy: processed in your browser

Timestamps are converted locally. Nothing is sent, so log excerpts you paste — which often contain internal identifiers — stay in the tab.

Frequently asked questions

Why is my date off by decades?

The unit was misread. Ten digits are seconds and thirteen are milliseconds; mixing them changes the result by a factor of a thousand.

Local time or UTC?

Both are shown. Compare server logs in UTC to avoid a timezone error.

Are microseconds supported?

Sixteen digits are treated as microseconds, but the value is truncated to millisecond precision.