Unix Timestamp Converter
Convert between Unix timestamps and human-readable dates both ways — millisecond/second switching, batch conversion and multiple time zones, all computed locally in your browser.
Timestamp to date
Date to timestamp
Batch timestamp to date
| # | Timestamp | Date & time |
|---|
About timestamp conversion
A Unix timestamp is the most common way computers record a point in time: the number of seconds or milliseconds that have elapsed since 00:00:00 UTC on 1 January 1970. When you debug an API response, read a log line, verify a database column or set a cache expiry, you often need to turn a timestamp into a readable date — or the other way round. This tool converts in both directions with no sign-up, and every calculation runs locally in your browser.
Key features
- Timestamp to date: enter a seconds or milliseconds timestamp and get the date and time in any time zone you pick.
- Date to timestamp: choose a date, time and time zone, and get the matching seconds or milliseconds timestamp.
- One-click ms / s switch: flip between the 10-digit seconds and 13-digit milliseconds value without slicing or padding digits by hand.
- Batch conversion: paste many timestamps at once and convert them all, with per-row copy.
- Multiple time zones: Asia/Shanghai, UTC, America/Los_Angeles and every other IANA zone, with a searchable picker.
- Live current timestamp: the header keeps the current timestamp ticking, and you can pause or copy it instantly.
Frequently asked questions
How do I tell a seconds timestamp from a milliseconds one?
A seconds timestamp for the present day is 10 digits long (e.g. 1794812448); a milliseconds timestamp is 13 digits (e.g. 1794812448080). If you see 13 digits the unit is milliseconds, if you see 10 it is seconds. This tool switches between both units in one click, with no manual truncation or zero-padding.
Why does the result not match my local time?
A timestamp represents an absolute moment in UTC and carries no time-zone information. When the output looks off, it is almost always because a different time zone is selected. Pick your zone (for example Asia/Shanghai for UTC+8) in the time-zone picker above and convert again.
Is my data uploaded when I convert?
No. All conversion logic runs in your browser with JavaScript. Nothing is sent to any server and no network request is made while you convert.
What timestamp range is supported?
Any value a JavaScript Date object can represent — from before 1970 up to the year 275760. Negative timestamps represent dates before 1970 and convert just as well.
Everything is computed locally in your browser. No data is ever uploaded.