Convert a Unix timestamp to a date
Paste a Unix epoch timestamp and get a readable UTC and local date — with seconds vs milliseconds handled — so a log timestamp or an exp claim becomes meaningful.
Open the tool, then paste the sample input below. Everything runs locally in your browser.
The problem
Logs, tokens, and APIs store time as a Unix epoch integer, which is meaningless to read. Converting it to a date tells you when something happened, and the common trap is seconds versus milliseconds, which is off by a factor of a thousand.
Sample input
1781395200
Expected output
UTC: 2026-06-14 00:00:00
Local: depends on your time zone
1781395200 is a seconds-based timestamp = 2026-06-14 00:00:00 UTC. The same digits read as milliseconds would be a date in 1970, which is the usual mistake.
How to do it
- Paste the Unix timestamp.
- Choose seconds or milliseconds.
- Read the UTC and local date.
- Convert a date back to a timestamp if needed.
- Copy the value you need.
Common mistakes
- Reading a seconds timestamp as milliseconds, landing in 1970.
- Forgetting that the epoch value itself is always UTC.
- Confusing local time with UTC when comparing to a log.
- Off-by-one around midnight when the time zone shifts the date.
- Assuming leading-zero or formatting differences change the instant.
Related tools
Related guides
FAQ
How do I convert a Unix timestamp to a date?
Paste the epoch value and choose seconds or milliseconds. The converter shows the UTC date and your local date for that instant.
Is a Unix timestamp in seconds or milliseconds?
It can be either. A 10-digit value is usually seconds; a 13-digit value is usually milliseconds. Reading one as the other is off by a factor of 1000.
Is the epoch value in UTC?
Yes. A Unix timestamp counts seconds since 1970-01-01 UTC, so the instant is absolute; only the displayed local time depends on your zone.
How do I convert a date back to a timestamp?
Enter the date and time and convert in reverse. Be explicit about whether the input is UTC or local so the resulting epoch is correct.
Is my data uploaded?
No. The conversion runs locally in your browser. Nothing is sent to a server.
Timestamp conversion runs locally in your browser. Nothing is uploaded.
Convert timestamps and time zones, build schedules, and reach for any other utility.