Unix Nanoseconds Converter
Convert nanosecond-precision Unix timestamps to ISO dates and back using BigInt math without float loss.
Convert Unix timestamps with nanosecond precision
JavaScript Date uses millisecond precision, but distributed systems,
Prometheus metrics, and some databases store nanoseconds since epoch.
Multiplying huge integers as floats loses digits past ~15 significant figures. This
converter uses BigInt arithmetic so values like
1729256400000000000 round-trip without drift.
Three ways to enter time
Paste a nanosecond counter, pick a local datetime, or type an ISO-8601 string. All inputs stay synchronized: editing nanoseconds updates the decoded UTC ISO string and local timezone text.
For second-level epochs, the Epoch Unix Timestamp Converter may be simpler. For log formatting, combine with the strftime Playground.
Frequently Asked Questions
How many nanoseconds are in one second?
One Unix second equals 1,000,000,000 nanoseconds. Multiply seconds
by that factor (as integers) when converting manually.
Why does sub-millisecond detail disappear in the date picker?
HTML datetime inputs and JavaScript Date resolve to milliseconds.
Nanosecond remainders below one millisecond cannot be represented in the picker,
but the nanosecond text field keeps the full integer you paste.
Is negative time supported?
Yes. Negative nanosecond counts represent instants before 1970-01-01 UTC, within the range supported by JavaScript dates.