Unix Timestamp Converter — Epoch to Date & Date to Epoch
Current Unix timestamp
—
Unix timestamp → Date
Not a valid timestamp. Enter a number like 1700000000 (seconds) or 1700000000000 (ms).
| ISO 8601 | |
| UTC | |
| Local | |
| Relative | |
| Milliseconds |
Date → Unix timestamp
Could not parse this date. Try a different format.
| Unix (seconds) | |
| Unix (ms) | |
| ISO 8601 | |
| Relative |
Convert Unix timestamps to readable dates or turn any date into a Unix epoch — instantly in your browser. Paste a timestamp to see the full formatted date, or pick a date to get the corresponding epoch value. Automatically detects whether the input is in seconds or milliseconds.
How it works
- 1 See the current timestamp The current Unix timestamp (seconds since Jan 1 1970 UTC) is shown at the top and updates every second.
- 2 Convert a timestamp to a date Paste any Unix timestamp into the first field. Values above 10 billion are treated as milliseconds; smaller values are treated as seconds.
- 3 Convert a date to a timestamp Pick a date and time using the second input. The tool shows the corresponding Unix timestamp in both seconds and milliseconds.
Your data stays private
All processing happens entirely in your browser. No files, text, or data are ever sent to our servers. You can disconnect from the internet and this tool will still work.
Frequently asked questions
- What is a Unix timestamp?
- A Unix timestamp is the number of seconds (or milliseconds) elapsed since January 1, 1970 at 00:00:00 UTC — also called the Unix epoch. It is the standard way to represent time in most programming languages and databases.
- Seconds vs milliseconds — how do I know which one I have?
- A 10-digit number is almost certainly Unix seconds (e.g. 1700000000). A 13-digit number is almost certainly milliseconds (e.g. 1700000000000). This tool auto-detects: numbers above 10 billion are treated as milliseconds.
- Why does the converted time not match my timezone?
- The ISO 8601 and UTC outputs are always in UTC. The 'Local' row shows the time in your browser's current timezone. If you are in UTC+3, your local time will be 3 hours ahead of the UTC output.
- What is ISO 8601 format?
- ISO 8601 is an international standard for date and time: 2024-11-14T22:13:20.000Z. The T separates date from time; the Z at the end means UTC. Most APIs and databases use this format.
- Can I convert negative timestamps?
- Yes. Negative Unix timestamps represent dates before 1970. For example, -86400 is December 31, 1969 at 00:00:00 UTC.