How to use this developer tool
- Paste or type a value in the input area.
- Choose the conversion option when one is available.
- Select Convert Nanoseconds or press Ctrl/Cmd + Enter.
- Review the interpretation and copy or download the result.
Translate a Unix timestamp in nanoseconds without sending its 19-digit integer through floating-point arithmetic. Nanosecond input is handled as BigInt, split into milliseconds and a sub-millisecond remainder, and rendered as an ISO instant. The reverse mode accepts an ISO date and returns nanoseconds at millisecond precision, making the lost six fractional digits explicit.
Unix nanoseconds count billionths of a second from 1970-01-01T00:00:00Z. JavaScript Date stores milliseconds, so the converter preserves extra input digits as a separate remainder.
Converting an ISO date back to nanoseconds cannot recover precision that JavaScript Date never stored.
Try the sample input, then run the converter. The output panel reports the normalized value and the fields used to derive it.
1784435400123456789
Use integer division by 1,000,000 to obtain Date milliseconds and modulo arithmetic to retain the nanoseconds within that millisecond.
Converting an ISO date back to nanoseconds cannot recover precision that JavaScript Date never stored.
Use the format shown in the sample. The parser rejects empty input and reports malformed values instead of guessing silently.
UTC and offset-aware values represent a fixed instant. Any output labeled local uses the timezone configured in your browser.
The output is copy-ready, but verify it against the date library and runtime used by your application, especially for legacy formats.
Browsers may ship different timezone database versions and may parse non-standard legacy date strings differently. Prefer explicit standard formats.
No. The conversion runs in this page with browser APIs and does not require a network request.
| Value | Meaning |
|---|---|
| UTC | Coordinated Universal Time |
| Unix epoch | 1970-01-01T00:00:00Z |
| ISO 8601 | International date and time notation |