Epoch converter · s / ms / µs / ns · batch · diff · timezones

Every Unix timestamp, decoded.

Convert epoch timestamps at any precision to and from human dates, batch-convert a column from your logs, diff two times, and view any instant across timezones.

Open the converter ↗

What it does

Beyond a single seconds conversion, unixstamp auto-detects precision (seconds, ms, µs, ns), batch-converts a pasted log column to ISO 8601, computes the diff between two times, and shows an instant across DST-aware timezones.

Epoch precision, quickly

seconds (~10 digits)

The classic Unix epoch; what most APIs return.

milliseconds (~13)

Used by JavaScript and Java (Date.now()).

microseconds (~16)

Common in databases and some logs.

nanoseconds (~19)

Used by Go and many tracing systems.

Frequently asked questions

Is unixstamp free?

Yes — completely free, no account, no sign-up. It runs entirely in your browser.

What is a Unix timestamp?

A Unix timestamp (epoch time) is the number of seconds since 1970-01-01 00:00:00 UTC. It’s timezone-independent, which makes it the standard way to store an instant in logs, APIs and databases.

What are milliseconds, microseconds and nanoseconds?

Different systems store the epoch at different precisions: seconds (10 digits today), milliseconds (13, used by JavaScript and Java), microseconds (16, common in databases), and nanoseconds (19, used by Go and many tracing systems). unixstamp auto-detects the precision from the magnitude, and you can force it.

How does auto-detection work?

It looks at how many digits the number has: ~10 → seconds, ~13 → milliseconds, ~16 → microseconds, ~19 → nanoseconds. If a value is ambiguous, use the unit toggle to force seconds/ms/µs/ns.

Can it convert a whole column from a log file?

Yes. Paste a column of timestamps (or dates), one per line, into the batch box and unixstamp converts each to ISO 8601 UTC — handy for cleaning up logs.

Are the timezone conversions accurate across DST?

Yes. The multi-timezone view uses your browser’s IANA timezone database via the Intl API, so daylight-saving transitions are handled correctly for each zone.

Does anything I paste get uploaded?

No. All parsing and conversion happen locally in your browser — there is no backend and nothing is sent anywhere.

Open the full interactive tool ↗