Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back. Live current timestamp included.
About Unix Timestamp Converter
Paste any Unix timestamp (seconds or milliseconds) to see the corresponding ISO 8601 date, UTC datetime, and local time with timezone offset. Or pick a date and time to get the Unix timestamp in both seconds and milliseconds. Shows a live updating current timestamp. Handles both 10-digit (seconds) and 13-digit (milliseconds) timestamps automatically.
All processing happens entirely in your browser using modern web APIs. Nothing is uploaded to our servers — your data stays local and private. Free to use forever.
Common use cases
- Reading timestamps from API responses, database records, or log files
- Converting a date to a Unix timestamp for database queries or API calls
- Comparing event timestamps in server logs to local time
- Debugging exp and iat claims in JWT tokens
- Calculating time differences between two Unix timestamps
How it works
Auto-detects whether the input is seconds (10 digits) or milliseconds (13 digits) by comparing the magnitude to a threshold near the current epoch. Converts using JavaScript's Date constructor. ISO 8601 output uses Date.toISOString(), local time uses Date.toLocaleString() with the browser's timezone. The current timestamp updates every second using setInterval.