Unix timestamp converter — epoch to date and back
Turn a Unix timestamp into a date you can read, or turn a date back into a timestamp. Compare UTC with your device’s local time to check a log or scheduled event.
Runs in your browser — your input is not uploaded to ToolsNow.
Seconds, milliseconds, microseconds or nanoseconds — detected automatically.
Date → timestamp
Your values are calculated in your browser and are not sent to ToolsNow.
Site files and analytics use separate network connections. Ads are off. Privacy & Cookies
Unix time counts from 1 January 1970 at midnight UTC and ignores leap seconds. The tool guesses the unit from the number’s size; check the “Interpreted as” result. Dates are shown to millisecond precision, so finer detail is not preserved. Negative values are before 1970.
How to use
- Paste a timestamp. Enter it in Timestamp to convert, or select Use current for your device’s current time.
- Check Interpreted as. The unit is guessed from the number’s size. Confirm it matches the system that supplied the value before copying ISO 8601.
- Convert a date instead. Enter Date and Time below. Leave Treat as UTC on for UTC, or turn it off to use your device’s time zone.
Questions
Why do UTC and local time show different hours?
They describe the same instant in different time zones. The local value uses this device’s settings, which may differ from a server or colleague’s location. An ISO value ending in Z is UTC.
How do I check seconds versus milliseconds?
Recent timestamps usually have ten digits in seconds and thirteen in milliseconds. That is only a useful clue: a small millisecond value near 1970 can be mistaken for seconds. Check the source documentation when the displayed date looks wrong; this page has no manual unit selector.
Does it preserve nanosecond precision?
No. Microseconds and nanoseconds are accepted, but the result is rounded to milliseconds. Very large numbers can also lose precision during numeric conversion. Keep the original value for precise event ordering.
What about daylight-saving changes?
Local clock times can occur twice or not occur at all when the clocks change. The reverse conversion uses your browser’s local-time handling and does not offer a choice between repeated hours. Use a known UTC time when an exact instant matters.
Published by ToolsNow. How tools and sources are checked · Report a problem