Timestamp Converter
ConvertersConvert between Unix epoch time and human-readable dates
Unix timestamp
Date & time (local)
Converted
Enter a timestamp or pick a date to see the conversion.
About the Timestamp Converter
A two-way Unix timestamp converter. Type an epoch value (seconds or milliseconds, auto-detected) to see it as a local date, UTC, ISO 8601, and relative time — or pick a date and time to get its epoch value back, with a live ticking current timestamp for reference.
The recurring annoyance with epoch timestamps is not knowing whether a given system emits seconds or milliseconds, and having to convert by hand either way. This handles both directions and both units automatically, so you can go from a log line's raw timestamp to a readable date, or from a date picker back to the exact value your code expects, without opening a REPL.
How to Use the Timestamp Converter
Type a Unix timestamp, or pick a date and time.
View the converted value in the other direction — local date, UTC, ISO 8601, or epoch.
Copy the value in whichever format you need.
Frequently Asked Questions
Is my data sent anywhere?
No. All parsing and conversion happens locally using your browser’s clock and JavaScript’s Date object — nothing is sent to a server.
How does it know if my timestamp is in seconds or milliseconds?
By magnitude: a value at or above 100,000,000,000 is treated as milliseconds (a seconds-based epoch doesn’t reach that until the year 5138), otherwise it’s treated as seconds. You can override the auto-detection with the Seconds/Milliseconds toggle if needed.
Can I convert the other direction — a date to a timestamp?
Yes — use the date & time picker to choose a local date and time, and the Unix timestamp field updates to match automatically. The two fields stay in sync in both directions.
What timezone is used?
The date & time picker and the "Local time" row both use your browser’s local timezone. The UTC and ISO 8601 rows show the same instant in UTC for when you need a timezone-independent reference.
What does the "relative time" row mean?
A human-readable description of how far the timestamp is from right now — like "3 hours ago" or "in 2 days" — updated live using your device's current clock.