Timestamp Converter
Convert seconds / milliseconds / microseconds / nanoseconds ↔ date and time, both ways. Everything runs locally in your browser — no data is uploaded.
Timestamp → Date and Time
- Date and time
- UTC (ISO 8601)
- Relative time
- Seconds
- Milliseconds
- Microseconds
- Nanoseconds
Date and Time → Timestamp
- UTC (ISO 8601)
- Seconds
- Milliseconds
- Microseconds
- Nanoseconds
Frequently asked questions
What timestamp units does this converter support?
Seconds, milliseconds, microseconds and nanoseconds. Conversion works in both directions: timestamp to date and time, and date and time to timestamp.
How are nanoseconds handled without losing precision?
Nanoseconds are computed with JavaScript BigInt, so a 19-digit nanosecond timestamp round-trips exactly with no precision loss.
Does the converter handle daylight saving time (DST)?
Yes, in both directions. A local time that does not exist on a spring-forward day is flagged and converted using the first valid time after the jump. A local time that occurs twice on a fall-back day lists both options so you can choose which one you mean.
How is the timestamp unit detected automatically?
By the number of digits: up to 10 digits is read as seconds, 11–13 as milliseconds, 14–16 as microseconds, and 17 or more as nanoseconds. You can also pick a unit manually.
Is my data uploaded anywhere?
No. The converter runs entirely in your browser and makes no network requests.
More tools are coming. Back to thetool list.