Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back.
How to Use the Unix Timestamp Converter
Switch between two modes: Timestamp to Date converts a numeric Unix timestamp into a human-readable date, and Date to Timestamp converts a date/time into a Unix timestamp.
Timestamp to Date
Enter a Unix timestamp in seconds (e.g. 1700000000) or milliseconds (e.g. 1700000000000). The tool auto-detects which format you entered. Click "Convert" to see the local time, UTC time, ISO 8601 format and relative time (e.g. "2 hours ago"). Use the copy buttons to copy any value to your clipboard.
Date to Timestamp
Pick a date and time from the date picker and click "Convert". You get the Unix timestamp in both seconds and milliseconds. Click "Copy" to copy either value.
Live Current Timestamp
The current Unix timestamp is displayed at the top and updates every second. Click "Copy" to grab it instantly.
Frequently Asked Questions
What is a Unix timestamp?
A Unix timestamp (also called Epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC, not counting leap seconds. It is widely used in programming, databases and APIs to represent a point in time as a single integer.
What is the difference between seconds and milliseconds timestamps?
A Unix timestamp in seconds is a 10-digit number (e.g. 1700000000), while a milliseconds timestamp is 13 digits (e.g. 1700000000000). JavaScript Date.now() returns milliseconds. This tool auto-detects the format based on the number of digits.
What is the Unix Epoch?
The Unix Epoch is January 1, 1970 00:00:00 UTC. It is the reference point from which Unix timestamps are measured. A timestamp of 0 represents this exact moment.
Can I convert negative timestamps?
Yes. Negative timestamps represent dates before January 1, 1970. For example, -86400 corresponds to December 31, 1969.
Is my data sent to a server?
No. All conversions happen entirely in your browser using JavaScript. No data is uploaded to any server.
More Developer Tools
JSON Formatter
Format, validate and minify JSON with syntax highlighting.
Open tool →Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text.
Open tool →UUID Generator
Generate UUID v4 identifiers, single or in bulk.
Open tool →URL Encode / Decode
Encode or decode URLs and query parameters.
Open tool →HTML Entity Encode / Decode
Encode special characters to HTML entities or decode them back.
Open tool →JWT Decoder
Decode and inspect JWT tokens — header, payload and claims.
Open tool →