How to use Unix timestamp converter
- 1
Paste a timestamp
Enter seconds, milliseconds, microseconds or nanoseconds; the unit is detected automatically and can be changed.
- 2
Pick a time zone
Results show in your browser’s zone by default — choose UTC or any city zone from the list.
- 3
Convert a date back
Enter a date and time, choose its time zone, and copy the Unix seconds or milliseconds.
- 4
Batch a list
Paste many timestamps or dates, one per line, then copy the table or download it as CSV.
Limits and Pro
Free with no sign-up: convert any date between about 270,000 BC and 275,000 AD, in 400+ IANA time zones, and up to 10,000 lines per batch (the first 1,000 are shown, all are exported).
Pro removes the ads; conversion is the same on every plan. See Pro
About Unix timestamp converter
Unix time counts the seconds since 00:00:00 UTC on 1 January 1970, ignoring leap seconds, and it is how most databases, logs, APIs and JWTs store a moment. The trouble is that systems disagree on the unit: PostgreSQL's extract(epoch) and most Unix tools give seconds, JavaScript's Date.now() and Java give milliseconds, Python can return fractional seconds, and Go, InfluxDB or OpenTelemetry often use nanoseconds. Paste a number and this converter guesses the unit from its size — up to 11 digits as seconds, 12–14 as milliseconds, 15–17 as microseconds, longer as nanoseconds — and you can override the guess with one click.
Every result is shown in your browser's time zone, in UTC and in any IANA zone you pick, such as America/New_York or Asia/Kolkata, as a readable date, ISO 8601 with offset, RFC 2822 as used in e-mail and HTTP headers, and a relative time like “3 days ago”. The same instant is listed in all four units, calculated with exact integer arithmetic so nanosecond digits are never rounded away. Day of the year, ISO week number and a note when a value passes the 2038 limit of 32-bit time_t are included.
Going the other way, pick a date and time, choose the zone it belongs to and get seconds and milliseconds; times skipped or repeated by daylight-saving changes are flagged. ISO 8601 and RFC 2822 strings can be pasted too. The batch box converts up to 10,000 lines at once and exports CSV. Leap seconds and calendars other than the proleptic Gregorian one aren't modelled, as in nearly all software.
Privacy
All conversions use your browser's built-in Intl and Date functions, including the time-zone rules, so timestamps from your logs or databases are never sent anywhere. Only the selected display time zone is remembered in local storage.
Features
Unit detection
Seconds, ms, µs and ns recognised from the number’s size, exact to the nanosecond.
Any IANA time zone
Local, UTC and every zone your browser knows, with DST gaps and overlaps flagged.
Batch conversion
Up to 10,000 lines of timestamps or dates at once, exported as CSV.