Timestamp Converter
Convert Unix timestamps to human-readable dates and back. Calculate durations between two timestamps, convert across 15 timezones, and batch-convert entire log files. Handles seconds, milliseconds, microseconds, and nanoseconds.
⚡ Instant conversion
Paste any Unix timestamp — seconds, milliseconds, microseconds, or nanoseconds — and see the human-readable date instantly.
🌍 15 timezones
See your timestamp in UTC, all four US zones, London, Paris, Moscow, Dubai, India, China, Tokyo, Seoul, Sydney, and Auckland.
⏱ Duration calculator
Paste two timestamps and get the exact difference in seconds, minutes, hours, days, and weeks. Works with Unix timestamps and date strings.
🔄 Timezone converter
Pick a time in any timezone and instantly see what time it is everywhere else. No math required.
📦 Batch conversion
Paste a list of timestamps — one per line — and convert them all at once. Copy all results with one click. Perfect for log analysis.
🔒 100% private
All conversions happen in your browser. Your timestamps never leave your machine.
🔄 Both directions
Convert timestamps to dates and dates to timestamps. Pick a date and time from a visual picker and get the epoch value.
🔒 100% private
All conversions happen in your browser. No data is sent anywhere.
How to use the Timestamp Converter
Unix timestamps explained
A Unix timestamp is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). It's timezone-independent — the same Unix timestamp represents the same moment in time everywhere on Earth. Millisecond timestamps (used in JavaScript's Date.now()) multiply by 1000. Microsecond and nanosecond timestamps are used in high-precision logging and distributed systems.
ISO 8601 and common date formats
ISO 8601 is the international standard for date and time representation: 2026-03-26T14:30:00Z. The trailing Z means UTC. Offset notation: 2026-03-26T09:30:00-05:00. ISO 8601 is sortable as a string — lexicographic order matches chronological order. Use ISO 8601 for all API responses and log entries. Avoid locale-specific formats like MM/DD/YYYY in data storage.
Timezone handling in code
Always store timestamps in UTC. Convert to local timezone only for display. In JavaScript, new Date() returns the local time but Date.now() returns UTC milliseconds. Use the Intl.DateTimeFormat API for locale-aware display. In Python, use datetime.timezone.utc for UTC-aware datetimes. Never do timezone math manually — use a library.
Duration calculation
Calculating the duration between two timestamps is straightforward — subtract the earlier Unix timestamp from the later one to get seconds, then convert to the appropriate unit. A day is 86400 seconds. A week is 604800 seconds. A 30-day month is 2592000 seconds. For calendar-accurate month and year durations, use a date library that accounts for varying month lengths and leap years. The DevCrate Timestamp Converter handles duration calculation across any two timestamps instantly.