Convert Unix timestamps to human-readable dates and back — with full timezone support. Ideal for debugging APIs, log files, database fields and scheduled jobs.
Paste any Unix timestamp — seconds, milliseconds, microseconds or nanoseconds.
Compose a date in any timezone — we'll output the matching Unix timestamp.
Your input mapped across timezones — copy any row.
Unix is one of the most popular operating systems in the world. At its core it operates with a time system based on a Unix timestamp — the number of seconds that have passed since the Unix Epoch: January 1, 1970 (UTC).
A Unix timestamp is a number that represents the exact number of seconds since the Unix Epoch. The timestamp for January 1, 1970 00:00:00 UTC is 0.
1727210565. Unix timestamps count the number of seconds elapsed since the epoch. They are timezone-independent, which means the timestamp for the same moment is identical regardless of the timezone you're in. When converting to a human-readable form, however, you must apply the right timezone.
new Date(unixTimestamp * 1000)datetime.datetime.utcfromtimestamp(unixTimestamp)date('Y-m-d H:i:s', unixTimestamp)new java.util.Date(unixTimestamp * 1000)DateTimeOffset.FromUnixTimeSeconds(unixTimestamp).UtcDateTimeTime.at(unixTimestamp)time.Unix(unixTimestamp, 0)std::chrono::system_clock::from_time_t(unixTimestamp)Date(timeIntervalSince1970: TimeInterval(unixTimestamp))Date(unixTimestamp * 1000L)UNIX_EPOCH + Duration::from_secs(unixTimestamp as u64)as.POSIXct(unixTimestamp, origin="1970-01-01")date -d @unixTimestampDateTime.from_unix!(unixTimestamp)DateTime.fromMillisecondsSinceEpoch(unixTimestamp * 1000, isUtc: true)new Date(unixTimestamp * 1000)Timezones represent geographical areas where local time is standardized. Unix timestamps are based on Coordinated Universal Time (UTC) and are not affected by timezones. When you display a timestamp to a user, however, you must apply their local timezone offset.
GMT+05:30 is India Standard Time (IST). When it is 12:00 PM UTC, local time in IST is 5:30 PM. Codeground AI's epoch converter is a free online utility designed to help users convert epoch timestamps to human-readable dates and back. It simplifies time calculations, making it essential for developers and anyone working with time-related data.
With a clean interface, you can input epoch timestamps and instantly see the corresponding date and time across local, GMT, and any other IANA timezone.
What is an epoch converter? It turns Unix timestamps (seconds or milliseconds since 1 Jan 1970 UTC) into readable dates and back.
How do I convert epoch to date? Paste the number above. Auto-detect picks seconds vs milliseconds and shows GMT, local, and your chosen timezone.
How do I get epoch from a date? Fill the date fields, pick a timezone (IST, PST, GMT, AEST, …), and convert.
What about epoch to IST / PST / GMT / AEST? Use the timezone dropdown — Asia/Kolkata, America/Los_Angeles, GMT, Australia/Sydney, and every other IANA zone.
Is it free? Yes. Conversion runs in your browser; nothing is uploaded.
Related: Current Unix time · Timestamp difference calculator · Date math · Timezone meeting planner