Convert between Unix time (seconds or milliseconds) and human dates in any time zone.
Loading tool…
Unix time counts the seconds since 1 January 1970 UTC. This converter turns that number — in seconds or milliseconds — into a readable date, and turns a date back into a timestamp. It auto-detects whether you pasted seconds or milliseconds based on the magnitude.
Every result is shown in UTC, in your local time zone, and in any IANA time zone you pick (for example America/New_York or Asia/Ho_Chi_Minh), with the correct daylight-saving offset for that date. A live clock shows the current epoch so you can grab "now" instantly.
Features
Timestamp to date and date to timestamp
Seconds and milliseconds, with automatic unit detection
Output in UTC, local time and any IANA time zone
Correct DST offsets for the specific date being converted
ISO 8601, RFC 2822 and relative ("3 hours ago") formats
Live current-epoch clock with copy button
How to use the epoch converter
Enter a Unix timestamp to convert it to a date, or pick a date and time to convert it to a timestamp.
Choose the unit (seconds or milliseconds) — or leave it on auto.
Select a target time zone from the list.
Copy any of the formatted outputs.
Frequently asked questions
How does auto unit detection work?
Timestamps with 10 or fewer digits are treated as seconds; 13-digit values are treated as milliseconds. You can override this manually.
Does it handle time zones and daylight saving?
Yes. Conversion uses the browser's Intl time-zone database, so the offset shown is the one that was actually in effect on that date, including DST transitions.
What is the year-2038 problem?
Systems that store Unix time in a signed 32-bit integer overflow on 19 January 2038. This tool uses 64-bit floating point and JavaScript Date, so it is not affected for everyday dates.
Is negative epoch (before 1970) supported?
Yes. Negative timestamps represent dates before 1970 and convert normally.